[FFmpeg-devel] [PATCH] Set AVStream duration in several demuxers

Ryan Walklin ryanwalklin
Wed Jan 20 09:01:25 CET 2010

Thanks for the patch, but I note the AVFormatContext duration is still not set for matroska files. Does this imply that we should just be readling the video stream duration as a proxy?


> Hi,
> Several demuxers set duration and start_time in AVFormatContext, despite the comment to never set them directly. This sets them in AVStream instead, fixing "Estimating duration from bitrate, this may be inaccurate" messages.
> iavs/ivas AVIs still set AVFormatContext duration, I didn't find a sample to test.

More information about the ffmpeg-devel mailing list