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

2025-03-25 Thread softworkz .
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: enable > out-of-tree filters > > Hi, > > On Mon,

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

2025-03-25 Thread Zhao Zhili
> On Mar 26, 2025, at 02: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

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

2025-03-25 Thread yangyalei via ffmpeg-devel
Sorry for garbled, reissued as follows. In the avfiltergraph of FFmpeg, it is required that all filters within the graph can obtain a format and successfully negotiate for data flow. So, is it allowed for the graph to contain filters that cannot obtain a format? Can these filters be ignored d

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

2025-03-25 Thread yangyalei via ffmpeg-devel
Sorry for garbled, reissued as follows. In the avfiltergraph of FFmpeg, it is required that all filters within the graph can obtain a format and successfully negotiate for data flow. So, is it allowed for the graph to contain filters that cannot obtain a format? Can these filters be ignored d

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

2025-03-25 Thread yangyalei via ffmpeg-devel
Sorry for garbled, reissued as follows. In the avfiltergraph of FFmpeg, it is required that all filters within the graph can obtain a format and successfully negotiate for data flow. So, is it allowed for the graph to contain filters that cannot obtain a format? Can these filters be ignored d

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

2025-03-25 Thread yangyalei via ffmpeg-devel
In the avfiltergraph of FFmpeg, it is required that all filters within the graph can obtain a format and successfully negotiate for data flow. So, is it allowed for the graph to contain filters that cannot obtain a format? Can these filters be ignored during format negotiation, allowing only th

Re: [FFmpeg-devel] [PATCH v1] avcodec/evc_decoder: Fix pixel format handling in export_stream_params function

2025-03-25 Thread Dawid Kozinski/Multimedia (PLT) /SRPOL/Staff Engineer/Samsung Electronics
> -Original Message- > From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: wtorek, 25 marca 2025 07:46 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v1] avcodec/evc_decoder: Fix pixel format > handling in export_stream_params function > > Dawid Kozinski:

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

2025-03-25 Thread Ronald S. Bultje
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 rationale or goal of this. It seems you're trying to create

Re: [FFmpeg-devel] [PATCH] avcodec/mlpdec: Add decoding of object audio data

2025-03-25 Thread James Almer
On 3/23/2025 4:01 PM, James Almer wrote: On 3/22/2025 2:49 PM, Massimo Eynard wrote: This patch adds support for decoding the fourth MLP substream which contains the 16-channel presentation used for Atmos audio objects. By default only the first three substreams are decoded unless the new ext

[FFmpeg-devel] [PATCH] avutil/hash: add 16-bit CRC type CCITT_AUG

2025-03-25 Thread Nuo Mi
It is also referred to as: SPI-FUJITSU AUG-CCITT CRC-CCITT (0x1D0F) This CRC type used by H.274 --- libavutil/hash.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libavutil/hash.c b/libavutil/hash.c index fbc24194de..3659c71c7f 100644 --- a/libavutil/hash

[FFmpeg-devel] [PATCH 5/5] avcodec/ffv1enc: Store run1start_mul_index instead of computing

2025-03-25 Thread Michael Niedermayer
Theres a special case I missed, its simpler to just store Signed-off-by: Michael Niedermayer --- libavcodec/ffv1enc.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c index d28cb8f5700..bc59f96746c 100644 --- a/libavcodec/ffv1

[FFmpeg-devel] [PATCH 4/5] avcodec/ffv1enc: Fix off by 1 in assert

2025-03-25 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/ffv1enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c index f8db3dc2c7d..d28cb8f5700 100644 --- a/libavcodec/ffv1enc.c +++ b/libavcodec/ffv1enc.c @@ -1355,7 +1355,7 @@ static int

[FFmpeg-devel] [PATCH 3/5] avcodec/ffv1enc: Fix end handling

2025-03-25 Thread Michael Niedermayer
This also produces smaller files Signed-off-by: Michael Niedermayer --- libavcodec/ffv1enc.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c index 162bf7b804f..f8db3dc2c7d 100644 --- a/libavcodec/ffv1enc.c +++ b/libavcodec/ffv1e

