[FFmpeg-devel] [PATCH 6/6] tools/target_dem_fuzzer: remove unused fuzz_tag

2025-04-05 Thread Kacper Michajłow
Signed-off-by: Kacper Michajłow --- tools/target_dem_fuzzer.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/target_dem_fuzzer.c b/tools/target_dem_fuzzer.c index 19bc1f09c1..e169438ceb 100644 --- a/tools/target_dem_fuzzer.c +++ b/tools/target_dem_fuzzer.c @@ -98,10 +98,7 @@ static i

[FFmpeg-devel] [PATCH 5/6] tools/target_dem_fuzzer: make fuzz data pointer constant

2025-04-05 Thread Kacper Michajłow
Mostly to avoid warnings. Signed-off-by: Kacper Michajłow --- tools/target_dem_fuzzer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/target_dem_fuzzer.c b/tools/target_dem_fuzzer.c index 8e96fad7f8..19bc1f09c1 100644 --- a/tools/target_dem_fuzzer.c +++ b/tools/target

[FFmpeg-devel] [PATCH 4/6] tools/target_dec_fuzzer: suppress Wunused-function

2025-04-05 Thread Kacper Michajłow
Signed-off-by: Kacper Michajłow --- tools/target_dec_fuzzer.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c index a15f1a3f9c..7bbf1375d0 100644 --- a/tools/target_dec_fuzzer.c +++ b/tools/target_dec_fuzzer.c @@ -72,6 +72,8 @@ static v

[FFmpeg-devel] [PATCH 3/6] tools/target_dec_fuzzer: suppress Wdeclaration-after-statement

2025-04-05 Thread Kacper Michajłow
To avoid spam in log, each fuzzer is built separately so it's amplified a lot. Signed-off-by: Kacper Michajłow --- tools/target_dec_fuzzer.c | 41 +++ 1 file changed, 24 insertions(+), 17 deletions(-) diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_

[FFmpeg-devel] [PATCH 2/6] tools/target_dec_fuzzer: fix tiff/tdsc check

2025-04-05 Thread Kacper Michajłow
Comparing `FFMPEG_DECODER == tiff` never worked because tiff is not defined. Original commit expected string compare, but C preprocesor doesn't work this way. Fixes: 3371d0611fcd31e0bc72553d88774512a58bd2ef Signed-off-by: Kacper Michajłow --- tools/target_dec_fuzzer.c | 2 +- 1 file changed, 1 i

[FFmpeg-devel] [PATCH 1/6] tools/Makefile: add identifier macros for specific fuzzing targets

2025-04-05 Thread Kacper Michajłow
This will allow to add conditional code per target codec. Signed-off-by: Kacper Michajłow --- tools/Makefile | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/Makefile b/tools/Makefile index 7ae6e3cb75..3f99b337e5 100644 --- a/tools/Makefile +++ b/tools/Makefile @

[FFmpeg-devel] [PATCH 0/6] Minor fixes and for fuzzing targets

2025-04-05 Thread Kacper Michajłow
Minor fixes and for fuzzing targets. Mostly motivated to reduce spam in the build log. While at it, tiff/tdsc check was fixed, which was real bug. Kacper Michajłow (6): tools/Makefile: add identifier macros for specific fuzzing targets tools/target_dec_fuzzer: fix tiff/tdsc check tools/targe

Re: [FFmpeg-devel] Hardware purchase request: Ryzen 9 CPU

2025-04-05 Thread Niklas Haas
On Fri, 04 Apr 2025 23:54:55 +0200 Niklas Haas wrote: > On Fri, 04 Apr 2025 19:20:55 +0200 Niklas Haas wrote: > > Hi all, > > > > My current workstation (first generation Zen) is getting rather old (8 > > years). > > On top of being slow and power hungry, it is also not very representative > >

Re: [FFmpeg-devel] [PATCH v2] avcodec/nvenc: Unify CBR filler data insertion for all codecs

2025-04-05 Thread Timo Rothenpieler
On 01/04/2025 00:40, Cameron Gutman wrote: Previously, AV1 used filler data with CBR by default while H.264 and HEVC may or may not depending on driver version. Make this consistent by using not filler data in CBR mode for all codecs. Since there are valid reasons to use CBR with or without fill

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

