[FFmpeg-devel] [PATCH] avfilter/vf_frei0r: fix time not being passed in seconds

2025-07-05 Thread Stefan Breunig via ffmpeg-devel
--- Begin Message --- The frei0r API expects the time in seconds, but was given it in milliseconds. The bug might exist since 41f1d3a (~14 years ago), but plugins depending on the time are unwatchable without this patch. For example: ffmpeg -filter_complex "testsrc2=d=5,frei0r=distort0r" out.mp4

Re: [FFmpeg-devel] [PATCH 11/18] avformat/udp: make recv addr of each packet available

2025-07-05 Thread Jack Lau
> On Jul 3, 2025, at 00:56, Timo Rothenpieler wrote: > > --- > libavformat/network.h | 2 ++ > libavformat/udp.c | 25 + > 2 files changed, 19 insertions(+), 8 deletions(-) > > diff --git a/libavformat/network.h b/libavformat/network.h > index ca214087fc..48bb75a758

Re: [FFmpeg-devel] [PATCH 08/18] avformat/tls: move openssl specific init out of generic code

2025-07-05 Thread Jack Lau
> On Jul 4, 2025, at 00:41, Timo Rothenpieler wrote: > > On 03.07.2025 17:22, Jack Lau wrote: >>> On Jul 3, 2025, at 22:24, Timo Rothenpieler wrote: >>> >>> On 03.07.2025 03:07, Jack Lau wrote: > On Jul 3, 2025, at 00:56, Timo Rothenpieler wrote: > > --- > libavformat/tls.c

[FFmpeg-devel] [PATCH 4/4] tests/fate/audio: Sanyo LD-ADPCM test case

2025-07-05 Thread Peter Ross
--- tests/fate/audio.mak | 12 + tests/ref/fate/sanyo-3bit | 36 + tests/ref/fate/sanyo-4bit | 46 +++ tests/ref/fate/sanyo-5bit | 57 +++ 4 files changed, 151 insertions(+) create mode 100644 tes

[FFmpeg-devel] [PATCH 3/4] tests/fate/video: LEAD MCMP test case

2025-07-05 Thread Peter Ross
--- tests/fate/video.mak | 15 +++ tests/ref/fate/lead-yuv420p | 6 ++ tests/ref/fate/lead-yuv420p-half | 6 ++ tests/ref/fate/lead-yuv420p-zero | 6 ++ tests/ref/fate/lead-yuv444p | 6 ++ 5 files changed, 39 insertions(+) create mode 100644 t

[FFmpeg-devel] [PATCH 2/4] tests/fate/demux: IFF ANIM test case

2025-07-05 Thread Peter Ross
--- tests/fate/demux.mak | 3 +++ tests/ref/fate/iff-demux | 32 2 files changed, 35 insertions(+) create mode 100644 tests/ref/fate/iff-demux diff --git a/tests/fate/demux.mak b/tests/fate/demux.mak index 715e64bfac..a2cb45aa7e 100644 --- a/tests/fate/demux

[FFmpeg-devel] [PATCH 1/4] tests/fate/audio: G.728 test case

2025-07-05 Thread Peter Ross
--- tests/fate/audio.mak | 6 ++ 1 file changed, 6 insertions(+) diff --git a/tests/fate/audio.mak b/tests/fate/audio.mak index 1a2d07304b..c21578947a 100644 --- a/tests/fate/audio.mak +++ b/tests/fate/audio.mak @@ -42,6 +42,12 @@ fate-dsf-dst: CMD = pcm -i $(TARGET_SAMPLES)/dst/dst-64fs44-2

Re: [FFmpeg-devel] [PATCH 2/4] avcodec/vvc/dec: Don't use GetBit-API when byte-aligned

