Re: [FFmpeg-devel] [PATCH 1/2] ffbuild: compose linker response files in a loop

2025-03-26 Thread Gyan Doshi
On 2025-03-25 05:11 pm, Ramiro Polla wrote: Hi, On Sat, Mar 22, 2025 at 5:33 AM Gyan Doshi wrote: On 2025-03-22 03:29 am, Martin Storsjö wrote: On Fri, 21 Mar 2025, Gyan Doshi wrote: ffbuild/library.mak | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ffbuild/libra

[FFmpeg-devel] [PATCH v2] configure: add option to select use of response files

2025-03-26 Thread Gyan Doshi
--- v2: *switched state and make var name to response_files *changed option to standard action-optname format configure | 25 + ffbuild/library.mak | 4 ++-- 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/configure b/configure index 2fdbe

Re: [FFmpeg-devel] [PATCH] avfilter: Proof of Concept: enable out-of-tree filters

2025-03-26 Thread Leandro Santiago
On 3/26/25 07:09, softworkz . wrote: > Hi Ronald, > >> -Original Message- >> From: ffmpeg-devel On Behalf Of Ronald >> S. Bultje >> Sent: Dienstag, 25. März 2025 19:05 >> To: FFmpeg development discussions and patches >> Subject: Re: [FFmpeg-devel] [PATCH] avfilter: Proof of Concept: ena

[FFmpeg-devel] [PATCH 3/4] checkasm: hevc_pel: Use helpers for checking for writes out of bounds

2025-03-26 Thread Martin Storsjö
This allows catching whether the functions write outside of the designated rectangle, and if run with "checkasm -v", it also prints out on which side of the rectangle the overwrite was. --- tests/checkasm/hevc_pel.c | 157 ++ 1 file changed, 90 insertions(+), 67

[FFmpeg-devel] [PATCH 4/4] checkasm: vp8dsp: Use checkasm_check_padded in check_mc

2025-03-26 Thread Martin Storsjö
--- This is mostly a small example for using the versions of the helpers that don't rely on a "bit_depth" local variable. --- tests/checkasm/vp8dsp.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/tests/checkasm/vp8dsp.c b/tests/checkasm/vp8dsp.c index e448fe89fc

[FFmpeg-devel] [PATCH v2] checkasm/v210enc.c: Use checkasm_check()

2025-03-26 Thread Martin Storsjö
From: Kieran Kunhya This gives more informative printouts if the tests fail, if checkasm is run with "-v". Signed-off-by: Martin Storsjö --- tests/checkasm/v210enc.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/checkasm/v210enc.c b/tests/checkasm/v210enc.c

[FFmpeg-devel] [PATCH 2/2] doc/ffmpeg: document videotoolbox in -hwaccel option

2025-03-26 Thread Jun Zhao
From: Jun Zhao Add videotoolbox to the list of supported hardware acceleration methods in the -hwaccel option documentation. This option allows users to utilize Apple's VideoToolbox framework for hardware-accelerated video decoding on macOS and iOS devices. The videotoolbox acceleration has been

[FFmpeg-devel] [PATCH 1/2] fftools/cmdutils: fix error message for "ffmpeg -init_hw_device list"

2025-03-26 Thread Jun Zhao
From: Jun Zhao When running 'ffmpeg -init_hw_device list' to display available hardware devices, it incorrectly shows an error message: "Failed to set value 'list' for option 'init_hw_device': Immediate exit requested" This is a regression introduced by commit a50f90f1c23. The command is actual

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

2025-03-26 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Stefano Sabatini > Sent: Mittwoch, 26. März 2025 23:53 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [RFC] FFmpeg Execution Graph Visualization > > On date Friday 2025-03-21 20:11:29 +, Soft

Re: [FFmpeg-devel] [PATCH 00/31] Major library soname bump

2025-03-26 Thread James Almer
On 3/26/2025 8:01 PM, Sean McGovern wrote: On Wed, Mar 26, 2025, 18:50 James Almer wrote: On 2/23/2025 7:06 PM, James Almer wrote: It's been a year since the last bump, so lets get rid of old deprecated API in time for ffmpeg 8.0 James Almer (30): avcodec: remove deprecated FF_API_SUBF

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec/mjpegenc: Simplify allocating huffman table

