[FFmpeg-devel] [PATCH] configure: identify loong64 for loongarch.

2025-05-12 Thread Shiyou Yin
dpkg-architecture set DEB_HOST_ARCH_CPU as loong64 on loongarch. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 2e69b3c56c..5f39050374 100755 --- a/configure +++ b/configure @@ -5290,7 +5290,7 @@ case "$arch" in arm*|iPad*|iPhone*

[FFmpeg-devel] [PATCH 4/5] avformat/matroskadec: check that channels fit in signed 32bit int

2025-05-12 Thread Michael Niedermayer
Fixes: signed integer overflow: -1384566925600903168 * 16 cannot be represented in type 'long' Fixes: 407069502/clusterfuzz-testcase-minimized-ffmpeg_dem_WEBM_DASH_MANIFEST_fuzzer-5159255372267520 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpe

[FFmpeg-devel] [PATCH 5/5] swscale/output: fix integer overflow in yuv2rgba64_full_1_c_template()

2025-05-12 Thread Michael Niedermayer
Fixes: signed integer overflow: -293650 * 16525 cannot be represented in type 'int' Fixes: 408304111/clusterfuzz-testcase-minimized-ffmpeg_SWS_fuzzer-4762210299871232 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niede

[FFmpeg-devel] [PATCH 3/5] avcodec/takdec: Check remaining space for first predictors

2025-05-12 Thread Michael Niedermayer
Fixes: Timeout Fixes: 403673829/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TAK_fuzzer-5498240154009600 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/takdec.c | 3 +++ 1 file changed,

[FFmpeg-devel] [PATCH 2/5] avcodec/4xm: Check frame_4cc before allocation

2025-05-12 Thread Michael Niedermayer
Fixes: Timeout Fixes: 403402798/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FOURXM_fuzzer-5012819292782592 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/4xm.c | 7 +-- 1 file chang

[FFmpeg-devel] [PATCH 1/5] tools/target_dec_fuzzer: Adjust threshold for WEBP

2025-05-12 Thread Michael Niedermayer
Fixes: Timeout Fixes: 403345121/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WEBP_fuzzer-6408323910139904 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- tools/target_dec_fuzzer.c | 1 + 1 file chan

Re: [FFmpeg-devel] [PATCH] avformat/iamfdec: Check side_substream_id before use

2025-05-12 Thread Michael Niedermayer
On Wed, Apr 23, 2025 at 01:45:20AM +0200, Michael Niedermayer wrote: > Fixes: poc-iamf-2025-04 > > Found-by: 苏童 <220235...@seu.edu.cn> > Signed-off-by: Michael Niedermayer > --- > libavformat/iamfdec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/iamfdec.

Re: [FFmpeg-devel] [PATCH] avcodec/h264_mb: Fix buffer stride for arm

2025-05-12 Thread Michael Niedermayer
On Mon, Apr 21, 2025 at 08:37:55PM +0800, Bin Peng wrote: > > > On 2025/4/16 8:24, Michael Niedermayer wrote: > > On Tue, Apr 08, 2025 at 07:22:32PM +0800, Bin Peng wrote: > >> When decoding a bitstream with weighted-bipred enabled, > >> the results on ARM and x86 platforms may differ. > >> > >>

Re: [FFmpeg-devel] [PATCH] avcodec/vorbisdec: Dont treat overread as error

2025-05-12 Thread Michael Niedermayer
On Sun, Apr 06, 2025 at 05:35:02PM +0200, Michael Niedermayer wrote: > This differs from libvorbis by > stddev:2.44 PSNR: 88.58 MAXDIFF: 41 bytes: 834304/ 834304 > for the file from the ticket > > Fixes: Ticket11427 > > Regression since: dc89cf804a811c0d25f4649a99f7fab4b5b416fa > > Sig

Re: [FFmpeg-devel] [PATCH 3/3] tests/hevc: Fix concat input when running in MSYS2 shell

2025-05-12 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of Zhao Zhili > Sent: Montag, 12. Mai 2025 19:24 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH 3/3] tests/hevc: Fix concat input when > running in MSYS2 shell > > > > > On May 13, 2025, at 01:

Re: [FFmpeg-devel] [PATCH 3/3] tests/hevc: Fix concat input when running in MSYS2 shell

