[FFmpeg-devel] [PATCH] Minimal patch for raw G.729 demuxer

Vladimir Voroshilov voroshil at gmail.com
Sat Oct 29 21:43:55 CEST 2011


Hi , All

Amit Dor-Shifer in "Encoding raw alaw to PCM"
(http://article.gmane.org/gmane.comp.video.ffmpeg.user/33365)
asked if ffmpeg able to decode raw g729 stream into some form of PCM

Quick investigation shows that such decoding is not possible with
existing raw pcm demuxers due to lack
of proper g.729 initialization.

Attached patch adds simple demuxer especially for g.729.
With this patch FFmpeg can decode provided sample using "ffmpeg -f
g729 -i test_123.sample test_123.wav" command line(or even "ffmpeg -i
test123.g729 test123.wav" after renaming sample file).
I've also added special option "bit_rate" for selecting between @8k
and @6.4k modes.

Asking for review/comment.

-- 
Vladimir Voroshilov     mailto:voroshil at gmail.com
Jabber: voroshil at gmail.com
ICQ: 95587719
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Minimal-patch-for-G.729-demuxer.patch
Type: text/x-patch
Size: 4903 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111030/4da98ab0/attachment.bin>


More information about the ffmpeg-devel mailing list