2025-03-26 Thread Andreas Rheinhardt
Michael Niedermayer: > On Wed, Mar 26, 2025 at 04:08:55AM +, Andreas Rheinhardt wrote: >> ffmpeg | branch: master | Andreas Rheinhardt >> | Mon Mar 3 02:36:55 2025 +0100| >> [24dbc4c2e82481f89d6fcacee1949e5038c5c2fc] | committer: Andreas Rheinhardt >> >> avcodec/mjpegenc: Simplify allocatin

Re: [FFmpeg-devel] [PATCH] avutil/libm: Only include intfloat.h when needed

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

Re: [FFmpeg-devel] [PATCH v8 2/4] fftools/ffprobe: Change to use textformat api

2025-03-26 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Samstag, 22. März 2025 18:30 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH v8 2/4] fftools/ffprobe: Change to > use textformat api > > Hi > > On Sat, Mar 22, 2

[FFmpeg-devel] [PATCH] avformat/rtpenc: Add flag AVFMT_NODIMENSIONS.

2025-03-26 Thread koushd
From: Koushik Dutta Not all rtp formats require the video dimensions to be available up front. H264 and HEVC will send them as stream parameters. The flag is restrictive and prevents RTP repacketization without parsing the codec information out of the stream. This change checks to see if the cod

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec/mjpegenc: Simplify allocating huffman table

2025-03-26 Thread Michael Niedermayer
On Wed, Mar 26, 2025 at 04:08:55AM +, Andreas Rheinhardt wrote: > ffmpeg | branch: master | Andreas Rheinhardt > | Mon Mar 3 02:36:55 2025 +0100| [24dbc4c2e82481f89d6fcacee1949e5038c5c2fc] > | committer: Andreas Rheinhardt > > avcodec/mjpegenc: Simplify allocating huffman table > > Reuse

Re: [FFmpeg-devel] [PATCH v2] videotoolbox: Fix building with older SDKs

2025-03-26 Thread Martin Storsjö
On Wed, 26 Mar 2025, Zhao Zhili wrote: On Mar 26, 2025, at 16:53, Martin Storsjö wrote: The kVTVideoDecoderReferenceMissingErr constant was only added in the macOS 12 and iOS 15 SDKs. Use a hardcoded value instead of the named constant, to fix building with older SDKs after c6214b0d691566c7

[FFmpeg-devel] [PATCH] libavformat/sdp: VPS is not a mandatory HEVC codec parameter.

2025-03-26 Thread koushd
From: Koushik Dutta Many IP cameras do not place VPS in the SDP, and only send it in the stream. The RTSP SDP only contains SPS/PPS. Signed-off-by: Koushik Dutta --- libavformat/sdp.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libavformat/sdp.c b/libavformat/sdp.c

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

2025-03-26 Thread Stefano Sabatini
On date Friday 2025-03-21 20:11:29 +, Soft Works wrote: [...] > > What it's not clear to me is how this builds up on top of text > > formatters, since they are meant to render a tree structure in a > > generic way. From this you can have a description of a graph, but then > > you need specializ

Re: [FFmpeg-devel] [PATCH 00/31] Major library soname bump

2025-03-26 Thread Sean McGovern
On Wed, Mar 26, 2025, 18:50 James Almer wrote: > On 2/23/2025 7:06 PM, James Almer wrote: > > It's been a year since the last bump, so lets get rid of old deprecated > API > > in time for ffmpeg 8.0 > > > > James Almer (30): > >avcodec: remove deprecated FF_API_SUBFRAMES > >avcodec: remov

Re: [FFmpeg-devel] [PATCH 00/31] Major library soname bump

2025-03-26 Thread James Almer
On 2/23/2025 7:06 PM, James Almer wrote: It's been a year since the last bump, so lets get rid of old deprecated API in time for ffmpeg 8.0 James Almer (30): avcodec: remove deprecated FF_API_SUBFRAMES avcodec: remove deprecated FF_API_TICKS_PER_FRAME avcodec: remove deprecated FF_API_D

