[FFmpeg-devel] [PATCH] Keep track of stream duration and nb_frames when muxing

David Conrad lessen42
Tue Jan 19 06:18:35 CET 2010


Hi,

This has av_(interleaved)_write_frame() keep track of duration and number of frames for each stream. This is generally useful for calculating an average frame rate after muxing is complete, as I intend to write for mkv.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ffmpeg-1-streamstats.txt
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100119/f7f63905/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ffmpeg-2-mkvfps.txt
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100119/f7f63905/attachment-0001.txt>



More information about the ffmpeg-devel mailing list