2025-04-05 Thread Gyan Doshi
On 2025-03-18 03:34 pm, Gyan Doshi wrote: 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 read

[FFmpeg-devel] [PATCH] fftools/ffprobe: Fix hypothetical stack buffer overflow

2025-04-05 Thread Andreas Rheinhardt
Patch attached. - Andreas From 5cdf81c1ccd02ed02ed3d99f75e115f2984268b2 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Mon, 31 Mar 2025 10:01:07 +0200 Subject: [PATCH] fftools/ffprobe: Fix hypothetical stack buffer overflow It can't really happen, because no currently used pixel format

Re: [FFmpeg-devel] [PATCH] RISC-V:update ff_get_cpu_flags_riscv for RVV

2025-04-05 Thread daichengrong
在 2025/3/20 19:17:21, Rémi Denis-Courmont : Hi, Le 20 mars 2025 11:27:39 GMT+02:00, daichengrong a écrit : Availability of RVV and ZVBB should be determined with dl_hwcap. No. That's completely superfluous since we already check for kernel support with hwprobe(). No. If the operating syst

[FFmpeg-devel] [PATCH 1/2] avutil/intmath: use AV_HAS_BUILTIN to detect builtin availability

2025-04-05 Thread Kacper Michajłow
Fixes use of bultins on clang x86_64-pc-windows-msvc which does not define any __GNUC__. Also on other targets __GNUC__ is defined to 4 by default, so any feature testing based on version is not really valid. Signed-off-by: Kacper Michajłow --- libavutil/intmath.h | 12 +--- libavuti

[FFmpeg-devel] [PATCH] libavformat/matroskadec: Add support for chapter segment UUID and edition UID

2025-04-05 Thread Alexander Westberg-Bladh
This adds support for parsing ChapterSegmentUID and ChapterSegmentEditionUID elements in Matroska chapters. These elements are used in ordered chapters to reference external files see #3123. Signed-off-by: Alexander Westberg-Bladh --- libavformat/matroska.h| 3 +++ libavformat/matroskadec.c

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

2025-04-05 Thread Gyan Doshi
--- 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 "@.*file"; then -ar_objs="true" -e

[FFmpeg-devel] [PATCH v2] avformat/fifo: Check for keyframe video type before stop dropping

2025-04-05 Thread Arthur Grillo
The current behavior when using restart_with_keyframe is that it will recover if it also encounters any audio packet, as they are flagged as a keyframe. The expectation is that packets are dropped until the next _video_ keyframe. To fix that, check if exists a video stream, if it exists check the

[FFmpeg-devel] [PATCH 2/2] avutil/aes_ctr: simplify incrementing the counter

2025-04-05 Thread James Almer
Signed-off-by: James Almer --- libavutil/aes_ctr.c | 14 -- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/libavutil/aes_ctr.c b/libavutil/aes_ctr.c index d720aa6aaf..63dcb20d3a 100644 --- a/libavutil/aes_ctr.c +++ b/libavutil/aes_ctr.c @@ -32,7 +32,7 @@ #define AES_B

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

2025-04-05 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Stefano Sabatini > Sent: Freitag, 21. März 2025 19:27 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [RFC] FFmpeg Execution Graph Visualization > > On date Tuesday 2025-03-18 02:32:13 +, Soft

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

2025-04-05 Thread myp...@gmail.com
On Wed, Mar 26, 2025 at 7:33 PM Zhao Zhili wrote: > > > > > 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 o

[FFmpeg-devel] [PATCH 5/6] avutil/tests/aes_ctr: reindent after the previous commit

2025-04-05 Thread James Almer
Signed-off-by: James Almer --- libavutil/tests/aes_ctr.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/libavutil/tests/aes_ctr.c b/libavutil/tests/aes_ctr.c index 94b0201c7b..6f21b8bda1 100644 --- a/libavutil/tests/aes_ctr.c +++ b/libavut

[FFmpeg-devel] [PATCH] libavcodec/amfenc: Setting the VBAQ property before the init call.

