[FFmpeg-devel] [PATCH] lavc/vvcdec: show frames info with ffprobe and other tools.

2025-01-10 Thread Nuo Mi
Tested with: ``` wget https://www.itu.int/wftp3/av-arch/jvet-site/bitstream_exchange/VVC/draft_conformance/draft6/CodingToolsSets_E_Tencent_1.zip unzip CodingToolsSets_E_Tencent_1.zip CodingToolsSets_E_Tencent_1.bit ffprobe -hide_banner CodingToolsSets_E_Tencent_1.bit -select_streams v -show_fra

Re: [FFmpeg-devel] [PATCH 4/5] swscale: 16bit planar float input support

2025-01-10 Thread Michael Niedermayer
On Fri, Jan 10, 2025 at 05:06:13AM +0100, Michael Niedermayer wrote: > Sponsored-by: Sovereign Tech Fund > Signed-off-by: Michael Niedermayer > --- > libswscale/input.c| 97 +++ > libswscale/swscale_unscaled.c | 2 +- > libswscale/utils.c|

Re: [FFmpeg-devel] [PATCH 3/4] doc/faq: Document the plan ahead for Governance

2025-01-10 Thread Michael Niedermayer
Hi Nicolas On Thu, Jan 09, 2025 at 09:26:42PM +0100, Nicolas George wrote: > Michael Niedermayer (12025-01-07): > > Signed-off-by: Michael Niedermayer > > --- > > doc/faq.texi | 8 > > 1 file changed, 8 insertions(+) > > > > diff --git a/doc/faq.texi b/doc/faq.texi > > index 54c3fbb41f

Re: [FFmpeg-devel] [PATCH] libavcodec/sanm: implement codec37 subcodec1

2025-01-10 Thread Michael Niedermayer
Hi On Thu, Jan 09, 2025 at 08:45:24AM +0100, Manuel Lauss wrote: > Interesting, which compiler do you use? I see no such errors with gcc-15. > I'll redo the patch, thanks for testing! gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF13

Re: [FFmpeg-devel] [PATCH 2/5] ffv1dec: move slice start finding into a function

2025-01-10 Thread Michael Niedermayer
On Mon, Jan 06, 2025 at 01:07:30PM +0900, Lynne wrote: > This also cleans up and gives the code some much needed comments. > --- > libavcodec/ffv1dec.c | 66 +++- > 1 file changed, 47 insertions(+), 19 deletions(-) LGTM thx [...] -- Michael GnuPG fin

[FFmpeg-devel] [PATCH] lavc/vvc: Check slice structure

2025-01-10 Thread Frank Plowman
The criteria for slice structure validity is similar to that of subpicture structure validity that we saw not too long ago [1]. The relationship between tiles and slices must satisfy the following properties: * Exhaustivity. All tiles in a picture must belong to a slice. The tiles cover the pi

[FFmpeg-devel] [PATCH v2 2/8] avfilter/buffersrc: add a side_data field

2025-01-10 Thread James Almer
This will be used to propagate global side data through the filterchain. Signed-off-by: James Almer --- libavfilter/buffersrc.c | 26 ++ libavfilter/buffersrc.h | 3 +++ 2 files changed, 29 insertions(+) diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c ind

Re: [FFmpeg-devel] [PATCH 2/8] avfilter/buffersrc: add a side_data field

2025-01-10 Thread Andreas Rheinhardt
James Almer: > This will be used to propagate global side data through the filterchain. > > Signed-off-by: James Almer > --- > libavfilter/buffersrc.c | 29 + > libavfilter/buffersrc.h | 3 +++ > 2 files changed, 32 insertions(+) > > diff --git a/libavfilter/buffers

[FFmpeg-devel] [PATCH 8/8] fftools/ffmpeg_filter: reinitialize the filterchain if downmix metadata changed between frames

2025-01-10 Thread James Almer
Signed-off-by: James Almer --- fftools/ffmpeg_filter.c | 26 +- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c index e5a1bd7b6b..5757a5ce87 100644 --- a/fftools/ffmpeg_filter.c +++ b/fftools/ffmpeg_filter.c @

[FFmpeg-devel] [PATCH 7/8] avfilter/af_aresample: propagate downmix metadata to swresample if present

2025-01-10 Thread James Almer
Signed-off-by: James Almer --- libavfilter/af_aresample.c | 45 ++ 1 file changed, 45 insertions(+) diff --git a/libavfilter/af_aresample.c b/libavfilter/af_aresample.c index d6de074041..70c5f0348f 100644 --- a/libavfilter/af_aresample.c +++ b/libavfilter/af_a

[FFmpeg-devel] [PATCH 6/8] avutil/frame: add a side data prop to signal channel layout dependent types

2025-01-10 Thread James Almer
Signed-off-by: James Almer --- libavutil/frame.c | 4 ++-- libavutil/frame.h | 7 +++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/libavutil/frame.c b/libavutil/frame.c index 10b59545f0..00d0bab8b5 100644 --- a/libavutil/frame.c +++ b/libavutil/frame.c @@ -31,8 +31,8 @@ sta

[FFmpeg-devel] [PATCH 5/8] avutil/downmix_info: zero the allocated buffer

2025-01-10 Thread James Almer
Signed-off-by: James Almer --- libavutil/downmix_info.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavutil/downmix_info.c b/libavutil/downmix_info.c index c634c6a79f..feaee28493 100644 --- a/libavutil/downmix_info.c +++ b/libavutil/downmix_info.c @@ -27,9 +27,11 @@ A

[FFmpeg-devel] [PATCH 4/8] fftools/ffmpeg: propagate decoded_side_data from decoded streams to the filterchain

2025-01-10 Thread James Almer
Global side data as exported by a decoder may no longer apply if a filter in the chain altered the frames in some form, like changing color, dimensions, or channel layout information. After this change, any such changes in side data will be taken into account by the encoder futher in the process.

[FFmpeg-devel] [PATCH 3/8] avfilter/buffersink: add a side_data field

2025-01-10 Thread James Almer
This will be used to propagate global side data through the filterchain. Signed-off-by: James Almer --- libavfilter/buffersink.c | 21 + libavfilter/buffersink.h | 5 + 2 files changed, 26 insertions(+) diff --git a/libavfilter/buffersink.c b/libavfilter/buffersink.c in

[FFmpeg-devel] [PATCH 2/8] avfilter/buffersrc: add a side_data field

2025-01-10 Thread James Almer
This will be used to propagate global side data through the filterchain. Signed-off-by: James Almer --- libavfilter/buffersrc.c | 29 + libavfilter/buffersrc.h | 3 +++ 2 files changed, 32 insertions(+) diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c

[FFmpeg-devel] [PATCH 1/8] avfilter/avfilter: add a side_data field to AVFilterLink

2025-01-10 Thread James Almer
This will be used to propagate global side data through the filterchain. Signed-off-by: James Almer --- libavfilter/avfilter.c | 16 +++- libavfilter/avfilter.h | 3 +++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c in

Re: [FFmpeg-devel] [PATCH] avformat/mov: merge stts and ctts arrays into one

2025-01-10 Thread James Almer
On 1/10/2025 10:05 AM, James Almer wrote: On 1/7/2025 6:50 PM, Alexander Strasser via ffmpeg-devel wrote: On 2025-01-07 10:55 -0300, James Almer wrote: Should reduce memory usage as well as remove code duplication. Signed-off-by: James Almer ---   libavformat/isom.h   |  15 +-   libavform

[FFmpeg-devel] [PATCH v2] avutil/frame.h: improve documentation for AV_FRAME_FLAG_LOSSLESS

2025-01-10 Thread Leo Izen
It should be more clear what this flag is indicating with a more verbose comment documenting it. Signed-off-by: Leo Izen Reviewed-by: Marton Balint Reviewed-by: Alexander Strasser Reviewed-by: Marth64 --- libavutil/frame.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

Re: [FFmpeg-devel] [PATCH] avformat/mov: merge stts and ctts arrays into one

2025-01-10 Thread James Almer
On 1/7/2025 6:50 PM, Alexander Strasser via ffmpeg-devel wrote: On 2025-01-07 10:55 -0300, James Almer wrote: Should reduce memory usage as well as remove code duplication. Signed-off-by: James Almer --- libavformat/isom.h | 15 +- libavformat/mov.c| 579 -

Re: [FFmpeg-devel] [PATCH] avformat/mov: merge stts and ctts arrays into one

2025-01-10 Thread James Almer
On 1/7/2025 10:55 AM, James Almer wrote: Should reduce memory usage as well as remove code duplication. Signed-off-by: James Almer --- libavformat/isom.h | 15 +- libavformat/mov.c| 579 --- tests/ref/fate/quickdraw | 2 +- 3 files chang

Re: [FFmpeg-devel] Backporting makefile targets fate-list-failing and fate-clear-reports

2025-01-10 Thread Martin Storsjö
On Sat, 4 Jan 2025, Alexander Strasser via ffmpeg-devel wrote: Hi all! I'm thinking about backporting commit 1e76bd2f394a01c1 [1] to all releases listed on our download page. It is a new feature for the build system, but not used to build ffmpeg or otherwise related to the generated binaries.

Re: [FFmpeg-devel] [PATCH] avformat/rtpdec: int overflow in start_time_realtime

2025-01-10 Thread Martin Storsjö
On Wed, 8 Jan 2025, j...@jonb.org wrote: From: Jonathan Baudanza This was previously adjusted by me in 6b3f9c2e92b. Unfortunately, I traded one integer overflow bug for another. Currently, NTP timestamps that exceed INT64_MAX (~Jan 20, 1968) will cause an overflow when passed to av_rescale.

Re: [FFmpeg-devel] [PATCH v2 0/3] avcodec/hevc: Add alpha video decoding support

2025-01-10 Thread Zhao Zhili
Ping. > On Dec 15, 2024, at 14:38, Zhao Zhili wrote: > > From: Zhao Zhili > > v2: > 1. It works with x265 streams > 2. Remove the requirement on SEI. SEI alpha channel information is > required on the producer side but not for decoder. > > Zhao Zhili (3): > avcodec/hevc: Rewrite scalability_

[FFmpeg-devel] [PATCH v2] avcodec/hevc: Add support for output_corrupt/showall flags

2025-01-10 Thread Zhao Zhili
From: Zhao Zhili hevc decoder output corrupted frames when the reference frames are missing. The output_corrupt flag has no effect. ffplay shows artifacting after seek when playback TS stream. This patch mark those frames with AV_FRAME_FLAG_CORRUPT flag when output_corrupt flag is set, and drop

[FFmpeg-devel] [PATCH v2] avcodec/mediacodecenc: Support config qp range

2025-01-10 Thread Zhao Zhili
From: Zhao Zhili --- v2: Fix option valid range libavcodec/mediacodecenc.c | 64 +- libavcodec/version.h | 2 +- 2 files changed, 64 insertions(+), 2 deletions(-) diff --git a/libavcodec/mediacodecenc.c b/libavcodec/mediacodecenc.c index 464903d628..3

Re: [FFmpeg-devel] [PATCH] avcodec/cuviddec: Fix missing HW_CONFIG_METHOD_HW_FRAMES_CTX flag

2025-01-10 Thread Zhao Zhili
Ping. > On Dec 18, 2024, at 15:13, Zhao Zhili > wrote: > > From: Zhao Zhili > > --- > libavcodec/cuviddec.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavcodec/cuviddec.c b/libavcodec/cuviddec.c > index 3fae9c12eb..502bcc7fc2 100644 > --- a/libavcodec/cuviddec.c > +++ b/libavc