Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Thomas Siedel <thomas.ff@spin-digital.com>
To: ffmpeg-devel@ffmpeg.org
Subject: [FFmpeg-devel] [PATCH v6 00/11] Add support for H266/VVC
Date: Fri, 10 Feb 2023 18:40:55 +0100
Message-ID: <20230210174106.44514-1-thomas.ff@spin-digital.com> (raw)

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 v5:

general:
- align filename to h266 pattern ( feedback zhilizhao(赵志立) )
  - mv vvc_mp4toannexb_bsf h266_mp4toannexb_bsf
  - mv vvc_paramset h266_paramset
  - mv vvc.h/.c h266.h./c 
  - mv vvcdec h266dec
  - mv vvc_parse_extradata h266_parse_extradata
  - mv vvc_parser h266_parser
- rename functions in renamed files to h266 syntax
- split patch 4 into 2 seperated patches

PATCH 2/10  ( feedback zhilizhao(赵志立) )
  - cbs_h266_syntax_template: replacing h266_ceil() with
    AV_CEIL_RSHIFT()
  - bugfix: cbs_h266_free_sei: using H266RawSEI instead of H265RawSEI

PATCH 3/10
  - bugfix: h266_parser.c parse_nal_units() parsing all frames correctly
    (before frames could be missing)

PATCH 4/10 ( feedback zhilizhao(赵志立) )
  - mv vvc_mp4toannexb_bsf h266_mp4toannexb_bsf
  - add IS_H266_SLICE in cbs_h266.h (remove duplicate macro from
    vvc_parser.c h266_metadata.bsf )
  - bitstream_filters.c sort FFBitStreamFilter
  - h266_metadata_update_fragment: check pkt!=NULL, replace else{ if() }
    by else if()

split Patch 4 into separate patches
- PATCH 4 is now h266_metadata_bsf 
- PATCH 5 is h266_mp4toannexb_bsf 

PATH 8/10
 - cleanup h266_paramset.h ( remove duplicate structs from cbs_h266.h)


Nuo Mi (4):
  avcodec: add enum types for H266/VVC
  avcodec: add cbs for H266/VVC
  avcodec: add bitstream parser for H266/VVC
  avcodec: add h266_metadata_bsf support for H266/VVC

Thomas Siedel (7):
  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                |  370 ++-
 libavcodec/cbs_h266.h                 |  793 +++++++
 libavcodec/cbs_h266_syntax_template.c | 3096 +++++++++++++++++++++++++
 libavcodec/cbs_internal.h             |    1 +
 libavcodec/cbs_sei.c                  |   29 +
 libavcodec/h2645_parse.c              |   71 +-
 libavcodec/h266.h                     |  142 ++
 libavcodec/h266_metadata_bsf.c        |  147 ++
 libavcodec/h266_mp4toannexb_bsf.c     |  329 +++
 libavcodec/h266_paramset.c            | 1005 ++++++++
 libavcodec/h266_paramset.h            |  307 +++
 libavcodec/h266_parse_extradata.c     |  249 ++
 libavcodec/h266_parse_extradata.h     |   36 +
 libavcodec/h266_parser.c              |  601 +++++
 libavcodec/libvvdec.c                 |  548 +++++
 libavcodec/libvvenc.c                 |  469 ++++
 libavcodec/parsers.c                  |    1 +
 libavcodec/version.h                  |    2 +-
 libavformat/Makefile                  |    8 +-
 libavformat/allformats.c              |    2 +
 libavformat/demux.c                   |    7 +-
 libavformat/h266.c                    |  984 ++++++++
 libavformat/h266.h                    |   99 +
 libavformat/h266dec.c                 |   61 +
 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 +
 39 files changed, 9523 insertions(+), 12 deletions(-)
 create mode 100644 libavcodec/cbs_h266.h
 create mode 100644 libavcodec/cbs_h266_syntax_template.c
 create mode 100644 libavcodec/h266.h
 create mode 100644 libavcodec/h266_metadata_bsf.c
 create mode 100644 libavcodec/h266_mp4toannexb_bsf.c
 create mode 100644 libavcodec/h266_paramset.c
 create mode 100644 libavcodec/h266_paramset.h
 create mode 100644 libavcodec/h266_parse_extradata.c
 create mode 100644 libavcodec/h266_parse_extradata.h
 create mode 100644 libavcodec/h266_parser.c
 create mode 100644 libavcodec/libvvdec.c
 create mode 100644 libavcodec/libvvenc.c
 create mode 100644 libavformat/h266.c
 create mode 100644 libavformat/h266.h
 create mode 100644 libavformat/h266dec.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".

             reply	other threads:[~2023-02-10 17:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-10 17:40 Thomas Siedel [this message]
2023-02-10 17:40 ` [FFmpeg-devel] [PATCH v6 01/11] avcodec: add enum types " Thomas Siedel
2023-02-10 17:40 ` [FFmpeg-devel] [PATCH v6 02/11] avcodec: add cbs " Thomas Siedel
2023-02-10 17:40 ` [FFmpeg-devel] [PATCH v6 03/11] avcodec: add bitstream parser " Thomas Siedel
2023-02-10 17:40 ` [FFmpeg-devel] [PATCH v6 04/11] avcodec: add h266_metadata_bsf support " Thomas Siedel
2023-02-10 17:41 ` [FFmpeg-devel] [PATCH v6 05/11] avcodec: add MP4 to annexb " Thomas Siedel
2023-02-10 17:41 ` [FFmpeg-devel] [PATCH v6 06/11] avformat: add demuxer and probe " Thomas Siedel
2023-02-10 17:41 ` [FFmpeg-devel] [PATCH v6 07/11] avformat: add muxer " Thomas Siedel
2023-02-10 17:41 ` [FFmpeg-devel] [PATCH v6 08/11] avcodec: add external decoder libvvdec " Thomas Siedel
2023-02-10 17:41 ` [FFmpeg-devel] [PATCH v6 09/11] avcodec: add external encoder libvvenc " Thomas Siedel
2023-02-10 17:41 ` [FFmpeg-devel] [PATCH v6 10/11] avformat: add ts stream types " Thomas Siedel
2023-02-10 17:41 ` [FFmpeg-devel] [PATCH v6 11/11] avcodec: increase minor version " Thomas Siedel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230210174106.44514-1-thomas.ff@spin-digital.com \
    --to=thomas.ff@spin-digital.com \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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