2025-04-05 Thread Dmitrii Ovchinnikov
--- libavcodec/amfenc_h264.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/libavcodec/amfenc_h264.c b/libavcodec/amfenc_h264.c index 8f3276de27..2098c59263 100644 --- a/libavcodec/amfenc_h264.c +++ b/libavcodec/amfenc_h264.c @@ -501,6 +501,16 @@ FF_ENABLE

Re: [FFmpeg-devel] [PATCH] fftools/ffprobe: Remove endianness dependency of pix fmt when, bitexact

2025-04-05 Thread Zhao Zhili
On Mar 21, 2025, at 19:23, Andreas Rheinhardt wrote: > > Patch attached. Sometimes the bitstream has builtin endian, not native endian, in which case it shouldn’t be ignored. > > - Andreas > > <0001-fftools-ffprobe-Remove-endianness-dependency-of-pix-.patch>_

[FFmpeg-devel] [PATCH] avcodec/ffv1: Only allocate fltmap* and bitmap when needed

2025-04-05 Thread Michael Niedermayer
This reduces memory requirements Signed-off-by: Michael Niedermayer --- libavcodec/ffv1.c | 4 libavcodec/ffv1.h | 9 - libavcodec/ffv1dec.c | 18 +- libavcodec/ffv1enc.c | 23 +-- libavcodec/ffv1enc_tem

Re: [FFmpeg-devel] [PATCH] avformat/fifo: Check for keyframe video type before stop dropping

2025-04-05 Thread Arthur Grillo
On 29/03/25 7:57 PM, Michael Niedermayer wrote: > Hi Arthur > > On Wed, Mar 12, 2025 at 03:45:42PM -0300, Arthur Grillo wrote: >> The current behavior when using restart_with_keyframe is that it will >> recover if it also encounters any audio packet, as they are flagged as a >> keyframe. >> >>

[FFmpeg-devel] [PATCH 2/4] avcodec/ffv1enc: Remove 65536 pixel per slice limit for remap

2025-04-05 Thread Michael Niedermayer
About 1% better compression with large slices Signed-off-by: Michael Niedermayer --- libavcodec/ffv1.h| 4 ++-- libavcodec/ffv1enc.c | 6 -- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/libavcodec/ffv1.h b/libavcodec/ffv1.h index 664a48d1f0d..9472f9c9585 100644 --- a/li

[FFmpeg-devel] [PATCH] avdevice/sdl2: Suppress macro redefinition warning

2025-04-05 Thread Andreas Rheinhardt
Patch attached. - Andreas From 32dd03b2baa745a6c9b6e8cd80b3847b75e3a152 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Tue, 18 Mar 2025 10:40:00 +0100 Subject: [PATCH] avdevice/sdl2: Suppress macro redefinition warning SDL2's headers #define HAVE_PTHREAD_SETNAME_NP (to one here); we als

[FFmpeg-devel] [PATCH v8 1/4] fftools/textformat: Extract and generalize textformat api from ffprobe.c

2025-04-05 Thread softworkz
From: softworkz Signed-off-by: softworkz --- fftools/textformat/avtextformat.c | 672 + fftools/textformat/avtextformat.h | 171 fftools/textformat/avtextwriters.h | 68 +++ fftools/textformat/tf_compact.c| 282 fftools/textformat/tf_defa

[FFmpeg-devel] [PATCH] tests/checkasm/checkasm.c: Assert that aligned_w/h do not overflow

2025-04-05 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- tests/checkasm/checkasm.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/checkasm/checkasm.c b/tests/checkasm/checkasm.c index a5b862fe52e..1cfc4feb488 100644 --- a/tests/checkasm/checkasm.c +++ b/tests/checkasm/checkasm.c @

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

2025-04-05 Thread Michael Niedermayer
Hi Martin On Mon, Mar 31, 2025 at 04:05:27PM +0300, Martin Storsjö wrote: > On Sat, 29 Mar 2025, Michael Niedermayer wrote: > > > On Wed, Mar 26, 2025 at 12:30:13PM +0200, Martin Storsjö wrote: > > > This backports similar functionality from dav1d, from commits > > > 35d1d011fda4a92bcaf42d30ed137

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

2025-04-05 Thread Marton Balint
On Sun, 23 Mar 2025, James Almer wrote: On 3/23/2025 4:33 PM, Massimo Eynard wrote: On 23/03/2025 20:01, 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

