Changes since version 1: Added suggested output stream duration hinting. Uses output stream duration and bitrate as a hint for better filesize guessing. If stream bitrate is unknown a worst-case value is assumed.
Changes since version 2: Removed the patch which changes avi muxer to fail hard immediately when a chained master index is to be written and "-strict" is above "normal". Sidenote: Noticed during tests that most loss-less encoders don't set bitrate and thus the options_table.h default value of 200k is used in avi_write_header. Not sure whether to fix this per encoder or just clear bitrate somewhere in avcodec_open2 based on AV_CODEC_PROP_LOSSLESS. I see this as a possible improvement not blocking the current patch series. Tobias Rapp (3): ffmpeg: pass output stream duration as a hint to the muxer avformat/avienc: add reserve_index_space option doc/muxers: add AVI muxer documentation doc/muxers.texi | 33 ++++++++++++++ ffmpeg.c | 9 ++++ libavformat/avformat.h | 3 ++ libavformat/avi.h | 1 - libavformat/avienc.c | 77 ++++++++++++++++++++++++++++++--- libavformat/version.h | 2 +- tests/ref/fate/mpeg4-bsf-unpack-bframes | 2 +- tests/ref/lavf-fate/avi_cram | 2 +- 8 files changed, 119 insertions(+), 10 deletions(-) -- 1.9.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel