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

Kostya kostya.shishkov
Tue Jan 19 07:33:52 CET 2010


On Mon, Jan 18, 2010 at 10:43:06PM -0500, David Conrad wrote:
> 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.
 
Ok (if works) for files I maintain (ape, dxa, mpc, wv)




More information about the ffmpeg-devel mailing list