[FFmpeg-devel] [PATCH 00/11] CRC32 support for Matroska muxer

James Almer jamrial at gmail.com
Tue Oct 4 02:36:56 EEST 2016


This patchsets implements the feature requested on ticket #4347.
The first three patches are preparation work. The first one isn't
strictly related to the implementation, but comes in handy
nonetheless.

Patches 4 to 11 can be squashed into a single commit before pushing
if that's prefered, but for review purposes i split things as one
patch per Level 1 element being adapted to write a CRC32 element.

Fate tests are updated as needed.

James Almer (11):
  avformat/matroskaenc: don't reserve space for stream duration tags if
    the output is not seekable
  avformat/matroskaenc: print debug message with cluster offsets only if
    the output is seekable
  avformat/matroskaenc: always use a dynamic buffer when writting
    clusters
  avformat/matroskaenc: write a CRC32 element on each Cluster
  avformat/matroskaenc: write a CRC32 element on SeekHead
  avformat/matroskaenc: write a CRC32 element on Cues
  avformat/matroskaenc: write a CRC32 element on Tracks
  avformat/matroskaenc: write a CRC32 element on Chapters
  avformat/matroskaenc: write a CRC32 element on Attachments
  avformat/matroskaenc: write a CRC32 element on Tags
  avformat/matroskaenc: write a CRC32 element on Info

 libavformat/matroskaenc.c    | 338 ++++++++++++++++++++++++-------------------
 tests/fate/matroska.mak      |   2 +-
 tests/fate/wavpack.mak       |   4 +-
 tests/ref/fate/binsub-mksenc |   2 +-
 tests/ref/fate/rgb24-mkv     |   4 +-
 tests/ref/lavf/mka           |   4 +-
 tests/ref/lavf/mkv           |   8 +-
 tests/ref/seek/lavf-mkv      |  44 +++---
 8 files changed, 225 insertions(+), 181 deletions(-)

-- 
2.9.1



More information about the ffmpeg-devel mailing list