From: 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 l
From: 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 libavcod
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 VVC implements 8 different slice types
Signed-off-by: Thomas Siedel
---
libavcodec/Makefile | 1 +
libavcodec/cbs.c | 6 ++
libavcodec/cbs_in
From: Thomas Siedel
Add nal parser ff_vvc_parser to parse vvc elementary bitstreams.
Signed-off-by: Thomas Siedel
---
configure| 3 +
libavcodec/Makefile | 1 +
libavcodec/h2645_parse.c | 71 -
libavcodec/parsers.c | 1 +
libavcodec/vvc_parser.c | 588 +
From: 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 ++
libavc
From: 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 ++
libavforma
From: 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
From: 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| 918 +++
li
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
in ISO/IEC 14496-15:2021)
Add VvcConfigurationBox vvcC which extends FullBox type in ISO/IEC 14496-15:2021
Add ff_vvc_m
From: Thomas Siedel
Add external encoder VVenC for H266/VVC encoding.
Register new encoder libvvencc
Add libvvenc to wrap the vvenc interface into ffmpeg
libvvenc implements encoder option:
preset,qp,period,subjopt,vvenc-params,levelidc,tier
Enable encoder by adding --enable-libvvenc in configur
From: Thomas Siedel
Add external decoder VVdeC for H266/VVC decoding.
Register new decoder libvvdec
Add vvc_parse_extradata to support parse/probe of vvcC stream input
Add vvc_paramset that implements the parser of vvcC configuration boxes
Add libvvdec to wrap the vvdec interface into ffmpeg
libv
Current HLS implementation simply skip a failed segment to catch up
the stream, but this is not optimal for some use cases like livestream
recording.
Add an option to retry a failed segment to ensure the output file is
a complete stream.
Signed-off-by: gnattu
---
v4 added documentation for the ne
Support for building with older versions of MSVC (with the
c99wrap/c99conv frontend) was removed in
ce943dd6acbfdfc40223c0fb24d4cad438e6499c.
Signed-off-by: Martin Storsjö
---
configure | 6 --
1 file changed, 6 deletions(-)
diff --git a/configure b/configure
index 6712d045d9..ed52212f93 10
---
Yes, the space is limited and we could bikeshed until christmas about
the best way to use it.
Here's an attempt with an 'av' prefix, 'ft' (frame thread) changed to
df (decoder - frame thread), and only two characters guranteed for
thread index.
---
libavcodec/pthread_frame.c | 13
stride value is not relevant with unpadded content and the total count
of pixels (width x height) must be used instead of the rounding based on
width only then multiplied by height
unpadded_10bit value computing is moved sooner in the code in order to
be able to use it during computing of mini
Am 15.10.22 um 12:25 schrieb Thilo Borgmann:
Hi,
this is an almost identical rebased version of Jan's patchset discussed in [1],
now v7...
Should fix #8329 and #6370.
Fixed with two more nits, OK'd by Anton via Jitsi.
Thanks,
Thilo
___
ffmpeg-deve
Am 19.10.22 um 12:04 schrieb Thilo Borgmann:
Am 15.10.22 um 12:25 schrieb Thilo Borgmann:
Hi,
this is an almost identical rebased version of Jan's patchset discussed in [1],
now v7...
Should fix #8329 and #6370.
Fixed with two more nits, OK'd by Anton via Jitsi.
Pushed with...
Thanks,
T
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: Thomas Siedel
> ---
> libavformat/Makefile | 1 +
> libavformat/allformats.c | 1 +
> libavformat/dem
Andreas Rheinhardt:
> It is documented to be unused for encoders.
>
> Signed-off-by: Andreas Rheinhardt
> ---
> libavcodec/mpegvideo.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
> index 5095149eaa..448b65bb96 100644
>
Andreas Rheinhardt:
> Signed-off-by: Andreas Rheinhardt
> ---
> libavcodec/ffv1dec.c | 2 +-
> libavcodec/h264dec.c | 2 +-
> libavcodec/pngdec.c | 4 ++--
> libavcodec/snowdec.c | 2 +-
> 4 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1de
Andreas Rheinhardt:
> It is the only codec for which mcsel is ever set.
>
> Signed-off-by: Andreas Rheinhardt
> ---
> libavcodec/mpeg4videodec.c| 168 ++
> libavcodec/mpeg4videodec.h| 3 +
> libavcodec/mpegvideo_motion.c | 166 +--
It is equivalent to CBS_CONTENT_TYPE_INTERNAL_REFS
with nb_offsets equal to zero.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/cbs.c | 18 --
libavcodec/cbs_internal.h | 21 -
2 files changed, 16 insertions(+), 23 deletions(-)
diff --git a/libavc
On Fri, Oct 7, 2022 at 1:41 AM Gyan Doshi wrote:
>
>
> On 2022-10-05 08:59 pm, Steven Liu wrote:
> > Tristan Matthews 于2022年10月5日周三 22:44写道:
> >> ---
> >> libavformat/hls.c | 2 +-
> >> 1 file changed, 1 insertion(+), 1 deletion(-)
> >>
> >> diff --git a/libavformat/hls.c b/libavformat/hls.c
This makes it clearer that this limit does not apply to
CBS_UNIT_TYPE_RANGE units.
Signed-off-by: Andreas Rheinhardt
---
Inspired by https://ffmpeg.org/pipermail/ffmpeg-devel/2022-October/303005.html
libavcodec/cbs_internal.h | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff -
From: Christopher Degawa
compressed_ten_bit_format has been deprecated upstream and has no effect
and can be removed. Plus, technically it was never used in the first place
since it would require the app (ffmpeg) to set it and do additional
processing of the input frames.
Also simplify alloc_buf
From: Christopher Degawa
svt-av1 v1.2.0 has deprecated vbv_bufsize in favor of using
- maximum_buffer_size_ms (--buf-sz)
- starting_buffer_level_ms (--buf-initial-sz)
- optimal_buffer_level_ms (--buf-optimal-sz)
and vbv_bufsize has not been in use since svt-av1 v0.8.6
Signed-off-by: Christopher
On 10/19/2022 7:47 PM, Christopher Degawa wrote:
From: Christopher Degawa
svt-av1 v1.2.0 has deprecated vbv_bufsize in favor of using
- maximum_buffer_size_ms (--buf-sz)
- starting_buffer_level_ms (--buf-initial-sz)
- optimal_buffer_level_ms (--buf-optimal-sz)
and vbv_bufsize has not been in u
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 VVC implements 8 different slice types
Signed-off-by: Thomas Siedel
---
libavcodec/Makefile |
On Wed, Oct 19, 2022 at 7:00 PM James Almer wrote:
> On 10/19/2022 7:47 PM, Christopher Degawa wrote:
> > From: Christopher Degawa
> > diff --git a/libavcodec/libsvtav1.c b/libavcodec/libsvtav1.c
> > index 28da206cf8..74dad9892b 100644
> > --- a/libavcodec/libsvtav1.c
> > +++ b/libavcodec/libsvt
Fixes ticket #128.
The SVQ1 interframe mean VLC symbols -128 and 128 are incorrectly swapped
in our SVQ1 implementation, resulting in visible artifacts for some videos.
This patch unswaps the order of these two symbols.
The most noticable example of the artiacts caused by this error can be observ
Don't emit interframe mean symbols -128 and 128 to maintain compatibility with
older versions of FFmpeg that incorrectly interpret these symbols.
---
libavcodec/svq1enc.c | 5 +
tests/ref/seek/vsynth_lena-svq1 | 28 ++--
tests/ref/vsynth/vsynth1-svq1
This will enable the acurate identification of FFmpeg produced
SVQ1 streams, should there be new bugs found in the encoder.
---
libavcodec/svq1enc.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/libavcodec/svq1enc.c b/libavcodec/svq1enc.c
index 9bd5a04368..6aacaef88d 100644
--- a/li
---
libavcodec/svq1dec.c | 32 +++-
1 file changed, 23 insertions(+), 9 deletions(-)
diff --git a/libavcodec/svq1dec.c b/libavcodec/svq1dec.c
index 828b38b93d..c7269456e2 100644
--- a/libavcodec/svq1dec.c
+++ b/libavcodec/svq1dec.c
@@ -73,6 +73,8 @@ typedef struct SVQ1
On 10/19/2022 10:30 PM, Peter Ross wrote:
This will enable the acurate identification of FFmpeg produced
SVQ1 streams, should there be new bugs found in the encoder.
---
libavcodec/svq1enc.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/libavcodec/svq1enc.c b/libavcodec/svq1enc.
From: bevis
When reading data is slow, such as 10 bytes at a time, the header bytes will be
overwritten by the body data, resulting in an error in parsing the header.
Signed-off-by: bevis
---
libavcodec/sbc_parser.c | 34 --
1 file changed, 24 insertions(+), 10
On 2022-10-19 08:33 pm, Tristan Matthews wrote:
On Fri, Oct 7, 2022 at 1:41 AM Gyan Doshi wrote:
On 2022-10-05 08:59 pm, Steven Liu wrote:
Tristan Matthews 于2022年10月5日周三 22:44写道:
---
libavformat/hls.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/hl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
I compile the static ffmpeg binaries for macOS and I have noticed just now
the following error:
duplicate symbol '_read_file' in:
fftools/ffmpeg_opt.o
/Users/Shared/ffmpeg/sw/lib/libass.a(ass.o)
ld: 1 duplicate symbol for architecture x86_64
Helmut K. C. Tessarek (12022-10-20):
> I compile the static ffmpeg binaries for macOS and I have noticed just now
> the following error:
>
> duplicate symbol '_read_file' in:
> fftools/ffmpeg_opt.o
> /Users/Shared/ffmpeg/sw/lib/libass.a(ass.o)
> ld: 1 duplicate symbol for architecture x86_
38 matches
Mail list logo