[FFmpeg-devel] [PATCH 2/4] libavfilter: metal: Fix the version condition for iOS

2025-03-26 Thread Martin Storsjö
MTLDevice supportsFamily is available since iOS 13, not 11, see https://developer.apple.com/documentation/metal/mtldevice/supportsfamily(_:)?language=objc. --- libavfilter/metal/utils.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/metal/utils.m b/libavfilter/meta

Re: [FFmpeg-devel] [PATCH] avfilter: Proof of Concept: enable out-of-tree filters

2025-03-26 Thread Leandro Santiago
On 3/25/25 19:05, Ronald S. Bultje wrote: > Hi, > > On Mon, Mar 24, 2025 at 12:20 PM Leandro Santiago > wrote: > >> I really hope this can be the last iteration, as I ran out of ideas on how >> to simplify the process, so please let me know your thoughts :-) > > I'm not sure I understand the rati

[FFmpeg-devel] [PATCH 2/4] checkasm: Implement helpers for defining and checking padded rects

2025-03-26 Thread Martin Storsjö
This backports similar functionality from dav1d, from commits 35d1d011fda4a92bcaf42d30ed137583b27d7f6d and d130da9c315d5a1d3968d278bbee2238ad9051e7. This allows detecting writes out of bounds, on all 4 sides of the intended destination rectangle. The bounds checking also can optionally allow smal

[FFmpeg-devel] [PATCH v2 3/3] avformat/movenccenc: add support for CENC AV1 encryption

2025-03-26 Thread James Almer
Signed-off-by: James Almer --- configure| 2 +- libavformat/Makefile | 1 + libavformat/cbs.c| 10 ++ libavformat/cbs_av1.c| 6 ++ libavformat/movenc.c | 13 ++- libavformat/movenccenc.c | 223 ++- libavformat/movencc

Re: [FFmpeg-devel] [PATCH 1/5] avcodec/ffv1enc: Eliminate encode_mul()

2025-03-26 Thread Michael Niedermayer
On Tue, Mar 25, 2025 at 03:06:51PM +0100, Michael Niedermayer wrote: > Sponsored-by: Sovereign Tech Fund > Signed-off-by: Michael Niedermayer > --- > libavcodec/ffv1enc.c | 15 +-- > 1 file changed, 5 insertions(+), 10 deletions(-) will apply patchset [...] -- Michael GnuPG fin

[FFmpeg-devel] [PATCH v2] videotoolbox: Fix building with older SDKs

