[FFmpeg-devel] [PATCH 00/20] Matroska muxer patches
Andreas Rheinhardt
andreas.rheinhardt at gmail.com
Wed Jan 1 02:58:17 EET 2020
Hello,
this patchset is about the Matroska muxer. It consists partially of
patches from my earlier patchset [1] that is currently blocked by the
webm_chunk muxer [2].
One focus of this patchset is about improving writing Cues; in
particular, an assert that is triggered if the reserved space for
writing Cues in front exceeds the needed space by one byte is fixed.
Furthermore, the checks involved in writing SeekHeads were fixed. This
goes beyond what was done in the earlier patchset.
- Andreas
[1]: https://ffmpeg.org/pipermail/ffmpeg-devel/2019-November/252578.html
[2]: https://ffmpeg.org/pipermail/ffmpeg-devel/2019-December/254783.html
Andreas Rheinhardt (20):
avformat/matroskaenc: Fix ReferenceBlock timestamp
avformat/matroskaenc: Improve writing Projection
avformat/matroskaenc: Remove useless AVIOContext
avformat/matroskaenc: Adapt documentation of put_ebml_num
avformat/matroskaenc: Check return value of ff_isom_write_hvcc()
avformat/matroskaenc: Check functions that can fail
avformat/matroskaenc: Avoid allocations for SeekHead
avformat/matroskaenc: Improve calculating EBML ID size
avformat/matroskaenc: Check for failure when writing SeekHead
avformat/matroskaenc: Avoid unnecessary seek
avformat/matroskaenc: Cosmetics
avformat/matroskaenc: Avoid allocation for Cues
avformat/aviobuf: Add function to reset dynamic buffer
avformat/matroskadec: Simplify writing Cues
avformat/matroskaenc: Write level 1 elements in one go
avformat/matroskaenc: Remove unused function parameter
avformat/matroskaenc: Check that Cluster has been opened
avformat/matroskaenc: Don't fail if reserved Cues space doesn't
suffice
avformat/matroskaenc: Fix edge case of writing Cues at the beginning
avformat/matroskaenc: Avoid seek when writing Cues at the front
doc/muxers.texi | 4 +-
libavformat/avio_internal.h | 7 +
libavformat/aviobuf.c | 11 +
libavformat/matroskaenc.c | 516 ++++++++++++---------------
tests/fate/matroska.mak | 2 +-
tests/fate/wavpack.mak | 4 +-
tests/ref/fate/aac-autobsf-adtstoasc | 4 +-
tests/ref/fate/binsub-mksenc | 2 +-
tests/ref/fate/rgb24-mkv | 4 +-
tests/ref/lavf/mka | 4 +-
tests/ref/lavf/mkv | 4 +-
tests/ref/lavf/mkv_attachment | 4 +-
tests/ref/seek/lavf-mkv | 44 +--
13 files changed, 286 insertions(+), 324 deletions(-)
--
2.20.1
More information about the ffmpeg-devel
mailing list