[FFmpeg-devel] [PATCH] avfilter/scale: remove duplicate block

2025-03-18 Thread Gyan Doshi
Added in bb80445813 --- libavfilter/vf_scale.c | 16 1 file changed, 16 deletions(-) diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index 8c03d7fd8d..293eb11a4e 100644 --- a/libavfilter/vf_scale.c +++ b/libavfilter/vf_scale.c @@ -247,22 +247,6 @@ static int check_ex

[FFmpeg-devel] [PATCH 1/3] avcodec/vvc/Makefile: Move VVC decoder->h2645data dep to, lavc/Makefile

2025-03-18 Thread Andreas Rheinhardt
Patches attached. - Andreas From 21a2f6356d81876e005c7aea2d4dcb83f1020891 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Tue, 18 Mar 2025 08:25:14 +0100 Subject: [PATCH 1/3] avcodec/vvc/Makefile: Move VVC decoder->h2645data dep to lavc/Makefile If h2645data.c were changed in a way that

[FFmpeg-devel] [PATCH] avcodec/ffv1: WIP Single precission float support

2025-03-18 Thread Michael Niedermayer
No, this does not work yet, just posting for anyone curious Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavcodec/ffv1.h | 5 +- libavcodec/ffv1_parse.c | 10 ++ libavcodec/ffv1dec.c | 36 -- libavcodec/ffv1dec_template.c | 30 +++

Re: [FFmpeg-devel] [PATCH] avcodec/proresenc_kostya: Don't cast const away needlessly

2025-03-18 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Patch attached. > > - Andreas > Will apply this patch tomorrow unless there are objections. - Andreas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit l

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/h261enc: Don't use (size_t)-1

2025-03-18 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Patches attached. > > - Andreas > Will apply this patchset tomorrow unless there are objections. - Andreas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, vi

[FFmpeg-devel] [PATCH v2] configure: improve ar test for response files

2025-03-18 Thread Gyan Doshi
--- configure | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/configure b/configure index d84e32196d..14f7bcde0e 100755 --- a/configure +++ b/configure @@ -5230,12 +5230,6 @@ else ar_o='$@' fi -if $ar 2>&1 | grep -qi "@.*file"; then -ar_objs="true" -e

[FFmpeg-devel] [PATCH, v2] avcodec/d3d12va_decode: enable reference-only mode

2025-03-18 Thread Araz Iusubov
The Reference-Only feature in DirectX 12 is a memory optimization technique designed for video decoding scenarios. This feature requires that reference resources must be allocated with the D3D12_RESOURCE_FLAG_VIDEO_DECODE_REFERENCE_ONLY resource flag. Reference textures must also be separated from

[FFmpeg-devel] [PATCH 6/6] avcodec/hevc: Check AV_PKT_FLAG_NEW_SEQUENCE and flush pictures out

2025-03-18 Thread Zhao Zhili
From: Zhao Zhili --- libavcodec/hevc/hevcdec.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/hevc/hevcdec.c b/libavcodec/hevc/hevcdec.c index 20ef821819..fd4a6e8a6f 100644 --- a/libavcodec/hevc/hevcdec.c +++ b/libavcodec/hevc/hevcdec.c @@ -3886,6 +3886,9 @@ static int hevc_re

Re: [FFmpeg-devel] [PATCH v2] configure: improve ar test for response files

2025-03-18 Thread Timo Rothenpieler
On 18.03.2025 19:11, Marvin Scholz wrote: On 18 Mar 2025, at 16:49, Gyan Doshi wrote: --- configure | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/configure b/configure index d84e32196d..14f7bcde0e 100755 --- a/configure +++ b/configure @@ -5230,12 +5230,

Re: [FFmpeg-devel] [PATCH v2] configure: improve ar test for response files

2025-03-18 Thread Marvin Scholz
On 18 Mar 2025, at 16:49, Gyan Doshi wrote: > --- > configure | 13 +++-- > 1 file changed, 7 insertions(+), 6 deletions(-) > > diff --git a/configure b/configure > index d84e32196d..14f7bcde0e 100755 > --- a/configure > +++ b/configure > @@ -5230,12 +5230,6 @@ else > ar_o='$@' >

[FFmpeg-devel] [PATCH 5/6] avformat/mov: Notify new sequence at the start of editlist

2025-03-18 Thread Zhao Zhili
From: Zhao Zhili --- libavformat/avformat.h | 2 ++ libavformat/mov.c | 19 +-- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 498c557a3c..f83151a73f 100644 --- a/libavformat/avformat.h +++ b/libavformat

Re: [FFmpeg-devel] [PATCH] avcodec/Makefile: Skip ffv1_vulkan.h in checkheaders