2025-05-12 Thread Zhao Zhili
> On May 13, 2025, at 01:04, softworkz . > wrote: > > > >> -Original Message- >> From: Zhao Zhili >> Sent: Montag, 12. Mai 2025 18:53 >> To: FFmpeg development discussions and patches >> Cc: softworkz >> Subject: Re: [FFmpeg-devel] [PATCH 3/3] tests/hevc: Fix concat input when >>

Re: [FFmpeg-devel] [PATCH 3/3] tests/hevc: Fix concat input when running in MSYS2 shell

2025-05-12 Thread softworkz .
> -Original Message- > From: Zhao Zhili > Sent: Montag, 12. Mai 2025 18:53 > To: FFmpeg development discussions and patches > Cc: softworkz > Subject: Re: [FFmpeg-devel] [PATCH 3/3] tests/hevc: Fix concat input when > running in MSYS2 shell > > > > > On May 12, 2025, at 17:59, softw

Re: [FFmpeg-devel] [PATCH 3/3] tests/hevc: Fix concat input when running in MSYS2 shell

2025-05-12 Thread Zhao Zhili
> On May 12, 2025, at 17:59, softworkz wrote: > > From: softworkz > > MSYS2 considers the colon (:) as path separator (=separating multiple > paths) and thinks it needs to convert it to a Windows > path separator (;). > > Setting the MSYS2_ARG_CONV_EXCL environment variable > keeps MSYS2 fro

Re: [FFmpeg-devel] Enhanced waves filter

2025-05-12 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of CLUSTERF*** > Sent: Montag, 12. Mai 2025 17:01 > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] Enhanced waves filter > > Hello, FFmpeg developers. > > I am making my first steps in developing FFmpeg filters. I don't know if

[FFmpeg-devel] Enhanced waves filter

2025-05-12 Thread CLUSTERF***
Hello, FFmpeg developers. I am making my first steps in developing FFmpeg filters. I don't know if this filter was invented by copilot based on my prompts or if it exists/used to exist in other versions/forks. There is one reference to a ffmpeg wavefilt.c on search engines. I am really sorry I

Re: [FFmpeg-devel] [Patch] Linker error for __ff_aom_uninit_film_grain_params

2025-05-12 Thread Zhao Zhili
> On May 12, 2025, at 19:41, Sebastian Koerner > wrote: > > Summary of the bug: > > When building ffmpeg 7.1.1 from source on macosx x86-64 and selecting only > h264 one can observe a linker error around __ff_aop_uninit_film_grain_params It was fixed already. Please waiting for 7.1.2. htt

Re: [FFmpeg-devel] [Patch] Linker error for __ff_aom_uninit_film_grain_params

2025-05-12 Thread dev
Hello, I've sent a different patch fixing this same issue at "[FFmpeg-devel] [PATCH] avcodec/h2645_sei: allow building h2645_sei without". Instead of adding an extra file to the build, it seems that a ifdef config was missing. There are other calls to ff_aom that are guarded by a similar ifdef

Re: [FFmpeg-devel] [Patch] Linker error for __ff_aom_uninit_film_grain_params

2025-05-12 Thread Sebastian Koerner
Correction: Sorry, the log is from arm64, but the text says x86. It happens to many non-linux platforms. Also note that Hunk #1 of the patch is obviously junk. Should be just the one dependency to aom_film_grain.o --- ffmpeg-7.1.1/libavcodec/Makefile.org2025-05-12 11:48:13.0 +02

[FFmpeg-devel] [Patch] Linker error for __ff_aom_uninit_film_grain_params

2025-05-12 Thread Sebastian Koerner
Summary of the bug: When building ffmpeg 7.1.1 from source on macosx x86-64 and selecting only h264 one can observe a linker error around __ff_aop_uninit_film_grain_params Undefined symbols for architecture arm64: "_ff_aom_uninit_film_grain_params", referenced from: _ff_h2645_sei_reset

Re: [FFmpeg-devel] [PATCH v2 FFmpeg 11/20] libavfilter/dnn_filter_common: dnn execute functions for CLIP and CLAP

2025-05-12 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel On Behalf Of > m.kaindl0...@gmail.com > Sent: Tuesday, March 11, 2025 3:54 AM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH v2 FFmpeg 11/20] > libavfilter/dnn_filter_common: dnn execute functions for CLIP and CLAP > > Signed-of