2025-03-26 Thread Martin Storsjö
The kVTVideoDecoderReferenceMissingErr constant was only added in the macOS 12 and iOS 15 SDKs. Use a hardcoded value instead of the named constant, to fix building with older SDKs after c6214b0d691566c7cb0f2ff5be08a24c3534e5bb. --- libavcodec/videotoolbox.c | 3 ++- 1 file changed, 2 insertions(+

[FFmpeg-devel] [PATCH 4/4] configure: Check for an actual function in VideoToolbox

2025-03-26 Thread Martin Storsjö
This makes sure to disable VideoToolbox if building with an SDK that does contain VideoToolbox, but targeting an older version of the OS where it is unavailable. Previously, we would enable VideoToolbox as long as the framework itself was found, which only require the framework to exist in the SDK.

[FFmpeg-devel] [PATCH 1/4] configure: Add a dependency for the audiotoolbox outdev

2025-03-26 Thread Martin Storsjö
The audiotoolbox outdev uses APIs that only are available on macOS, not on iOS or tvOS. Check for them in configure, and make sure the outdev is disabled otherwise. This allows building for iOS without explicitly having to disable the audiotoolbox outdev. --- configure | 6 +- 1 file changed,

[FFmpeg-devel] [PATCH 3/4] videotoolboxenc: Add an iOS version condition for VTCopySupportedPropertyDictionaryForEncoder

2025-03-26 Thread Martin Storsjö
This fixes building for iOS versions older than 11.0. --- libavcodec/videotoolboxenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index e7f2c7b8eb..b748ecda61 100644 --- a/libavcodec/videotoolboxenc.c +++ b/libavc

Re: [FFmpeg-devel] Access to the ARM server

2025-03-26 Thread Rémi Denis-Courmont
Hi, Le 25 mars 2025 10:55:35 GMT+02:00, Nicolas George a écrit : >Kieran Kunhya via ffmpeg-devel (HE12025-03-25): >> The server belongs to @Jean-Baptiste Kempf > >Are you saying that the tweet that says “giving ***us*** a 160-core ARM >server” (emphasis mine) is a lie? By that logic, any claim

Re: [FFmpeg-devel] [PATCH 1/2] fftools/cmdutils: fix error message for "ffmpeg -init_hw_device list"

2025-03-26 Thread Zhao Zhili
> On Mar 26, 2025, at 18:38, Jun Zhao wrote: > > From: Jun Zhao > > When running 'ffmpeg -init_hw_device list' to display available hardware > devices, it incorrectly shows an error message: > "Failed to set value 'list' for option 'init_hw_device': Immediate exit > requested" > > This is a

[FFmpeg-devel] [PATCH 1/4] checkasm: Make checkasm_fail_func return whether we should print verbosely

2025-03-26 Thread Martin Storsjö
This makes it easier to implement custom error printouts in tests. This is a port of dav1d's commit 13a7d78655f8747c2cd01e8a48d44dcc7f60a8e5 into ffmpeg's checkasm. --- tests/checkasm/checkasm.c | 9 + tests/checkasm/checkasm.h | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) dif

Re: [FFmpeg-devel] [PATCH v2] videotoolbox: Fix building with older SDKs

2025-03-26 Thread Zhao Zhili
> On Mar 26, 2025, at 16:53, Martin Storsjö wrote: > > The kVTVideoDecoderReferenceMissingErr constant was only added > in the macOS 12 and iOS 15 SDKs. Use a hardcoded value instead > of the named constant, to fix building with older SDKs > after c6214b0d691566c7cb0f2ff5be08a24c3534e5bb. LGTM

[FFmpeg-devel] [PATCH 01/11] avcodec/mpeg4videodec: Actually check, av_buffer_replace()

2025-03-26 Thread Andreas Rheinhardt
Patches attached, two of which fix regressions. I will apply these two tonight unless there are objections. - Andreas From a167afe702eec2bceb76dbc13ada7398a75a5f81 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Tue, 25 Mar 2025 02:20:51 +0100 Subject: [PATCH 01/11] avcodec/mpeg4videodec:

Re: [FFmpeg-devel] [PATCH] FFMPEG: add graph reconfig capability

2025-03-26 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > yangyalei050 via ffmpeg-devel > Sent: Dienstag, 25. März 2025 12:25 > To: ffmpeg-devel@ffmpeg.org > Cc: 269032...@qq.com > Subject: [FFmpeg-devel] [PATCH] FFMPEG: add graph reconfig capability > > From: yangyalei <269032...@qq.co

Re: [FFmpeg-devel] [PATCH 1/2] ffbuild: compose linker response files in a loop

2025-03-26 Thread Gyan Doshi
On 2025-03-26 11:37 pm, Andreas Rheinhardt wrote: Gyan Doshi: On 2025-03-25 05:11 pm, Ramiro Polla wrote: Hi, On Sat, Mar 22, 2025 at 5:33 AM Gyan Doshi wrote: On 2025-03-22 03:29 am, Martin Storsjö wrote: On Fri, 21 Mar 2025, Gyan Doshi wrote: ffbuild/library.mak | 7 +-- 1 file cha

Re: [FFmpeg-devel] [PATCH 30/30] libs: bump major version for all libraries

2025-03-26 Thread Wang Bin
James Almer 于2025年2月24日周一 06:21写道: > Signed-off-by: James Almer > --- > libavcodec/version.h | 4 ++-- > libavcodec/version_major.h| 2 +- > libavdevice/version.h | 2 +- > libavdevice/version_major.h | 2 +- > libavfilter/version.h | 2 +- > libavfilter/version_m