[FFmpeg-devel] [PATCH v2 0/4] avformat/avienc: update write of master index
Tobias Rapp
t.rapp at noa-archive.com
Tue Jan 17 15:39:17 EET 2017
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.
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.
Tobias Rapp (4):
ffmpeg: pass output stream duration as a hint to the muxer
avformat/avienc: write chained master index only if std_compliance is
normal or below
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 | 108 ++++++++++++++++++++++++++++----
libavformat/version.h | 2 +-
tests/ref/fate/mpeg4-bsf-unpack-bframes | 2 +-
tests/ref/lavf-fate/avi_cram | 2 +-
8 files changed, 143 insertions(+), 17 deletions(-)
--
1.9.1
More information about the ffmpeg-devel
mailing list