[FFmpeg-devel] [PATCH 2/5] avcodec/ffv1dec: Fix end handling

2025-03-25 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/ffv1dec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1dec.c index 25b55864107..3395f514f42 100644 --- a/libavcodec/ffv1dec.c +++ b/libavcodec/ffv1dec.c @@ -324,9 +324,9 @@ static in

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

2025-03-25 Thread Michael Niedermayer
Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavcodec/ffv1enc.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c index 6818de92494..162bf7b804f 100644 --- a/libavcodec/ffv1enc.c +++ b/lib

[FFmpeg-devel] [PATCH 2/2] avcodec/ffv1enc: compactify unit table

2025-03-25 Thread Michael Niedermayer
This way the remap encode loop needs fewer iterations and it allows some additional simplifications Signed-off-by: Michael Niedermayer --- libavcodec/ffv1enc.c | 31 ++- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/libavcodec/ffv1enc.c b/libavcodec/

[FFmpeg-devel] [PATCH 1/2] avcodec/ffv1enc: split updating bitmap out of remap write loop

2025-03-25 Thread Michael Niedermayer
Maybe easier to understand Signed-off-by: Michael Niedermayer --- libavcodec/ffv1enc.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c index bc59f96746c..0c879fe5ce5 100644 --- a/libavcodec/ffv1enc.c +++ b/libavco

Re: [FFmpeg-devel] [PATCH 01/11] tests/swscale: allow choosing specific flags and dither mode

2025-03-25 Thread Ramiro Polla
Hi Niklas, On Mon, Mar 24, 2025 at 12:45 PM Niklas Haas wrote: > > Any comments on this series? Otherwise I will just merge it, as it only > affects > a testing tool (and one that is not currently being used by FATE - though as a > side note, we should add it once all of the checks pass again)

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

2025-03-25 Thread Ramiro Polla
Hi, On Fri, Mar 21, 2025 at 11:42 AM Gyan Doshi wrote: > > --- > configure | 27 --- > ffbuild/library.mak | 4 ++-- > 2 files changed, 22 insertions(+), 9 deletions(-) > > diff --git a/configure b/configure > index 14f7bcde0e..863b9adf22 100755 > --- a/configu

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

2025-03-25 Thread Ramiro Polla
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/library.mak b/ffbuild/library.m

[FFmpeg-devel] Integration of CLIP/ CLAP Functionallity

2025-03-25 Thread m.kaindl0208
Hi, I have been working on this feature and have completed my project already a while ago. I believe this could be a valuable addition to the FFmpeg project and would like to ask whether the community is interested in it.

Re: [FFmpeg-devel] [PATCH] speexdec: fix framesize for ultra-wideband

2025-03-25 Thread Tristan Matthews via ffmpeg-devel
On Thursday, March 13th, 2025 at 2:54 PM, Tristan Matthews wrote: > This matches how the libspeex decoder is calculating frame size (except in > clamp form). > > Fixes #11495 > --- > libavcodec/speexdec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/speex

Re: [FFmpeg-devel] [PATCH] videotoolbox: Add SDK ifdefs for use of kVTVideoDecoderReferenceMissingErr

2025-03-25 Thread Martin Storsjö
On Tue, 25 Mar 2025, Zhao Zhili wrote: On Mar 25, 2025, at 18:46, Martin Storsjö wrote: On Tue, 25 Mar 2025, Zhao Zhili wrote: 在 2025年3月25日,下午6:01,Martin Storsjö 写道: This error constant was only added in the macOS 12 and iOS 15 SDKs. If building with an older SDK, assume that the erro

Re: [FFmpeg-devel] [PATCH] videotoolbox: Add SDK ifdefs for use of kVTVideoDecoderReferenceMissingErr

2025-03-25 Thread Zhao Zhili
> On Mar 25, 2025, at 18:46, Martin Storsjö wrote: > > On Tue, 25 Mar 2025, Zhao Zhili wrote: > >> >>> 在 2025年3月25日,下午6:01,Martin Storsjö 写道: >>> This error constant was only added in the macOS 12 and iOS 15 >>> SDKs. >>> If building with an older SDK, assume that the error doesn't >>> matc

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

