[FFmpeg-devel] [PATCH 3/4] avformat/avienc: add reserve_index_space option
Tobias Rapp
t.rapp at noa-archive.com
Thu Jan 19 09:53:59 EET 2017
On 17.01.2017 14:39, Tobias Rapp wrote:
> Allows the user to reserve space for the ODML master index. A sufficient
> sized master index in the AVI header avoids storing follow-up master
> indexes within the 'movi' data later.
>
> If the option is omitted or zero the index size is estimated from output
> duration and bitrate. A worst-case bitrate for video streams is assumed
> in case it is not available.
>
> Note: fate reference files changed because the video stream had zero
> bitrate before and is guessed now.
>
> Signed-off-by: Tobias Rapp <t.rapp at noa-archive.com>
> ---
> libavformat/avi.h | 1 -
> libavformat/avienc.c | 84 +++++++++++++++++++++++++++++----
> libavformat/version.h | 2 +-
> tests/ref/fate/mpeg4-bsf-unpack-bframes | 2 +-
> tests/ref/lavf-fate/avi_cram | 2 +-
> 5 files changed, 78 insertions(+), 13 deletions(-)
Sorry, I messed up something with Git send-email in-reply-to. This patch
is part of patch-series version 2 which is supersede by version 3:
https://ffmpeg.org/pipermail/ffmpeg-devel/2017-January/205905.html
Regards,
Tobias
More information about the ffmpeg-devel
mailing list