[FFmpeg-devel] [PATCH 0/5] AV1 Annex B demuxer

James Almer jamrial at gmail.com
Mon Nov 11 15:36:10 EET 2019


This includes a bitstream filter to merge Temporal Units split across different
AVPackets, given that Annex B encapsulation splits OBUs at the Temporal Unit,
Frame and OBU boundaries.
Bitstream reconstruction is required to prevent propagating AVPackets with
contents that could generate invalid files in other containers.

TODO: Changelog entries and lavc/lavf version bump.

James Almer (5):
  avcodec/cbs_av1: support one byte long OBUs when the size is not set
    in the bitstream
  avcodec: add an AV1 frame merge BSF
  avcodec/av1_parser: export bitstream timing info when available
  avcodec/libdav1d: export bitstream timing info when available
  avformat: add an AV1 Annex B demuxer

 configure                        |   2 +
 libavcodec/Makefile              |   1 +
 libavcodec/av1_frame_merge_bsf.c | 153 +++++++++++++++++
 libavcodec/av1_parser.c          |   3 +
 libavcodec/bitstream_filters.c   |   1 +
 libavcodec/cbs_av1.c             |  13 +-
 libavcodec/libdav1d.c            |   7 +
 libavformat/Makefile             |   1 +
 libavformat/allformats.c         |   1 +
 libavformat/obu.c                | 276 +++++++++++++++++++++++++++++++
 10 files changed, 451 insertions(+), 7 deletions(-)
 create mode 100644 libavcodec/av1_frame_merge_bsf.c
 create mode 100644 libavformat/obu.c

-- 
2.23.0



More information about the ffmpeg-devel mailing list