[FFmpeg-devel] [PATCH] avformat/matroskaenc: add reserve free space option

James Almer jamrial at gmail.com
Thu Sep 6 01:05:51 EEST 2018


On 9/5/2018 6:36 PM, Carl Eugen Hoyos wrote:
> 2018-09-05 22:52 GMT+02:00, Sigríður Regína Sigurþórsdóttir
> <siggaregina at gmail.com>:
>> ---
>>  Changelog                 | 1 +
>>  doc/muxers.texi           | 4 ++++
>>  libavformat/matroskaenc.c | 8 ++++++++
>>  3 files changed, 13 insertions(+)
>>
>> diff --git a/Changelog b/Changelog
>> index 0975fee..689b04c 100644
>> --- a/Changelog
>> +++ b/Changelog
>> @@ -21,6 +21,7 @@ version <next>:
>>  - Brooktree ProSumer video decoder
>>  - MatchWare Screen Capture Codec decoder
>>  - WinCam Motion Video decoder
>> +- Matroska muxer has optional free space for unspecified use at the
>> beginning of the file.
> 
> No need for a Changelog entry.
> 
> In which situation is the new option useful?

Adding a bunch of reserved filler bytes is something done by a lot of
writing applications and meant to be used mainly by retagging
applications to add or replace tags in place without the risk of having
to rewrite the entire file. Hence it being added right after the Tags
element.

Mkvtoolnix adds a big Void element for this purpose by default, for
example. But for libavformat I'd rather have this be optional.


> 
> Carl Eugen
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 



More information about the ffmpeg-devel mailing list