2025-03-18 Thread Lynne
On 18/03/2025 16:25, Andreas Rheinhardt wrote: Patch attached. - Andreas LGTM Thanks OpenPGP_0xA2FEA5F03F034464.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signature ___ ffmpeg-devel mailing list ffmpeg-

[FFmpeg-devel] [PATCH] swscale/tests/swscale: Fix potential buffer overflow

2025-03-18 Thread Andreas Rheinhardt
Patch attached - Andreas From 54884a442665feebd7056d98726aac20fd54c19c Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Tue, 18 Mar 2025 16:16:33 +0100 Subject: [PATCH] swscale/tests/swscale: Fix potential buffer overflow The field width in a %s directive gives the amount of characters to

[FFmpeg-devel] [PATCH] avcodec/webvttdec: update documentation

2025-03-18 Thread Leon Grutters
The previous link lead to a 404 page as that page doesn't exist anymore. Signed-off-by: Leon Grutters --- libavcodec/webvttdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/webvttdec.c b/libavcodec/webvttdec.c index 35bdbe805d..733fdee685 100644 --- a/libavcode

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/vvc/Makefile: Move VVC decoder->h2645data dep to, lavc/Makefile

2025-03-18 Thread Nuo Mi
+1 for VVC patches. Thank you, Andreas On Tue, Mar 18, 2025 at 4:00 PM Andreas Rheinhardt < andreas.rheinha...@outlook.com> wrote: > Patches attached. > > - Andreas > ___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman

Re: [FFmpeg-devel] [PATCH] configure: improve ar test for response files

2025-03-18 Thread Martin Storsjö
On Tue, 18 Mar 2025, Gyan Doshi wrote: --- configure | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/configure b/configure index d84e32196d..2c060b0cd4 100755 --- a/configure +++ b/configure @@ -5230,12 +5230,6 @@ else ar_o='$@' fi -if $ar 2>&1 | grep -qi "

[FFmpeg-devel] [PATCH 2/6] avformat/mov: generalize sgpd_sync index lookup

2025-03-18 Thread Zhao Zhili
From: Zhao Zhili The function has a nal_unit_type parameter but unused before. --- libavformat/mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 57d9364ea2..bf526db67a 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -4

Re: [FFmpeg-devel] [PATCH RFC 0/6] MP4 editlist and HEVC decoder

2025-03-18 Thread Zhao Zhili
> On Mar 18, 2025, at 20:58, Zhao Zhili > wrote: > > From: Zhao Zhili > > Fix #11510 > > #11510 revealed multiple issues related to mp4 demuxer, hevc decoder > and videotoolbox. > > 1. mp4 demuxer output packets have rewind due to editlist, > > POCPOC > 916 ---> 944 >

[FFmpeg-devel] [PATCH 3/6] avcodec/hevc: Don't drop packet with duplicate POC

2025-03-18 Thread Zhao Zhili
From: Zhao Zhili This can happen when stream repeat from CRA, e.g., generated by mp4 with editlist. Hardware decoder like videotoolbox reports error after packet been dropped. --- libavcodec/hevc/refs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/hevc/refs.

[FFmpeg-devel] [PATCH 1/6] avcodec/vt: Don't restart decoder when confronted with ReferenceMissingErr

2025-03-18 Thread Zhao Zhili
From: Zhao Zhili Otherwise the decoder may enter an loop of repeated state resets. This can happen for streams with CRA but no IDR. --- libavcodec/videotoolbox.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libavcodec/videotoolbox.c b/libavcodec/videotoolbox.c i

[FFmpeg-devel] [PATCH RFC 0/6] MP4 editlist and HEVC decoder

2025-03-18 Thread Zhao Zhili
From: Zhao Zhili Fix #11510 #11510 revealed multiple issues related to mp4 demuxer, hevc decoder and videotoolbox. 1. mp4 demuxer output packets have rewind due to editlist, POC POC 916 ---> 944 then rewind back to 916 ---> 944 942 2. Both POC 916 and POC 944 ar

Re: [FFmpeg-devel] [PATCH] ffbuild: use response files only if ar accepts them

2025-03-18 Thread Gyan Doshi
On 2025-03-18 03:27 pm, Martin Storsjö wrote: On Mon, 17 Mar 2025, Gyan Doshi wrote: On 2025-03-17 09:44 pm, Zhao Zhili wrote: On Mar 17, 2025, at 23:16, Gyan Doshi wrote: This is to not break linking with toolchains that don't support reading args from a 'response file'. --- I've as

Re: [FFmpeg-devel] [RFC] FFmpeg Execution Graph Visualization

2025-03-18 Thread Diederick C. Niehorster
On Tue, Mar 18, 2025 at 3:32 AM Soft Works wrote: > > Examples > > I've created a Gist with some examples of the output here: > > https://gist.github.com/softworkz/a196b2d0e9e2df49f766abd92f508551 > > (also includes a zip with html file examples) Just speaking as a would be user of this feature: