[FFmpeg-devel] [PATCH] Fix MP2 audio detection for MPEGPS streams
Sun Jun 7 21:06:13 CEST 2009
----- Original Message ----
> From: Baptiste Coudurier <baptiste.coudurier at gmail.com>
> To: FFmpeg development discussions and patches <ffmpeg-devel at mplayerhq.hu>
> Sent: Sunday, June 7, 2009 2:45:48 PM
> Subject: Re: [FFmpeg-devel] [PATCH] Fix MP2 audio detection for MPEGPS streams
> Taylor Ralph wrote:
> > I occasionally have an MPEGPS stream with MP2 audio that doesn't have audio
> due to the audio codec being misdetected as ADPCM_ADX.
> > I've got a one-line patch that fixes the false detection when
> libavformat/mpeg.c tries to determine if the audio in an MPEGPS stream is MP2 or
> ADPCM_ADX. Basically a partial match of the string "Sofdec" will cause the code
> to select ADPCM_ADX when it is actually MP2. I've opened a ticket here with a
> full explanation:
> > http://roundup.ffmpeg.org/roundup/ffmpeg/issue1149
> > The patch is here:
> > I can also provide a sample if someone would like it.
> A sample is definitely welcome.
> Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
> Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
> FFmpeg maintainer http://www.ffmpeg.org
OK. I've uploaded the sample to upload.ffmpeg.org located at:
More information about the ffmpeg-devel