[FFmpeg-devel] [PATCH v8 4/4] fftools/ffprobe: Rename AVTextFormatContext variables (w => tfc)

2025-04-05 Thread softworkz
From: softworkz Signed-off-by: softworkz --- fftools/ffprobe.c | 512 +++--- 1 file changed, 256 insertions(+), 256 deletions(-) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index 4a90bc4824..9f869b41b3 100644 --- a/fftools/ffprobe.c +++ b/fftools/

Re: [FFmpeg-devel] [PATCH v9 0/4] print_graphs: Complete Filtergraph Printing

2025-04-05 Thread Andreas Rheinhardt
softworkz .: > > >> -Original Message- >> From: ffmpegagent >> Sent: Sonntag, 23. März 2025 04:42 >> To: ffmpeg-devel@ffmpeg.org >> Cc: softworkz >> Subject: [PATCH v9 0/4] print_graphs: Complete Filtergraph Printing >> >> Due to the additional work on graph visualization (see >> https:

Re: [FFmpeg-devel] [PATCH] avcodec/ffv1: Store slices*planes with the minimum bits needed after remap

2025-04-05 Thread Michael Niedermayer
On Thu, Apr 03, 2025 at 02:07:36AM +0200, Michael Niedermayer wrote: > Hi Jerome > > On Wed, Apr 02, 2025 at 11:31:53PM +0200, Jerome Martinez wrote: > > Le 02/04/2025 à 23:13, Michael Niedermayer a écrit : > > > [...] > > > > > > This improves compression as wrap around can be cheaper to reach a

Re: [FFmpeg-devel] [PATCH v7 8/8] tests: Add chained ogg/opus stream dump test.

2025-04-05 Thread Michael Niedermayer
On Sun, Mar 16, 2025 at 08:03:58PM -0500, Romain Beauxis wrote: > Le dim. 16 mars 2025 à 19:18, Michael Niedermayer > a écrit : > > > > On Mon, Mar 17, 2025 at 01:11:51AM +0100, Michael Niedermayer wrote: > > > On Tue, Feb 25, 2025 at 04:01:21PM -0600, Romain Beauxis wrote: > > > > --- > > > > te

Re: [FFmpeg-devel] [PATCH] tests: Fix enhanced-flv-hevc-hdr10 on big endian systems

2025-04-05 Thread Zhao Zhili
Ping. Fate on powerpc is still broken. > On Mar 21, 2025, at 12:11, Zhao Zhili wrote: > >> >> On Mar 21, 2025, at 05:50, James Almer wrote: >> >> On 3/20/2025 10:17 AM, Zhao Zhili wrote: >>> From: Zhao Zhili >>> hevc decoder output native endian yuv420p10. yuv420p10 is alias of >>> yuv420p10

[FFmpeg-devel] [PATCH] tests/checkasm/videodsp: Don't use declare_func_emms

2025-04-05 Thread Andreas Rheinhardt
Patch attached. - Andreas From 69cc1770876b15331a448138f77866990ad4b0d0 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Wed, 19 Mar 2025 11:42:10 +0100 Subject: [PATCH] tests/checkasm/videodsp: Don't use declare_func_emms It allows the callee to clobber the MMX state, yet since 1e3dc705d

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

2025-04-05 Thread Rémi Denis-Courmont
Hi, I answered, but the position of the CC is such that there is nothing we can do about NG in general. Suspension will not achieve anything (and in this particular case, seems a bit heavy-handed), and permanent ban is not something that the CC can do under the current CoC. Br, Le 25 mars 20

[FFmpeg-devel] [PATCH v5] Mark C globals with small code model

2025-04-05 Thread Pranav Kant via ffmpeg-devel
By default, all globals in C/C++ compiled by clang are allocated in non-large data sections. See [1] for background on code models. For PIC (Position independent code), this is fine as long as binary is small but as binary size increases, users maybe want to use medium/large code models (-mcmodel=m

[FFmpeg-devel] [PATCH v2] avcodec/nvenc: Unify CBR filler data insertion for all codecs

2025-04-05 Thread Cameron Gutman
Previously, AV1 used filler data with CBR by default while H.264 and HEVC may or may not depending on driver version. Make this consistent by using not filler data in CBR mode for all codecs. Since there are valid reasons to use CBR with or without filler, also add a cbr_padding option to allow us

Re: [FFmpeg-devel] [PATCH] swscale/x86/rgb2rgb: optimize AVX2 version of uyvytoyuv422

2025-04-05 Thread Kieran Kunhya via ffmpeg-devel
On Mon, 3 Mar 2025, 16:38 Shreesh Adiga, <16567adigashre...@gmail.com> wrote: > On Thu, Feb 20, 2025 at 6:51 PM Shreesh Adiga > <16567adigashre...@gmail.com> wrote: > > > > Currently the AVX2 version of uyvytoyuv422 in the SIMD loop does the > following: > > 4 vinsertq to have interleaving of the

Re: [FFmpeg-devel] 24 FPS to 23.975 Conversion with Audio

2025-04-05 Thread Steve Rance
Sorry, yes, that was a typo on my part, but still even with 24*1000/1001 that would give a non-integer/fractional sample rate which ffmpeg will round. I will locate the correct group. Thank you. Steve -Original Message- From: ffmpeg-devel On Behalf Of Zhao Zhili Sent: Wednesday, March 1

Re: [FFmpeg-devel] [PATCH] tests/checkasm/checkasm.c: Assert that aligned_w/h do not overflow

2025-04-05 Thread Martin Storsjö
On Wed, 2 Apr 2025, Michael Niedermayer wrote: Signed-off-by: Michael Niedermayer --- tests/checkasm/checkasm.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/checkasm/checkasm.c b/tests/checkasm/checkasm.c index a5b862fe52e..1cfc4feb488 100644 --- a/tests/check

Re: [FFmpeg-devel] [PATCH] doc/encoders: Move FFV1 encoder to video encoder section

2025-04-05 Thread Gyan Doshi
On 2025-03-31 12:09 pm, Andreas Rheinhardt wrote: Patch attached. LGTM. Regards, Gyan ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-r

[FFmpeg-devel] [PATCH v10 5/8] libavformat/oggparseflac.c: Parse ogg/flac comments in new ogg packets, add them to ogg stream new_metadata.

2025-04-05 Thread Romain Beauxis
--- libavformat/oggparseflac.c | 21 + 1 file changed, 21 insertions(+) diff --git a/libavformat/oggparseflac.c b/libavformat/oggparseflac.c index f25ed9cc15..29f5904575 100644 --- a/libavformat/oggparseflac.c +++ b/libavformat/oggparseflac.c @@ -78,6 +78,25 @@ flac_header (AV

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

2025-04-05 Thread Hendrik Leppkes
On Sun, Mar 23, 2025 at 9:35 PM James Almer wrote: > > On 3/23/2025 4:33 PM, Massimo Eynard wrote: > > On 23/03/2025 20:01, 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 pr

Re: [FFmpeg-devel] [PATCH] avformat: Fix AV1 RTP wrong log condition

2025-04-05 Thread Marvin Scholz
On 1 Apr 2025, at 11:26, Chris Hodges wrote: > Fixed warning about OBU count being wrong, which can only be > determined when the number of OBUs in the header is non-zero, > not the other way round. > > Signed-off-by: Chris Hodges > --- > libavformat/rtpdec_av1.c | 2 +- > 1 file changed, 1 inse

[FFmpeg-devel] [PATCH] avcodec/ffv1enc: run1start variables should fit in 32bit

2025-04-05 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/ffv1enc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c index a09ab300389..cd1f6165f75 100644 --- a/libavcodec/ffv1enc.c +++ b/libavcodec/ffv1enc.c @@ -1266,8 +1266,8 @@ static

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

2025-04-05 Thread Lynne
On 22/03/2025 18:49, 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 extract_objects flag is enabled as the resulting

Re: [FFmpeg-devel] [PATCH] rtpdec_mpeg4: Add fmtp parsing of bitrate value

2025-04-05 Thread Marvin Scholz
On 26 Sep 2022, at 21:24, Marvin Scholz wrote: > According to RFC 6416 the audio stream sender can pass the data rate > for the audio bitstream as "bitrate=" media format parameter. > > Signed-off-by: Marvin Scholz > --- Somehow the correct author line got lost when I sent that patch... It s

[FFmpeg-devel] [PATCH v10 0/8] Properly decode ogg metadata in ogg/{vorbis, flac, opus} chained bitstreams

2025-04-05 Thread Romain Beauxis
This is a series of patches to allow proper decoding of ogg metadata in chained `ogg/vorbis, `ogg/flac` and `ogg/opus` streams. FATE samples for the new tests can be found here: https://www.dropbox.com/scl/fo/xrtrna2rxr1j354hrtymq/AGwemlxHYecBLNmQ8Fsy--4?rlkey=lzilr4m9w4gfdqygoe172vvy8&dl=0 ## C

[FFmpeg-devel] [PATCH v2] avcodec/webvttdec: strip classes

2025-04-05 Thread Leon Grutters
If a supported tag has a class, e.g "" it is ignored entirely; so for example "Hello" would be converted to "Hello{\i0}" instead of the intended "{\i1}Hello{\i0}". Signed-off-by: Leon Grutters --- libavcodec/webvttdec.c | 39 --- 1 file changed, 28 insertions(

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/opencl: Add wrapper to load exactly one program

2025-04-05 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

Re: [FFmpeg-devel] [PATCH] configure: Allow mixing declarations and statements

2025-04-05 Thread Zhao Zhili
> This C90 rule forces us to use a too big scope and should > therefore be dropped. Given that we already require C11, > all supported compilers can handle mixed declarations > and statements just fine. I like the new style. But other people may have reasons more than C standard and compiler supp

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

2025-04-05 Thread Leandro Santiago
In this iteration I've made the following changes, based on the received feedback: - No external tools are needed by the build system. - The external filters should be put in ext/libavfilter. Anything there will be included. - The build system will execute a file called `configure.sh` in the d

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

2025-04-05 Thread James Almer
On 3/23/2025 4:33 PM, Massimo Eynard wrote: On 23/03/2025 20:01, 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

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

2025-04-05 Thread Dawid Kozinski
Signed-off-by: Dawid Kozinski --- libavcodec/libxevd.c | 12 1 file changed, 12 insertions(+) diff --git a/libavcodec/libxevd.c b/libavcodec/libxevd.c index 520fdab7d8..8a1719f264 100644 --- a/libavcodec/libxevd.c +++ b/libavcodec/libxevd.c @@ -154,15 +154,27 @@ static int export_st

Re: [FFmpeg-devel] [PATCH v2 1/6] tests: Add enhanced-flv-hevc-hdr10 for demux and mux HDR color info

2025-04-05 Thread James Almer
On 3/19/2025 1:36 PM, Zhao Zhili wrote: On Mar 19, 2025, at 23:38, Sean McGovern wrote: Hi Zhao, On Mon, Mar 10, 2025 at 10:35 PM Zhao Zhili wrote: From: Zhao Zhili --- tests/fate/flvenc.mak | 4 + tests/ref/fate/enhanced-flv-hevc-hdr10 | 100 +

[FFmpeg-devel] [PATCH] avcodec/webvttdec: strip classes

2025-04-05 Thread Leon Grutters
If a supported tag has a class, e.g "" it is ignored entirely; so for example "Hello" would be converted to "Hello{\i0}" instead of the intended "{\i1}Hello{\i0}". Signed-off-by: Leon Grutters --- libavcodec/webvttdec.c | 51 +- 1 file changed, 40 insertio

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

2025-04-05 Thread Martin Storsjö
On Wed, 26 Mar 2025, Martin Storsjö wrote: 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 o

[FFmpeg-devel] [PATCH 1/2] avcodec/avs3_parser: pixel format should be native endian

2025-04-05 Thread Zhao Zhili
From: Zhao Zhili --- libavcodec/avs3_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/avs3_parser.c b/libavcodec/avs3_parser.c index ea495b1c7c..71278c7e2d 100644 --- a/libavcodec/avs3_parser.c +++ b/libavcodec/avs3_parser.c @@ -97,7 +97,7 @@ static void pa

[FFmpeg-devel] [PATCH] tools/target_swr_fuzzer: fix memory leak on av_samples_fill_arrays() error

2025-04-05 Thread Kacper Michajłow
--- tools/target_swr_fuzzer.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/target_swr_fuzzer.c b/tools/target_swr_fuzzer.c index f154a11632..59fa24af64 100644 --- a/tools/target_swr_fuzzer.c +++ b/tools/target_swr_fuzzer.c @@ -79,7 +79,7 @@ int LLVMFuzzerTestOneIn

Re: [FFmpeg-devel] [PATCH v2 0/6] WebRTC sub-second live streaming support

2025-04-05 Thread Dennis Mungai
On Mon, 27 Nov 2023 at 12:48, Nicolas George wrote: > Michael Riedl (12023-11-27): > > Regardless, this will only test the implementation against itself. If > that makes > > sense and sounds reasonable, I will add the server support to this patch > series. > > Thanks. It will not be enough in a p

[FFmpeg-devel] [PATCH RESEND] avcodec/vaapi_encode: skip AVBR if HRD parameters are set

2025-04-05 Thread Cameron Gutman
AVBR does not use VAEncMiscParameterTypeHRD, so attempting to set rc_buffer_size and bit_rate together will cause the rc_buffer_size to be ignored if the VAAPI driver supports AVBR. We should prefer regular VBR for that case. Signed-off-by: Cameron Gutman --- libavcodec/vaapi_encode.c | 5 -

Re: [FFmpeg-devel] [PATCH 01/23] avcodec/x86/vvc/dsp_init: Make put wrappers static

2025-04-05 Thread Michael Niedermayer
On Sat, Apr 05, 2025 at 09:38:10AM +0200, Michael Niedermayer wrote: > On Thu, Apr 03, 2025 at 10:31:26PM +0200, Andreas Rheinhardt wrote: > > Patches attached. > > > > - Andreas > > [...] > > > libavcodec/mjpegenc_huffman.c| 33 ++ > > libavcodec/tests/mjp

Re: [FFmpeg-devel] [PATCH v2] avcodec/libwebpdec: Add libwebp WebP decoder.

2025-04-05 Thread Michael Niedermayer
Hi Peter On Fri, Apr 04, 2025 at 08:21:21PM -0700, Peter Xia wrote: > Hi Michael, > > The current webp decoder does not support animated, only webp stills. It has > been a pretty long standing feature request (#4907). > > Although it adds dependency of the libwebp decoder library, libwebp itse

[FFmpeg-devel] [PATCH v2] libavutil/riscv:update hwprobe for RVV and ZVBB with dl_hwcap

2025-04-05 Thread daichengrong
From: daichengrong Availability of RVV and ZVBB should be determined with dl_hwcap. As those extensions rely on vector registers, kernel vector support is required to save the state of context switching. FFmpeg requires hwprobe for hardware capability detection, and cooperates with dl_hwcap t

Re: [FFmpeg-devel] [PATCH] libavformat/matroskadec: Add support for chapter segment UUID and edition UID

2025-04-05 Thread Alexander bladh
Sorry, must have messed something up when running the tests locally. I will also check the warning. New contributor here, I have been looking at this issue for years now so I thought I would try to contribute. https://trac.ffmpeg.org/ticket/3123 My plan is * Read the extra data needed to support

Re: [FFmpeg-devel] [PATCH v2] avcodec/libwebpdec: Add libwebp WebP decoder.

2025-04-05 Thread Steven Liu
Peter Xia 于2025年4月5日周六 11:21写道: > > Hi Michael, > > The current webp decoder does not support animated, only webp stills. It has > been a pretty long standing feature request (#4907). > > Although it adds dependency of the libwebp decoder library, libwebp itself is > already a dependency of the

Re: [FFmpeg-devel] [PATCH 01/23] avcodec/x86/vvc/dsp_init: Make put wrappers static

2025-04-05 Thread Michael Niedermayer
On Thu, Apr 03, 2025 at 10:31:26PM +0200, Andreas Rheinhardt wrote: > Patches attached. > > - Andreas [...] > libavcodec/mjpegenc_huffman.c| 33 ++ > libavcodec/tests/mjpegenc_huffman.c |6 ++- > tests/ref/fate/jpg-icc