2025-03-25 Thread Nicolas George
yangyalei050 via ffmpeg-devel (HE12025-03-25): > From: yangyalei <269032...@qq.com> > > 1. Support reuse the graph to play different audio. > 2. Support config part of the graph. Please explain what it means. I see a lot of new code, but I have no idea what triggers it. Regards, -- Nicolas G

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

2025-03-25 Thread yangyalei050 via ffmpeg-devel
From: yangyalei <269032...@qq.com> 1. Support reuse the graph to play different audio. 2. Support config part of the graph. Signed-off-by: yangyalei <269032...@qq.com> --- libavfilter/avfilter.c | 8 +- libavfilter/avfiltergraph.c | 201 2 files change

Re: [FFmpeg-devel] [PATCH] avcodec/ffv1enc: further reduce stack usage

2025-03-25 Thread Martin Storsjö
On Mon, 24 Mar 2025, James Almer wrote: On 3/24/2025 10:50 PM, Michael Niedermayer wrote: Hi On Mon, Mar 24, 2025 at 07:20:50PM -0300, James Almer wrote: Continues from commit 702239bc500b, fixing FATE failures on MacOS. Signed-off-by: James Almer --- Confirmed by Martin Storsjö. Float enco

Re: [FFmpeg-devel] [PATCH] videotoolbox: Add SDK ifdefs for use of kVTVideoDecoderReferenceMissingErr

2025-03-25 Thread Martin Storsjö
On Tue, 25 Mar 2025, Zhao Zhili wrote: 在 2025年3月25日,下午6:01,Martin Storsjö 写道: This error constant was only added in the macOS 12 and iOS 15 SDKs. If building with an older SDK, assume that the error doesn't match this constant. This fixes build errors with older SDKs after c6214b0d691566c

[FFmpeg-devel] [PATCH] videotoolbox: Add SDK ifdefs for use of kVTVideoDecoderReferenceMissingErr

2025-03-25 Thread Martin Storsjö
This error constant was only added in the macOS 12 and iOS 15 SDKs. If building with an older SDK, assume that the error doesn't match this constant. This fixes build errors with older SDKs after c6214b0d691566c7cb0f2ff5be08a24c3534e5bb. As this constant is declared unconditionally (without any

Re: [FFmpeg-devel] [PATCH] MAINTAINERS: Add myself

2025-03-25 Thread Michael Niedermayer
Hi softworkz On Mon, Mar 24, 2025 at 12:05:28AM +, softworkz wrote: > From: softworkz > > will move to specific areas once they are there. > > Signed-off-by: softworkz > --- > MAINTAINERS: Add myself > > will move to specific areas once they are there. > > Signed-off-

Re: [FFmpeg-devel] [PATCH] all: Replace assert by av_assert

2025-03-25 Thread Andreas Rheinhardt
Michael Niedermayer: > On Sun, Mar 23, 2025 at 06:01:01PM +0100, Andreas Rheinhardt wrote: >> Patch attached. >> >> - Andreas > >> libavcodec/aacpsy.c |7 --- >> libavcodec/encode.c |2 ++ >> libavcodec/h264_direct.c| 14 +++--- >> libavcodec/

Re: [FFmpeg-devel] [PATCH] videotoolbox: Add SDK ifdefs for use of kVTVideoDecoderReferenceMissingErr

2025-03-25 Thread Zhao Zhili
> 在 2025年3月25日,下午6:01,Martin Storsjö 写道: > > This error constant was only added in the macOS 12 and iOS 15 > SDKs. > > If building with an older SDK, assume that the error doesn't > match this constant. > > This fixes build errors with older SDKs after > c6214b0d691566c7cb0f2ff5be08a24c3534e5

Re: [FFmpeg-devel] [PATCH] all: Replace assert by av_assert