Re: [FFmpeg-devel] [PATCH v2 FFmpeg 11/20] libavfilter/dnn_filter_common: dnn execute functions for CLIP and CLAP

2025-05-12 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel On Behalf Of > m.kaindl0...@gmail.com > Sent: Tuesday, March 11, 2025 3:54 AM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH v2 FFmpeg 11/20] > libavfilter/dnn_filter_common: dnn execute functions for CLIP and CLAP > > Signed-of

Re: [FFmpeg-devel] [PATCH v2 FFmpeg 9/20] libavfilter/dnn_interface.h: new model loading function load_model_with_tokenizer

2025-05-12 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel On Behalf Of > m.kaindl0...@gmail.com > Sent: Tuesday, March 11, 2025 3:54 AM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH v2 FFmpeg 9/20] libavfilter/dnn_interface.h: > new model loading function load_model_with_tokenizer > >

[FFmpeg-devel] [PATCH 1/3] tests/fate: Fix subtitle fate tests on Windows

2025-05-12 Thread softworkz
From: softworkz ..when checked out with autocrlf=on, which is Git default on Windows. Signed-off-by: softworkz --- .gitattributes | 38 +- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index b64bbed2eb..eaf7f7f

Re: [FFmpeg-devel] [PATCH 42/42] tests/fate/hevc: add a test for switching between single and multi-view

2025-05-12 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of Zhao Zhili > Sent: Samstag, 30. November 2024 19:07 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH 42/42] tests/fate/hevc: add a test for > switching between single and multi-view > > > > 在 2

Re: [FFmpeg-devel] [PATCH v2 FFmpeg 4/20] configure: libtorch CUDA support

2025-05-12 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel On Behalf Of > m.kaindl0...@gmail.com > Sent: Tuesday, March 11, 2025 3:52 AM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH v2 FFmpeg 4/20] configure: libtorch CUDA > support > > Signed-off-by: MaximilianKaindl > --- > config

[FFmpeg-devel] [PATCH 3/3] tests/hevc: Fix concat input when running in MSYS2 shell

2025-05-12 Thread softworkz
From: softworkz MSYS2 considers the colon (:) as path separator (=separating multiple paths) and thinks it needs to convert it to a Windows path separator (;). Setting the MSYS2_ARG_CONV_EXCL environment variable keeps MSYS2 from doing this replacement. Signed-off-by: softworkz --- tests/fate

[FFmpeg-devel] [PATCH 2/3] tests/source-check: Fix make inclusion-guard check EOL-agnostic

2025-05-12 Thread softworkz
From: softworkz ..to make it work when checked out with autocrlf=on, which is Git default on Windows. Signed-off-by: softworkz --- tests/fate/source-check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fate/source-check.sh b/tests/fate/source-check.sh index 4d7e17

[FFmpeg-devel] [PATCH 0/3] tests/fate: Improvements for running FATE on Windows/MSYS2

2025-05-12 Thread ffmpegagent
When setting up the new Patchword builders I noticed some issues when running FATE tests on Windows. Initially I had them suppressed on the builders, but this patchset should finally fix it. softworkz (3): tests/fate: Fix subtitle fate tests on Windows tests/source-check: Fix make inclusion-gu

Re: [FFmpeg-devel] [PATCH v2 FFmpeg 1/20] configure: add tokenizers-cpp support

2025-05-12 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel On Behalf Of > m.kaindl0...@gmail.com > Sent: Tuesday, March 11, 2025 3:50 AM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH v2 FFmpeg 1/20] configure: add tokenizers- > cpp support > > Signed-off-by: MaximilianKaindl > --- >

Re: [FFmpeg-devel] [PATCH v3] lavf: vvc_probe: enforce SPS -> PPS -> IRAP detection order to fix invalid stream detection

2025-05-12 Thread Michael Niedermayer
On Mon, May 12, 2025 at 07:36:35AM +0800, xiongweixiao wrote: > The current vvc_probe function checks for SPS, PPS, and IRAP NAL units but > does not enforce their detection order. This can lead to false positives when > PPS or IRAP appear before SPS, causing malformed or non-compliant bitstreams