[FFmpeg-devel] [PATCH] Override container information for mpeg type codecs

Tomas Härdin tomas.hardin
Tue Oct 19 08:18:03 CEST 2010

On Fri, 2010-10-15 at 14:29 -0700, Baptiste Coudurier wrote:
> Hi Benjamin,
> On 10/15/2010 04:41 AM, Benjamin Larsson wrote:
> > $topic, sample file here:
> >
> > http://tranquillity.ath.cx/files/mono-mp2.mp4
> >
> This file is stereo and decodes fine using ffmpeg.
> What's the problem ?

The problem is that it is mono, not stereo. Try playing it in ffplay,
then try playing it with the patch..

I don't remember the exact line I used, but the following will recreate
the problem:

ffmpeg -i http://samples.mplayerhq.hu/DV-raw/voxnews.dv -ac 1 -acodec
mp2 mono-mp2.mp4

As a comparison, swapping -acodec for aac makes the output be correctly
detected as mono.

Not sure why Benjamin dropped the patch - there is a problem and the
patch fixes it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101019/5221a595/attachment.pgp>

More information about the ffmpeg-devel mailing list