[Ffmpeg-devel] Re: .mp4 demuxer broken?
Baptiste COUDURIER
baptiste.coudurier
Wed Mar 22 00:43:36 CET 2006
Michael Niedermayer wrote:
> [...]
>
>> - do what I go atm, ignore 'mp4s' in video section. But then ugliness is
>> coming back.
>
> yes, maybe add a mov_data_tags table, while somewhat of an overkill it
> avoids the ugliness, but the sigle check is fine too
I will apply it that way, since it seems there is no CODEC_ID_DATA
defined anywhere ? Is it ok to add one or something similar
(CODEC_ID_OTHER, CODEC_ID_UNKOWN) ? I would like to have a mov_data_tags
similar to other tags in mov.c
>
>> 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 ?
>
> yes, setting sample_rate to 0 if FAAD is available and the codec is AAC
> should do the trick, if not then look at av_find_stream_info() and
> try_decode_frame() and faad.c
>
I will look at av_find_stream_info. Thanks
--
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
mailing list