2025-07-05 Thread Nuo Mi
LGTM for this. Thank you, Andreas. On Fri, Jul 4, 2025 at 9:45 PM Andreas Rheinhardt < [email protected]> wrote: > From: Andreas Rheinhardt > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/vvc/dec.c | 29 - > 1 file changed, 16 insertions(+

[FFmpeg-devel] [PATCH] avcodec/adpcm: squelch uninitialized variable warnings

2025-07-05 Thread Peter Ross
Fixes CID1655273 and CID1655274. --- libavcodec/adpcm.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index 92ab248f3d..527384b86d 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -877,6 +877,9 @@ static int adpcm_sanyo_expand3(ADPCMCh

[FFmpeg-devel] [PATCH] avfilter: add inverse tone mapping

2025-07-05 Thread Sarthak Indurkhya via ffmpeg-devel
--- Begin Message --- Hello FFmpeg developers, This patch introduces a new video filter called inversetonemap for FFmpeg. The filter performs SDR to HDR conversion by mapping SDR BT.709 video to HDR BT.2020 PQ, using local adaptation and inverse tone mapping. The goal is to provide a simple, flex

Re: [FFmpeg-devel] [RFC] Introducing policies regarding "AI" contributions

2025-07-05 Thread Kacper Michajlow
On Sat, 5 Jul 2025 at 13:21, Rémi Denis-Courmont wrote: > > Le tiistaina 1. heinäkuuta 2025, 13.58.23 Itä-Euroopan kesäaika Alexander > Strasser via ffmpeg-devel a écrit : > > (...) I want this thread to start a discussion, that eventually leads > > to a policy about submitting and integrating "AI

Re: [FFmpeg-devel] [PATCH v3 00/21] fate: fix several dependencies

2025-07-05 Thread Michael Niedermayer
On Mon, Jun 30, 2025 at 06:08:53PM +0200, Nicolas Gaullier wrote: > Since v2: > - rebased to current master > - removed "libavcodec/tests: fix gitignore hashtable" which > was applied recently > - added two new patches at the end of the serie > > Nicolas Gaullier (21): > tests/Makefile: make eas

Re: [FFmpeg-devel] [PATCH v7] libavcodec/riscv: add RVV optimized idct_32x32_8 for HEVC

2025-07-05 Thread Rémi Denis-Courmont
Hi, I'm aware that this patch is being held an inappropriate amount of time waiting for review, but as I said before, I have NO experience dealing with such a large transform, and I am kinda busy. Note that I don't really see the point in specialising the code by VLEN. Properly designed hardwa

Re: [FFmpeg-devel] [PATCH v4 1/3] avfilter/asrc_sinc: fix leak in config_input()

2025-07-05 Thread Michael Niedermayer
On Mon, Jun 30, 2025 at 11:01:12PM +0800, Lidong Yan wrote: > In config_input(), fir_to_phase() allocates memory in h[longer], which > would leak if av_calloc() to s->coeffs failed. lpf() allocates memory > in h[0] and h[1], which would leak if fir_to_phase() failed. To fix > this leak, add av_free

Re: [FFmpeg-devel] [PATCH] fftools/cmdutils: don't try to load arguments from file if not needed

2025-07-05 Thread Michael Niedermayer
On Mon, Jun 30, 2025 at 08:36:09PM +0200, Kacper Michajłow wrote: > CLI option parser checks if argument exists when needed, but in this > case only OPT_TYPE_BOOL where checked, so OPT_TYPE_FUNC without argument > where trying to load a file from `arg` which is NULL in this case. > > Fixes crash o

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/opus: don't materialize buf pointer from null

2025-07-05 Thread Michael Niedermayer
On Thu, Jul 03, 2025 at 11:08:23PM +0200, Kacper Michajłow wrote: > Fixes: avcodec/opus/dec.c: runtime error: applying non-zero offset 10 to null > pointer > > Signed-off-by: Kacper Michajłow > --- > libavcodec/opus/dec.c | 3 +++ > 1 file changed, 3 insertions(+) will apply thx [...] -- Mi

Re: [FFmpeg-devel] [RFC] Introducing policies regarding "AI" contributions

2025-07-05 Thread Rémi Denis-Courmont
Le tiistaina 1. heinäkuuta 2025, 13.58.23 Itä-Euroopan kesäaika Alexander Strasser via ffmpeg-devel a écrit : > (...) I want this thread to start a discussion, that eventually leads > to a policy about submitting and integrating "AI" generated content. Well, you can define a policy and/or make a

Re: [FFmpeg-devel] [PATCH] avformat/mov.c: Fix to allow custom udta tags through when export_all option specified.

2025-07-05 Thread Michael Niedermayer
On Mon, Jun 30, 2025 at 03:33:43PM +1200, Ken McGaugh wrote: > Sorry about that. I just attached the patch directly. Please let me know if > this still doesn't work. [...] > mov.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > 8e1da8ae0d841c975de846882a43fe695f3ec4a2 > 0001-Update