Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH v3 00/10] Add support for H266/VVC
@ 2022-11-03 12:21 Thomas Siedel
  2022-11-03 12:21 ` [FFmpeg-devel] [PATCH v3 01/10] avcodec: add enum types " Thomas Siedel
                   ` (9 more replies)
  0 siblings, 10 replies; 15+ messages in thread
From: Thomas Siedel @ 2022-11-03 12:21 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Thomas Siedel

This patch set adds H266/VVC support.
This includes parsing, muxing, demuxing, decoding and encoding.
Decoding is done using the external library VVdeC
(https://github.com/fraunhoferhhi/vvdec.git) and can be enabled with
--enable-libvvdec.
Encoding is done using the external library VVenC
(https://github.com/fraunhoferhhi/vvenc.git) and can be enabled with
--enable-libvvenc

Changes since v2:

PATCH 03/10 libavcodec/vvc_parser.c
    - fixing behavior of vvc_parser_parse ( always call parse_nal_units
      for valid buffer )
    - using ff_cbs_read_extradata_from_codec instead of ff_cbs_read and
      move code to correct position
    - cleanup: use AVCodecParserContext *s instead of
      AVCodecParserContext *ctx, to align to other parser
implementations

PATCH 04/10 libavcodec/vvc_mp4toannexb_bsf.c
    - fix parsing of OPI and DCI NUTs in vvcC box

PATCH 07/10 libavcodec/vvc_parse_extradata.c
    - fix parsing of OPI and DCI NUTs in ff_vvc_decode_extradata

PATCH 08/10 libavcodec/libvvenc.c
    - use AVColor enum for hdr initialization
    - fix hlg mode init, depending on color primaries
    - set correct sdr bt709 mode
    
 General:
    - adapt commit messages ( add line breaks for long bodies in commit
      message )

Thomas Siedel (10):
  avcodec: add enum types for H266/VVC
  avcodec: add cbs for H266/VVC
  avcodec: add bitstream parser for H266/VVC
  avcodec: add MP4 to annexb support for H266/VVC
  avformat: add demuxer and probe support for H266/VVC
  avformat: add muxer support for H266/VVC
  avcodec: add external decoder libvvdec for H266/VVC
  avcodec: add external encoder libvvenc for H266/VVC
  avformat: add ts stream types for H266/VVC
  avcodec: increase minor version for H266/VVC

 configure                             |   16 +-
 libavcodec/Makefile                   |    6 +
 libavcodec/allcodecs.c                |    2 +
 libavcodec/bitstream_filters.c        |    2 +
 libavcodec/cbs.c                      |    6 +
 libavcodec/cbs_h2645.c                |  373 ++-
 libavcodec/cbs_h266.h                 |  791 +++++++
 libavcodec/cbs_h266_syntax_template.c | 3010 +++++++++++++++++++++++++
 libavcodec/cbs_internal.h             |    1 +
 libavcodec/cbs_sei.c                  |   29 +
 libavcodec/h2645_parse.c              |   71 +-
 libavcodec/h266_metadata_bsf.c        |  145 ++
 libavcodec/libvvdec.c                 |  511 +++++
 libavcodec/libvvenc.c                 |  449 ++++
 libavcodec/parsers.c                  |    1 +
 libavcodec/version.h                  |    2 +-
 libavcodec/vvc.h                      |  142 ++
 libavcodec/vvc_mp4toannexb_bsf.c      |  319 +++
 libavcodec/vvc_paramset.c             |  972 ++++++++
 libavcodec/vvc_paramset.h             |  429 ++++
 libavcodec/vvc_parse_extradata.c      |  242 ++
 libavcodec/vvc_parse_extradata.h      |   36 +
 libavcodec/vvc_parser.c               |  591 +++++
 libavformat/Makefile                  |    8 +-
 libavformat/allformats.c              |    2 +
 libavformat/demux.c                   |    7 +-
 libavformat/isom.c                    |    1 +
 libavformat/isom_tags.c               |    3 +
 libavformat/mov.c                     |    6 +
 libavformat/movenc.c                  |   41 +-
 libavformat/mpeg.c                    |    3 +
 libavformat/mpeg.h                    |    1 +
 libavformat/mpegts.c                  |    2 +
 libavformat/mpegts.h                  |    1 +
 libavformat/mpegtsenc.c               |   65 +
 libavformat/rawenc.c                  |   23 +
 libavformat/vvc.c                     |  919 ++++++++
 libavformat/vvc.h                     |   99 +
 libavformat/vvcdec.c                  |   61 +
 39 files changed, 9377 insertions(+), 11 deletions(-)
 create mode 100644 libavcodec/cbs_h266.h
 create mode 100644 libavcodec/cbs_h266_syntax_template.c
 create mode 100644 libavcodec/h266_metadata_bsf.c
 create mode 100644 libavcodec/libvvdec.c
 create mode 100644 libavcodec/libvvenc.c
 create mode 100644 libavcodec/vvc.h
 create mode 100644 libavcodec/vvc_mp4toannexb_bsf.c
 create mode 100644 libavcodec/vvc_paramset.c
 create mode 100644 libavcodec/vvc_paramset.h
 create mode 100644 libavcodec/vvc_parse_extradata.c
 create mode 100644 libavcodec/vvc_parse_extradata.h
 create mode 100644 libavcodec/vvc_parser.c
 create mode 100644 libavformat/vvc.c
 create mode 100644 libavformat/vvc.h
 create mode 100644 libavformat/vvcdec.c

-- 
2.25.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2022-11-15 10:44 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-03 12:21 [FFmpeg-devel] [PATCH v3 00/10] Add support for H266/VVC Thomas Siedel
2022-11-03 12:21 ` [FFmpeg-devel] [PATCH v3 01/10] avcodec: add enum types " Thomas Siedel
2022-11-03 12:21 ` [FFmpeg-devel] [PATCH v3 02/10] avcodec: add cbs " Thomas Siedel
2022-11-03 15:57   ` Lynne
2022-11-03 16:02     ` Andreas Rheinhardt
2022-11-03 12:21 ` [FFmpeg-devel] [PATCH v3 03/10] avcodec: add bitstream parser " Thomas Siedel
2022-11-03 12:21 ` [FFmpeg-devel] [PATCH v3 04/10] avcodec: add MP4 to annexb support " Thomas Siedel
2022-11-03 12:21 ` [FFmpeg-devel] [PATCH v3 05/10] avformat: add demuxer and probe " Thomas Siedel
2022-11-07  2:28   ` mypopy
2022-11-15 10:43     ` Thomas Siedel
2022-11-03 12:21 ` [FFmpeg-devel] [PATCH v3 06/10] avformat: add muxer " Thomas Siedel
2022-11-03 12:21 ` [FFmpeg-devel] [PATCH v3 07/10] avcodec: add external decoder libvvdec " Thomas Siedel
2022-11-03 12:21 ` [FFmpeg-devel] [PATCH v3 08/10] avcodec: add external encoder libvvenc " Thomas Siedel
2022-11-03 12:21 ` [FFmpeg-devel] [PATCH v3 09/10] avformat: add ts stream types " Thomas Siedel
2022-11-03 12:21 ` [FFmpeg-devel] [PATCH v3 10/10] avcodec: increase minor version " Thomas Siedel

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git