[Ffmpeg-devel] Re: Raw h261 broken
Mon Aug 21 10:53:00 CEST 2006
Michael Niedermayer wrote:
> On Mon, Aug 21, 2006 at 01:56:22AM +0200, Baptiste Coudurier wrote:
>> Diego Biurrun wrote:
>>>> btw do these decode correctly with any (binary) decoder?
>>> lotr.mov plays correctly in QT 7.0.0 and 7.1.2 on Mac OS X. I found a
>>> H.261 decoder in the QT DLLs with the help of Compn on IRC that worked
>>> flawlessly on x86 Linux with MPlayer's native demuxer, but it fails with
>>> libavformat. So lotr.mov should be a valid file, but the libavformat
>>> MOV demuxer is still buggy about it.
>> Yes. Qt binary codecs with lavf demuxer wont work in mplayer since
>> vd_qtvideo.c passes whole 'stsd' atom to codec. demuxer_mov.c stores
>> whole 'stsd' atom in ImageDesc which is passed to qt codec.
> libmpdemux/demux_lavf should initalize everything so binary codecs work
> if it does not its buggy
Well, it should be possible. However, whole 'stsd' atom is not read by
mov demuxer atm. There are 2 solutions, either store whole atom in
extradata, or reconstruct atom in demux_lavf, based on field values, but
that would need some changes since not every field is read.
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A. http://www.smartjog.com
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312
More information about the ffmpeg-devel