Re: [FFmpeg-devel] [PATCH v2 1/2] avformat: add muxer support for H266/VVC

2024-01-29 Thread Thomas Siedel
On Fri, 26 Jan 2024 at 16:22, Nuo Mi wrote: > > > On Fri, Jan 26, 2024 at 10:04 PM Thomas Siedel > wrote: > >> Thanks for picking up the patch set! >> >> On Thu, 25 Jan 2024 at 13:26, Nuo Mi wrote: >> >>> From: Thomas Siedel >&g

Re: [FFmpeg-devel] [PATCH v3 1/6] avformat: add muxer support for H266/VVC

2024-01-29 Thread Thomas Siedel
', 'c', '1') }, /* AVC-1/H.264 */ >> > { AV_CODEC_ID_H264, MKTAG('a', 'v', 'c', '2') }, >> > { AV_CODEC_ID_H264, MKTAG('a', 'v', 'c', '3') }, >> > > >> &g

Re: [FFmpeg-devel] [PATCH v1 2/5] avformat: add muxer support for H266/VVC

2024-01-26 Thread Thomas Siedel
On Fri, 5 Jan 2024 at 01:21, Nuo Mi wrote: > On Fri, Nov 3, 2023 at 5:58 PM Thomas Siedel > wrote: > > > Add muxer for vvcc byte stream format. > > Add AV_CODEC_ID_VVC to ff_mp4_obj_type. > > Add AV_CODEC_ID_VVC to ISO Media codec (VvcConfigurationBox vvi1, > >

Re: [FFmpeg-devel] [PATCH v1 2/5] avformat: add muxer support for H266/VVC

2024-01-26 Thread Thomas Siedel
On Fri, 5 Jan 2024 at 01:31, James Almer wrote: > On 11/3/2023 6:57 AM, Thomas Siedel wrote: > > Add muxer for vvcc byte stream format. > > Add AV_CODEC_ID_VVC to ff_mp4_obj_type. > > Add AV_CODEC_ID_VVC to ISO Media codec (VvcConfigurationBox vvi1, > > vvc1 defin

Re: [FFmpeg-devel] [PATCH v2 1/2] avformat: add muxer support for H266/VVC

2024-01-26 Thread Thomas Siedel
Thanks for picking up the patch set! On Thu, 25 Jan 2024 at 13:26, Nuo Mi wrote: > From: Thomas Siedel > > Add muxer for vvcc byte stream format. > Add AV_CODEC_ID_VVC to ff_mp4_obj_type. > Add AV_CODEC_ID_VVC to ISO Media codec (VvcConfigurationBox vvi1, > vvc1 defined i

[FFmpeg-devel] [PATCH v1 5/5] avcodec: add external decoder libvvdec for H266/VVC

2023-11-03 Thread Thomas Siedel
-libvvdec in configure step. Signed-off-by: Thomas Siedel --- configure|6 +- fftools/ffmpeg_dec.c |3 +- libavcodec/Makefile |1 + libavcodec/allcodecs.c |1 + libavcodec/libvvdec.c| 567

[FFmpeg-devel] [PATCH v1 4/5] avcodec: increase minor version for H266/VVC

2023-11-03 Thread Thomas Siedel
Increase avcodec minor version for VVenC support. Signed-off-by: Thomas Siedel --- libavcodec/version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/version.h b/libavcodec/version.h index d6f1440d54..62e7eba3db 100644 --- a/libavcodec/version.h +++ b/libavcodec

[FFmpeg-devel] [PATCH v1 2/5] avformat: add muxer support for H266/VVC

2023-11-03 Thread Thomas Siedel
. Signed-off-by: Thomas Siedel --- libavformat/Makefile| 6 +- libavformat/isom.c | 1 + libavformat/isom_tags.c | 3 + libavformat/mov.c | 6 + libavformat/movenc.c| 41 +- libavformat/vvc.c | 998 libavformat/vvc.h

[FFmpeg-devel] [PATCH v1 3/5] avformat: add ts stream types for H266/VVC

2023-11-03 Thread Thomas Siedel
Add transport stream stream type 0x33 for vvc. Add STREAM_TYPE_VIDEO_VVC to MPEG-1/2 and MPEG-2 transport stream. Add basic transport stream support for TS mux/demux. Signed-off-by: Thomas Siedel --- configure | 2 +- libavformat/mpeg.c | 3 ++ libavformat/mpeg.h | 1

[FFmpeg-devel] [PATCH v1 1/5] avcodec: add external encoder libvvenc for H266/VVC

2023-11-03 Thread Thomas Siedel
libwebp */ extern const FFCodec ff_libwebp_anim_encoder; extern const FFCodec ff_libwebp_encoder; diff --git a/libavcodec/libvvenc.c b/libavcodec/libvvenc.c new file mode 100644 index 00..14cbecea4a --- /dev/null +++ b/libavcodec/libvvenc.c @@ -0,0 +1,500 @@ +/* + * H.266 encoding using t

[FFmpeg-devel] [PATCH v1 0/5] Add support for H266/VVC encoding

2023-11-03 Thread Thomas Siedel
://github.com/fraunhoferhhi/vvdec.git) is also added in the last patch of the patch set. It can be enabled with --enable-libvvdec. Although a native VVC decoder is in development, this additional VVdeC decoder can be useful for streams with VVC tools that are not supported by the native decoder yet. Thomas

Re: [FFmpeg-devel] [PATCH v7 00/11] Add support for H266/VVC

2023-07-03 Thread Thomas Siedel
On Thu, 29 Jun 2023 at 19:39, James Almer wrote: > On 3/21/2023 12:01 PM, Thomas Siedel wrote: > > This patch set adds H266/VVC support. > > This includes parsing, muxing, demuxing, decoding and encoding. > > Decoding is done using the external library VVdeC > > (https

Re: [FFmpeg-devel] [PATCH v5 04/10] avcodec: add MP4 to annexb support for H266/VVC

2023-02-10 Thread Thomas Siedel
On Wed, 1 Feb 2023 at 16:34, zhilizhao(赵志立) wrote: > > > > On Jan 3, 2023, at 21:40, Thomas Siedel > wrote: > > > > Add parser for VVC MP4 to Annex B byte stream format. > > > > Co-authored-by: Nuo Mi > > --- > > configure

Re: [FFmpeg-devel] [PATCH v5 02/10] avcodec: add cbs for H266/VVC

2023-02-10 Thread Thomas Siedel
On Wed, 1 Feb 2023 at 09:21, "zhilizhao(赵志立)" wrote: > > > > On Jan 3, 2023, at 21:40, Thomas Siedel > wrote: > ... > > diff --git a/libavcodec/cbs_h2645.c b/libavcodec/cbs_h2645.c > > index 4ee06003c3..8ae8ae6cda 100644 > > --- a/libavcode

[FFmpeg-devel] [PATCH v6 11/11] avcodec: increase minor version for H266/VVC

2023-02-10 Thread Thomas Siedel
Increase avcodec minor version for vvc support. --- libavcodec/version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/version.h b/libavcodec/version.h index 8c3d476003..5957009457 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -29,7 +29,7 @@ #i

[FFmpeg-devel] [PATCH v6 10/11] avformat: add ts stream types for H266/VVC

2023-02-10 Thread Thomas Siedel
Add transport stream stream type 0x33 for vvc. Add STREAM_TYPE_VIDEO_VVC to MPEG-1/2 and MPEG-2 transport stream. Add basic transport stream support for TS mux/demux. --- configure | 2 +- libavformat/mpeg.c | 3 ++ libavformat/mpeg.h | 1 + libavformat/mpegts.c| 2

[FFmpeg-devel] [PATCH v6 09/11] avcodec: add external encoder libvvenc for H266/VVC

2023-02-10 Thread Thomas Siedel
_decoder; extern const FFCodec ff_libvvdec_decoder; +extern const FFCodec ff_libvvenc_encoder; /* preferred over libwebp */ extern const FFCodec ff_libwebp_anim_encoder; extern const FFCodec ff_libwebp_encoder; diff --git a/libavcodec/libvvenc.c b/libavcodec/libvvenc.c new file mode 100644 index 00

[FFmpeg-devel] [PATCH v6 08/11] avcodec: add external decoder libvvdec for H266/VVC

2023-02-10 Thread Thomas Siedel
const FFCodec ff_libwebp_encoder; diff --git a/libavcodec/h266_paramset.c b/libavcodec/h266_paramset.c new file mode 100644 index 00..4e0e958750 --- /dev/null +++ b/libavcodec/h266_paramset.c @@ -0,0 +1,1005 @@ +/* + * H.266 / VVC Parameter Set decoding + * + * Copyright (c) 2022, Thom

[FFmpeg-devel] [PATCH v6 07/11] avformat: add muxer support for H266/VVC

2023-02-10 Thread Thomas Siedel
Add muxer for vvcc byte stream format. Add AV_CODEC_ID_VVC to ff_mp4_obj_type. Add AV_CODEC_ID_VVC to ISO Media codec (VvcConfigurationBox vvi1, vvc1 defined in ISO/IEC 14496-15:2021). Add VvcConfigurationBox vvcC which extends FullBox type in ISO/IEC 14496-15:2021. Add ff_vvc_muxer to RAW muxers.

[FFmpeg-devel] [PATCH v6 06/11] avformat: add demuxer and probe support for H266/VVC

2023-02-10 Thread Thomas Siedel
if (s->flags & AVFMT_FLAG_NOFILLIN) return; diff --git a/libavformat/h266.c b/libavformat/h266.c new file mode 100644 index 00..a012f0c579 --- /dev/null +++ b/libavformat/h266.c @@ -0,0 +1,984 @@ +/* + * H.266/VVC helper functions for muxers + * + * Copyright (C) 2

[FFmpeg-devel] [PATCH v6 05/11] avcodec: add MP4 to annexb support for H266/VVC

2023-02-10 Thread Thomas Siedel
mode 100644 index 00..1f7bf0618d --- /dev/null +++ b/libavcodec/h266_mp4toannexb_bsf.c @@ -0,0 +1,329 @@ +/* + * H.266/VVC MP4 to Annex B byte stream format filter + * Copyright (c) 2022, Thomas Siedel + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute

[FFmpeg-devel] [PATCH v6 04/11] avcodec: add h266_metadata_bsf support for H266/VVC

2023-02-10 Thread Thomas Siedel
From: Nuo Mi Add H.266/VVC metadata bsf. --- configure | 1 + libavcodec/Makefile| 1 + libavcodec/bitstream_filters.c | 1 + libavcodec/h266_metadata_bsf.c | 147 + 4 files changed, 150 insertions(+) create mode 100644 liba

[FFmpeg-devel] [PATCH v6 03/11] avcodec: add bitstream parser for H266/VVC

2023-02-10 Thread Thomas Siedel
From: Nuo Mi Add nal parser ff_vvc_parser to parse vvc elementary bitstreams. Co-authored-by: Thomas Siedel --- configure| 1 + libavcodec/Makefile | 2 + libavcodec/h2645_parse.c | 71 - libavcodec/h266_parser.c | 601

[FFmpeg-devel] [PATCH v6 01/11] avcodec: add enum types for H266/VVC

2023-02-10 Thread Thomas Siedel
From: Nuo Mi Add types as nal unit types, slice types and vvc typedefs needed for parsing vvc high-level syntax. --- libavcodec/h266.h | 142 ++ 1 file changed, 142 insertions(+) create mode 100644 libavcodec/h266.h diff --git a/libavcodec/h266.h b/l

[FFmpeg-devel] [PATCH v6 00/11] Add support for H266/VVC

2023-02-10 Thread Thomas Siedel
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

Re: [FFmpeg-devel] [PATCH v1 00/11] Add support for H266/VVC

2023-01-03 Thread Thomas Siedel
On Thu, 15 Dec 2022 at 10:11, Thomas Siedel wrote: > On Tue, 13 Dec 2022 at 07:19, Nuo Mi wrote: > >> Hi Thomas, >> Thank you for sending the patch set. >> It seems the patchset is based on >> https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=3487 >&g

[FFmpeg-devel] [PATCH v5 09/10] avformat: add ts stream types for H266/VVC

2023-01-03 Thread Thomas Siedel
Add transport stream stream type 0x33 for vvc. Add STREAM_TYPE_VIDEO_VVC to MPEG-1/2 and MPEG-2 transport stream. Add basic transport stream support for TS mux/demux. --- configure | 2 +- libavformat/mpeg.c | 3 ++ libavformat/mpeg.h | 1 + libavformat/mpegts.c| 2

[FFmpeg-devel] [PATCH v5 07/10] avcodec: add external decoder libvvdec for H266/VVC

2023-01-03 Thread Thomas Siedel
bwebp_encoder; diff --git a/libavcodec/libvvdec.c b/libavcodec/libvvdec.c new file mode 100644 index 00..bd16d15571 --- /dev/null +++ b/libavcodec/libvvdec.c @@ -0,0 +1,548 @@ +/* + * H.266 decoding using the VVdeC library + * + * Copyright (C) 2022, Thomas Siedel + * + * This file is part o

[FFmpeg-devel] [PATCH v5 08/10] avcodec: add external encoder libvvenc for H266/VVC

2023-01-03 Thread Thomas Siedel
FCodec ff_libvvdec_decoder; +extern const FFCodec ff_libvvenc_encoder; /* preferred over libwebp */ extern const FFCodec ff_libwebp_anim_encoder; extern const FFCodec ff_libwebp_encoder; diff --git a/libavcodec/libvvenc.c b/libavcodec/libvvenc.c new file mode 100644 index 00..a

[FFmpeg-devel] [PATCH v5 06/10] avformat: add muxer support for H266/VVC

2023-01-03 Thread Thomas Siedel
Add muxer for vvcc byte stream format. Add AV_CODEC_ID_VVC to ff_mp4_obj_type. Add AV_CODEC_ID_VVC to ISO Media codec (VvcConfigurationBox vvi1, vvc1 defined in ISO/IEC 14496-15:2021). Add VvcConfigurationBox vvcC which extends FullBox type in ISO/IEC 14496-15:2021. Add ff_vvc_muxer to RAW muxers.

[FFmpeg-devel] [PATCH v5 05/10] avformat: add demuxer and probe support for H266/VVC

2023-01-03 Thread Thomas Siedel
DEC_ID_VVC; if (s->flags & AVFMT_FLAG_NOFILLIN) return; diff --git a/libavformat/vvc.c b/libavformat/vvc.c new file mode 100644 index 00..ce112705c3 --- /dev/null +++ b/libavformat/vvc.c @@ -0,0 +1,984 @@ +/* + * VVC helper functions for muxers + * + * Copyright (C) 2

[FFmpeg-devel] [PATCH v5 10/10] avcodec: increase minor version for H266/VVC

2023-01-03 Thread Thomas Siedel
Increase avcodec minor version for vvc support. --- libavcodec/version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/version.h b/libavcodec/version.h index 6b8a1dbb79..dfd3d5d7e5 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -29,7 +29,7 @@ #i

[FFmpeg-devel] [PATCH v5 04/10] avcodec: add MP4 to annexb support for H266/VVC

2023-01-03 Thread Thomas Siedel
eof(VVCMetadataContext), +.init = &vvc_metadata_init, +.close = &ff_cbs_bsf_generic_close, +.filter = &ff_cbs_bsf_generic_filter, +}; diff --git a/libavcodec/vvc_mp4toannexb_bsf.c b/libavcodec/vvc_mp4toannexb_bsf.c new file mode 100644 index 0

[FFmpeg-devel] [PATCH v5 03/10] avcodec: add bitstream parser for H266/VVC

2023-01-03 Thread Thomas Siedel
From: Nuo Mi Add nal parser ff_vvc_parser to parse vvc elementary bitstreams. Co-authored-by: Thomas Siedel --- configure| 1 + libavcodec/Makefile | 2 + libavcodec/h2645_parse.c | 71 - libavcodec/parsers.c | 1 + libavcodec/vvc_parser.c | 603

[FFmpeg-devel] [PATCH v5 01/10] avcodec: add enum types for H266/VVC

2023-01-03 Thread Thomas Siedel
From: Nuo Mi Add types as nal unit types, slice types and vvc typedefs needed for parsing vvc high-level syntax. --- libavcodec/vvc.h | 142 +++ 1 file changed, 142 insertions(+) create mode 100644 libavcodec/vvc.h diff --git a/libavcodec/vvc.h b/lib

[FFmpeg-devel] [PATCH v5 00/10] Add support for H266/VVC

2023-01-03 Thread Thomas Siedel
libavcodec/libvvdec.c - bugfix: set correct avframe pts for decoded picture - bugfix: print additional info if decoding fails Nuo Mi (3): avcodec: add enum types for H266/VVC avcodec: add cbs for H266/VVC avcodec: add bitstream parser for H266/VVC Thomas Siedel (7): avcodec: add MP4 to

Re: [FFmpeg-devel] [PATCH v1 00/11] Add support for H266/VVC

2022-12-15 Thread Thomas Siedel
what to do in this case or how to change it? On Wed, Oct 19, 2022 at 3:26 PM wrote: > >> From: Thomas Siedel >> >> This patch set adds H266/VVC support. >> This includes parsing, muxing, demuxing, decoding and encoding. >> Decoding is done using the external libra

Re: [FFmpeg-devel] [PATCH v3 05/10] avformat: add demuxer and probe support for H266/VVC

2022-11-15 Thread Thomas Siedel
On Mon, 7 Nov 2022 at 03:28, myp...@gmail.com wrote: > On Thu, Nov 3, 2022 at 8:23 PM Thomas Siedel > wrote: > > > > Add demuxer to probe raw vvc and parse vvcc byte stream format. > > > > Signed-off-by: Thomas Siedel > > --- > > libavformat/Makefile

[FFmpeg-devel] [PATCH v4 09/10] avformat: add ts stream types for H266/VVC

2022-11-15 Thread Thomas Siedel
Add transport stream stream type 0x33 for vvc. Add STREAM_TYPE_VIDEO_VVC to MPEG-1/2 and MPEG-2 transport stream. Add basic transport stream support for TS mux/demux. Signed-off-by: Thomas Siedel --- configure | 2 +- libavformat/mpeg.c | 3 ++ libavformat/mpeg.h | 1

[FFmpeg-devel] [PATCH v4 07/10] avcodec: add external decoder libvvdec for H266/VVC

2022-11-15 Thread Thomas Siedel
-libvvdec in configure step. Signed-off-by: Thomas Siedel --- configure|5 + libavcodec/Makefile |1 + libavcodec/allcodecs.c |1 + libavcodec/libvvdec.c| 544 libavcodec/vvc_paramset.c| 1005

[FFmpeg-devel] [PATCH v4 08/10] avcodec: add external encoder libvvenc for H266/VVC

2022-11-15 Thread Thomas Siedel
bvpx_vp9_decoder; extern const FFCodec ff_libvvdec_decoder; +extern const FFCodec ff_libvvenc_encoder; /* preferred over libwebp */ extern const FFCodec ff_libwebp_anim_encoder; extern const FFCodec ff_libwebp_encoder; diff --git a/libavcodec/libvvenc.c b/libavcodec/libvvenc.c new file mode 100

[FFmpeg-devel] [PATCH v4 06/10] avformat: add muxer support for H266/VVC

2022-11-15 Thread Thomas Siedel
. Signed-off-by: Thomas Siedel --- libavformat/Makefile | 7 --- libavformat/allformats.c | 1 + libavformat/isom.c | 1 + libavformat/isom_tags.c | 3 +++ libavformat/mov.c| 6 ++ libavformat/movenc.c | 41 +++- libavformat

[FFmpeg-devel] [PATCH v4 05/10] avformat: add demuxer and probe support for H266/VVC

2022-11-15 Thread Thomas Siedel
Add demuxer to probe raw vvc and parse vvcc byte stream format. Signed-off-by: Thomas Siedel --- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/demux.c | 7 +- libavformat/vvc.c| 984 +++ libavformat/vvc.h

[FFmpeg-devel] [PATCH v4 10/10] avcodec: increase minor version for H266/VVC

2022-11-15 Thread Thomas Siedel
Increase avcodec minor version for vvc support. Signed-off-by: Thomas Siedel --- libavcodec/version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/version.h b/libavcodec/version.h index 480dbd3b67..27620d6432 100644 --- a/libavcodec/version.h +++ b/libavcodec

[FFmpeg-devel] [PATCH v4 04/10] avcodec: add MP4 to annexb support for H266/VVC

2022-11-15 Thread Thomas Siedel
Add parser for VVC MP4 to Annex B byte stream format. Signed-off-by: Thomas Siedel --- configure| 1 + libavcodec/Makefile | 2 + libavcodec/bitstream_filters.c | 2 + libavcodec/h266_metadata_bsf.c | 146 ++ libavcodec

[FFmpeg-devel] [PATCH v4 03/10] avcodec: add bitstream parser for H266/VVC

2022-11-15 Thread Thomas Siedel
Add nal parser ff_vvc_parser to parse vvc elementary bitstreams. Signed-off-by: Thomas Siedel --- configure| 3 + libavcodec/Makefile | 2 + libavcodec/h2645_parse.c | 71 - libavcodec/parsers.c | 1 + libavcodec/vvc_parser.c | 601

[FFmpeg-devel] [PATCH v4 01/10] avcodec: add enum types for H266/VVC

2022-11-15 Thread Thomas Siedel
Add types as nal unit types, slice types and vvc typedefs needed for parsing vvc high-level syntax. Signed-off-by: Thomas Siedel --- libavcodec/vvc.h | 142 +++ 1 file changed, 142 insertions(+) create mode 100644 libavcodec/vvc.h diff --git a

[FFmpeg-devel] [PATCH v4 00/10] Add support for H266/VVC

2022-11-15 Thread Thomas Siedel
with macro CODEC_LONG_NAME PATCH 08/10 libavcodec/libvvenc.c - replacing FFCodec.p.longname with macro CODEC_LONG_NAME 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

Re: [FFmpeg-devel] [PATCH v2 08/10] avcodec: add external encoder libvvenc for H266/VVC

2022-11-03 Thread Thomas Siedel
On Mon, 24 Oct 2022 at 16:38, quietvoid wrote: > On 24/10/2022 10.06, Thomas Siedel wrote: > > > Add external encoder VVenC for H266/VVC encoding. > > Register new encoder libvvencc > > Add libvvenc to wrap the vvenc interface into ffmpeg > > libvvenc implements

Re: [FFmpeg-devel] [PATCH v2 03/10] avcodec: add bitstream parser for H266/VVC

2022-11-03 Thread Thomas Siedel
On Mon, 31 Oct 2022 at 21:02, James Almer wrote: > On 10/31/2022 7:16 AM, Thomas Siedel wrote: > > On Mon, 24 Oct 2022 at 16:38, James Almer wrote: > > > >> On 10/24/2022 11:06 AM, Thomas Siedel wrote: > >>> +static int combine_au(AVCodecParserC

[FFmpeg-devel] [PATCH v3 10/10] avcodec: increase minor version for H266/VVC

2022-11-03 Thread Thomas Siedel
Increase avcodec minor version for vvc support. Signed-off-by: Thomas Siedel --- libavcodec/version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/version.h b/libavcodec/version.h index 43d0d9a9fc..c3f344e46a 100644 --- a/libavcodec/version.h +++ b/libavcodec

[FFmpeg-devel] [PATCH v3 09/10] avformat: add ts stream types for H266/VVC

2022-11-03 Thread Thomas Siedel
Add transport stream stream type 0x33 for vvc. Add STREAM_TYPE_VIDEO_VVC to MPEG-1/2 and MPEG-2 transport stream. Add basic transport stream support for TS mux/demux. Signed-off-by: Thomas Siedel --- configure | 2 +- libavformat/mpeg.c | 3 ++ libavformat/mpeg.h | 1

[FFmpeg-devel] [PATCH v3 08/10] avcodec: add external encoder libvvenc for H266/VVC

2022-11-03 Thread Thomas Siedel
bvpx_vp9_decoder; extern const FFCodec ff_libvvdec_decoder; +extern const FFCodec ff_libvvenc_encoder; /* preferred over libwebp */ extern const FFCodec ff_libwebp_anim_encoder; extern const FFCodec ff_libwebp_encoder; diff --git a/libavcodec/libvvenc.c b/libavcodec/libvvenc.c new file mode 100

[FFmpeg-devel] [PATCH v3 07/10] avcodec: add external decoder libvvdec for H266/VVC

2022-11-03 Thread Thomas Siedel
-libvvdec in configure step. Signed-off-by: Thomas Siedel --- configure| 5 + libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/libvvdec.c| 511 libavcodec/vvc_paramset.c| 972

[FFmpeg-devel] [PATCH v3 06/10] avformat: add muxer support for H266/VVC

2022-11-03 Thread Thomas Siedel
. Signed-off-by: Thomas Siedel --- libavformat/Makefile | 7 --- libavformat/allformats.c | 1 + libavformat/isom.c | 1 + libavformat/isom_tags.c | 3 +++ libavformat/mov.c| 6 ++ libavformat/movenc.c | 41 +++- libavformat

[FFmpeg-devel] [PATCH v3 05/10] avformat: add demuxer and probe support for H266/VVC

2022-11-03 Thread Thomas Siedel
Add demuxer to probe raw vvc and parse vvcc byte stream format. Signed-off-by: Thomas Siedel --- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/demux.c | 7 +- libavformat/vvc.c| 919 +++ libavformat/vvc.h

[FFmpeg-devel] [PATCH v3 04/10] avcodec: add MP4 to annexb support for H266/VVC

2022-11-03 Thread Thomas Siedel
Add parser for VVC MP4 to Annex B byte stream format. Signed-off-by: Thomas Siedel --- configure| 1 + libavcodec/Makefile | 2 + libavcodec/bitstream_filters.c | 2 + libavcodec/h266_metadata_bsf.c | 145 ++ libavcodec

[FFmpeg-devel] [PATCH v3 03/10] avcodec: add bitstream parser for H266/VVC

2022-11-03 Thread Thomas Siedel
Add nal parser ff_vvc_parser to parse vvc elementary bitstreams. Signed-off-by: Thomas Siedel --- configure| 3 + libavcodec/Makefile | 2 + libavcodec/h2645_parse.c | 71 - libavcodec/parsers.c | 1 + libavcodec/vvc_parser.c | 591

[FFmpeg-devel] [PATCH v3 01/10] avcodec: add enum types for H266/VVC

2022-11-03 Thread Thomas Siedel
Add types as nal unit types, slice types and vvc typedefs needed for parsing vvc high-level syntax. Signed-off-by: Thomas Siedel --- libavcodec/vvc.h | 142 +++ 1 file changed, 142 insertions(+) create mode 100644 libavcodec/vvc.h diff --git a

[FFmpeg-devel] [PATCH v3 00/10] Add support for H266/VVC

2022-11-03 Thread Thomas Siedel
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

Re: [FFmpeg-devel] [PATCH v2 03/10] avcodec: add bitstream parser for H266/VVC

2022-10-31 Thread Thomas Siedel
On Mon, 24 Oct 2022 at 16:38, James Almer wrote: > On 10/24/2022 11:06 AM, Thomas Siedel wrote: > > +static int combine_au(AVCodecParserContext *ctx, AVCodecContext *avctx, > > + const uint8_t **buf, int *buf_size) > > +{ > > This is being

Re: [FFmpeg-devel] [PATCH v1 03/11] avcodec: enable cbs for H266/VVC

2022-10-24 Thread Thomas Siedel
On Thu, 20 Oct 2022 at 01:07, James Almer wrote: > On 10/19/2022 4:25 AM, thomas...@spin-digital.com wrote: > > From: Thomas Siedel > > > > Add ff_cbs_type_h266 to cbs types tables and AV_CODEC_ID_H266 to cbs > codec ids. > > Change CBS_MAX_UNIT_TYPES to 8 as VV

Re: [FFmpeg-devel] [PATCH v1 06/11] avformat: add demuxer and probe support for H266/VVC

2022-10-24 Thread Thomas Siedel
On Wed, 19 Oct 2022 at 14:07, Michael Niedermayer wrote: > On Wed, Oct 19, 2022 at 09:25:03AM +0200, thomas...@spin-digital.com > wrote: > > From: Thomas Siedel > > > > Add demuxer to probe raw vvc and parse vvcc byte stream format. > > > > Signed-off-by: Tho

[FFmpeg-devel] [PATCH v2 07/10] avcodec: add external decoder libvvdec for H266/VVC

2022-10-24 Thread Thomas Siedel
decoder option externmem to use AVBufferPool (default) or copy image after receiving from decoder Enable decoder by adding --enable-libvvdec in configure step Signed-off-by: Thomas Siedel --- configure| 5 + libavcodec/Makefile | 1 + libavcodec/allcodecs.c

[FFmpeg-devel] [PATCH v2 10/10] avcodec: increase minor version for H266/VVC

2022-10-24 Thread Thomas Siedel
Increase avcodec minor version for vvc support. Signed-off-by: Thomas Siedel --- libavcodec/version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/version.h b/libavcodec/version.h index f8abc803b6..86ac0f3871 100644 --- a/libavcodec/version.h +++ b/libavcodec

[FFmpeg-devel] [PATCH v2 08/10] avcodec: add external encoder libvvenc for H266/VVC

2022-10-24 Thread Thomas Siedel
: Thomas Siedel --- configure | 5 + libavcodec/Makefile| 1 + libavcodec/allcodecs.c | 1 + libavcodec/libvvenc.c | 442 + 4 files changed, 449 insertions(+) create mode 100644 libavcodec/libvvenc.c diff --git a/configure b

[FFmpeg-devel] [PATCH v2 06/10] avformat: add muxer support for H266/VVC

2022-10-24 Thread Thomas Siedel
Signed-off-by: Thomas Siedel --- libavformat/Makefile | 7 --- libavformat/allformats.c | 1 + libavformat/isom.c | 1 + libavformat/isom_tags.c | 3 +++ libavformat/mov.c| 6 ++ libavformat/movenc.c | 41 +++- libavformat

[FFmpeg-devel] [PATCH v2 05/10] avformat: add demuxer and probe support for H266/VVC

2022-10-24 Thread Thomas Siedel
Add demuxer to probe raw vvc and parse vvcc byte stream format. Signed-off-by: Thomas Siedel --- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/demux.c | 7 +- libavformat/vvc.c| 919 +++ libavformat/vvc.h

[FFmpeg-devel] [PATCH v2 09/10] avformat: add ts stream types for H266/VVC

2022-10-24 Thread Thomas Siedel
Add transport stream stream type 0x33 for vvc. Add STREAM_TYPE_VIDEO_VVC to MPEG-1/2 and MPEG-2 transport stream Add basic transport stream support for TS mux/demux Signed-off-by: Thomas Siedel --- configure | 2 +- libavformat/mpeg.c | 3 ++ libavformat/mpeg.h | 1

[FFmpeg-devel] [PATCH v2 04/10] avcodec: add MP4 to annexb support for H266/VVC

2022-10-24 Thread Thomas Siedel
Add parser for VVC MP4 to Annex B byte stream format. Signed-off-by: Thomas Siedel --- configure| 1 + libavcodec/Makefile | 2 + libavcodec/bitstream_filters.c | 2 + libavcodec/h266_metadata_bsf.c | 145 ++ libavcodec

[FFmpeg-devel] [PATCH v2 03/10] avcodec: add bitstream parser for H266/VVC

2022-10-24 Thread Thomas Siedel
Add nal parser ff_vvc_parser to parse vvc elementary bitstreams. Signed-off-by: Thomas Siedel --- configure| 3 + libavcodec/Makefile | 2 + libavcodec/h2645_parse.c | 71 - libavcodec/parsers.c | 1 + libavcodec/vvc_parser.c | 588

[FFmpeg-devel] [PATCH v2 01/10] avcodec: add enum types for H266/VVC

2022-10-24 Thread Thomas Siedel
Add needed types as nal unit types, slice types and vvc typedefs needed for parsing vvc high-level syntax Signed-off-by: Thomas Siedel --- libavcodec/vvc.h | 142 +++ 1 file changed, 142 insertions(+) create mode 100644 libavcodec/vvc.h diff --git

[FFmpeg-devel] [PATCH v2 00/10] Add support for H266/VVC

2022-10-24 Thread Thomas Siedel
/10 libavcodec/vvc_parse_extradata.c - remove warning for sublayer_level_idc PATCH 09/10 libavcodec/libvvenc.c - set correct hdr mode, depending on color primaries Thomas Siedel (10): avcodec: add enum types for H266/VVC avcodec: add cbs for H266/VVC avcodec: add bitstream parser for