[FFmpeg-devel] [RFC] stream parsing

Baptiste Coudurier baptiste.coudurier
Wed Sep 22 03:08:57 CEST 2010


Hi Benjamin,

On 09/21/2010 05:02 PM, Benjamin Larsson wrote:
> Hi, I've found a few files where the channel layout in the container vs
> the stream miss matches (1 avi with dts and 1 mkv, issue 2137). That got
> me thinking about the channel layout mask. In some containers it is
> possible to just set a channel count, which leads to ffmpeg just
> guessing the layout. Instead I suggest that when the channel count is>2
> do a AVSTREAM_PARSE_HEADERS by default instead of trusting the
> container. So what do you think would that be acceptable? Otherwise I
> have to add patches like the one in issue 2137 to every demuxer that we
> find broken files for.
>
> Yeah I have no patch for it yet.

Beware of AAC parsing with MKV :)

-- 
Baptiste COUDURIER
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org



More information about the ffmpeg-devel mailing list