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
', '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
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,
> >
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
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
-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
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
.
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
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
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
://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
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
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
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
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
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
_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
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
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.
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
-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
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
.
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
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
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
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
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
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
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
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
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
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
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
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
-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
.
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
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
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
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
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
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
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
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
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
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
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
: 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
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
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
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
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
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
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
/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
73 matches
Mail list logo