2025-03-25 Thread Michael Niedermayer
On Sun, Mar 23, 2025 at 06:01:01PM +0100, Andreas Rheinhardt wrote: > Patch attached. > > - Andreas > libavcodec/aacpsy.c |7 --- > libavcodec/encode.c |2 ++ > libavcodec/h264_direct.c| 14 +++--- > libavcodec/h264_refs.c | 20 +++

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

2025-03-25 Thread Kieran Kunhya via ffmpeg-devel
Come on, this is being deliberately facetious, FFmpeg has no legal entity that they could give it to. The server was given to @Jean-Baptiste Kempf for the purposes of FFmpeg development and I host it. Martin makes extensive use of it for development. @Cc This is unnecessarily aggressive and I wou

Re: [FFmpeg-devel] [PATCH] avcodec/ffv1enc: further reduce stack usage

2025-03-25 Thread Michael Niedermayer
Hi Martin On Tue, Mar 25, 2025 at 11:20:52AM +0200, Martin Storsjö wrote: > On Mon, 24 Mar 2025, James Almer wrote: > > > On 3/24/2025 10:50 PM, Michael Niedermayer wrote: > > > Hi > > > > > > On Mon, Mar 24, 2025 at 07:20:50PM -0300, James Almer wrote: > > > > Continues from commit 702239bc500b

Re: [FFmpeg-devel] [PATCH 03/11] avcodec/ffv1enc: remap mode 2 is for floats only

2025-03-25 Thread Michael Niedermayer
On Mon, Mar 24, 2025 at 06:39:37PM +0100, Michael Niedermayer wrote: > (you could use it for others but it makes no sense) > > Signed-off-by: Michael Niedermayer > --- > libavcodec/ffv1enc.c | 5 + > 1 file changed, 5 insertions(+) will apply the ffv1 patches with an additional fix to fix f

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

2025-03-25 Thread Nicolas George
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? -- Nicolas George ___ ffmpeg-devel mailing list ff

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

2025-03-25 Thread Kieran Kunhya via ffmpeg-devel
On Tue, 25 Mar 2025, 08:47 Zhao Zhili, wrote: > Hi, > > From Twitter > > Unlike the majority of hardware/cloud companies, Ampere have supported > the FFmpeg project by giving us a 160-core ARM server for development. > > Is the Ampere ARM server still available? Is it only for FATE or other > par

[FFmpeg-devel] Access to the ARM server

2025-03-25 Thread Zhao Zhili
Hi, >From Twitter > Unlike the majority of hardware/cloud companies, Ampere have supported the > FFmpeg project by giving us a 160-core ARM server for development. Is the Ampere ARM server still available? Is it only for FATE or other particular purpose? Can I request to have access to the Ampe

[FFmpeg-devel] [PATCH v1] avcodec/evc_decoder: Fix pixel format handling in export_stream_params function

2025-03-25 Thread Dawid Kozinski
Signed-off-by: Dawid Kozinski --- libavcodec/libxevd.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/libavcodec/libxevd.c b/libavcodec/libxevd.c index 520fdab7d8..483700c81e 100644 --- a/libavcodec/libxevd.c +++ b/libavcodec/libxevd.c @@ -152,16 +152,20 @@ stati

Re: [FFmpeg-devel] [PATCH v1] avcodec/evc_decoder: Fix pixel format handling in export_stream_params function

2025-03-25 Thread Andreas Rheinhardt
Dawid Kozinski: > Signed-off-by: Dawid Kozinski > --- > libavcodec/libxevd.c | 12 > 1 file changed, 8 insertions(+), 4 deletions(-) > > diff --git a/libavcodec/libxevd.c b/libavcodec/libxevd.c > index 520fdab7d8..483700c81e 100644 > --- a/libavcodec/libxevd.c > +++ b/libavcodec/lib

Re: [FFmpeg-devel] [PATCH v1] avcodec/evc_decoder: Fix pixel format handling in export_stream_params function

2025-03-25 Thread Dawid Kozinski/Multimedia (PLT) /SRPOL/Staff Engineer/Samsung Electronics
> -Original Message- > From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: wtorek, 25 marca 2025 07:46 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v1] avcodec/evc_decoder: Fix pixel format > handling in export_stream_params function > > Dawid Kozinski: