Hi, slippyr4 wrote: > 2009/1/14 Anatoliy Nenashev <[email protected]> > >> Hi! >> I think, before first call to avcodec_decode_video, the time_base was >> obtained from MP4 file container header. >> After first call to avcodec_decode_video this value was extracted from >> H264 bitstream. The same situation may be available for AVI file format >> or many others. >> > > So, the second values (after the decode) are the accurate ones, that I > should use for calculations?
Usually container info has precedence (especially in .mp4/.mov) However this is weird, you mean AVStream->time_base is set ? Because demuxer should not set AVCodecContext->time_base. -- Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA checking for life_signs in -lkenny... no FFmpeg maintainer http://www.ffmpeg.org _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
