[Ffmpeg-devel] Re: .mp4 demuxer broken?

Baptiste COUDURIER baptiste.coudurier
Tue Mar 21 16:31:15 CET 2006

Michael Niedermayer wrote:
> Hi
> ffmpeg -i CDR-Dinner_LAN_800k.mp4
> (http://www.mplayerhq.hu/MPlayer/samples/MPEG-4/CDR-Dinner_LAN_800k.mp4)
> fails, but it does work woth an old binary ffmpeg (dunno from when) laying
> around

Fixed. Patch attached. Michael I got a problem with getting codec from
codec_bmp_tags since it will register 'mp4s' as video.

3 solutions here :
- remove 'mp4s' from codec_bmp_tags
- only search into mov_video_tags.
- do what I go atm, ignore 'mp4s' in video section. But then ugliness is
coming back.

What do you think ?

Another problem spotted : many mp4 containing aac does not have a valid
sample rate, is there a way to force decoding first frame to let faad
init stream parameters ?

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mov_codec_type.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060321/ef183669/attachment.asc>

More information about the ffmpeg-devel mailing list