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

Michael Niedermayer michaelni at gmx.at
Sat Oct 29 22:15:58 CEST 2011

On Sun, Oct 30, 2011 at 02:43:55AM +0700, Vladimir Voroshilov wrote:
> 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.

applied, thanks

also, do you think this could be detected through a probe() instead of
the file extension ?


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In fact, the RIAA has been known to suggest that students drop out
of college or go to community college in order to be able to afford
settlements. -- The RIAA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111029/4d7a26ac/attachment.asc>

More information about the ffmpeg-devel mailing list