[FFmpeg-devel] lavfi: fix undefined ff_vk_shader_print if vulkan filters are disabled

2025-01-15 Thread Wang Bin
0001-lavfi-fix-undefined-ff_vk_shader_print-if-vulkan-fil.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-req

[FFmpeg-devel] [PATCH 1/3] avformat/dashdec: Check whitelist

2025-01-15 Thread Michael Niedermayer
Fixes: CVE-2023-6602, V. DASH Playlist SSRF Found-by: Harvey Phillips of Amazon Element55 (element55) Signed-off-by: Michael Niedermayer --- libavformat/dashdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 810728044

[FFmpeg-devel] [PATCH 2/3] avformat/mpegts: Add standard extension so hls can check in extension_picky mode

2025-01-15 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavformat/mpegts.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 765bedec5cc..1337aa12030 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -3459,6 +3459,7 @@ void avpriv_mpegts_parse_cl

[FFmpeg-devel] [PATCH 3/3] avformat/hls: Be more picky on extensions

2025-01-15 Thread Michael Niedermayer
This blocks disallowed extensions from probing It also requires segments to have matching extensions to the format It is recommended to set the whitelists correctly instead of depending on extensions, but this should help a bit, and this is easier to backport Fixes: CVE-2023-6602 II. HLS Force TT

Re: [FFmpeg-devel] [PATCH] avutil/vulkan_glslang: windows build improvements

2025-01-15 Thread Lynne
On 16/01/2025 09:38, Koushik Dutta wrote: For my use case I ended up creating a custom pkgconfig file. My platform and compiler is windows and msvc. I was unable to get the existing configure to work correctly with this environment and opted for pkgconfig as the hook for my environment. Is there

[FFmpeg-devel] [PATCH 2/2] avcodec/ac3dec: only export downmixinfo side data when necessary

2025-01-15 Thread James Almer
If downmixing was handled by the decoder itself, then this side data does not apply to the frame. Signed-off-by: James Almer --- libavcodec/ac3dec.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index eb5cfd9818..3b6c8b1f52

[FFmpeg-devel] [PATCH 1/2] avcodec/ac3dec: don't override existing downmix coefficient with default ones

2025-01-15 Thread James Almer
With this, if the eac3 dependent frame doesn't have coded downmix values when parsed by ff_eac3_parse_header(), it inherit the coded ones from the core ac3 frame instead of ignoring them. Signed-off-by: James Almer --- libavcodec/ac3dec.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(

[FFmpeg-devel] [PATCH 1/1] [doc/filters] add nvidia cuda and cuda npp sections

2025-01-15 Thread Danil Iashchenko
Add Nvidia Cuda and Cuda NPP sections for video filters. --- doc/filters.texi | 1545 +++--- 1 file changed, 778 insertions(+), 767 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index b926b865ae..efa5e84f29 100644 --- a/doc/filters.texi +++

Re: [FFmpeg-devel] [PATCH] avutil/vulkan_glslang: windows build improvements

2025-01-15 Thread Koushik Dutta
For my use case I ended up creating a custom pkgconfig file. My platform and compiler is windows and msvc. I was unable to get the existing configure to work correctly with this environment and opted for pkgconfig as the hook for my environment. Is there a better way? Koush On Tue, Jan 7, 2025 a

[FFmpeg-devel] [PATCH v2 1/2] avformat/flvdec: implement support for parsing ModEx data

2025-01-15 Thread Timo Rothenpieler
--- libavformat/flv.h| 5 libavformat/flvdec.c | 68 2 files changed, 73 insertions(+) diff --git a/libavformat/flv.h b/libavformat/flv.h index 74d3b8de8b..d8f7980f2e 100644 --- a/libavformat/flv.h +++ b/libavformat/flv.h @@ -130,6 +130,7 @@

Re: [FFmpeg-devel] [PATCH v2] avformat/http: Add max_request_size option

2025-01-15 Thread Nicolas Frattaroli
On 08.01.25 08:35, Marth64 wrote: As it’s effectively controlling the value of the Range header, this is also something one can do with curl’s -r switch or -headers on the http protocol handler now. So I think it’s reasonable to make it available as an option. I would not necessarily brand it as

[FFmpeg-devel] [PATCH] lavc/vaapi_encode_av1: Always use slot 0 with 1 l0 ref

2025-01-15 Thread David Rosca
Don't need to alternate when only one reference is used. Fixes fail after bf9f921ef7 ("avcodec/hw_base_encode: restrict size of next_prev") due to AV1 writer complaining about incorrect ref_order_hint value. --- libavcodec/vaapi_encode_av1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [FFmpeg-devel] [PATCH v2 1/2] avcodec/sanm: implement codec37 subcodec1

2025-01-15 Thread Manuel Lauss
Ping? Incidentally this also closes trac ticket #5753; while commit b22ce90d ("avcodec/sanm: SMUSH codec48 decoder") fixes #5746. Thanks! Manuel On Thu, Jan 9, 2025 at 9:03 AM Manuel Lauss wrote: > > RLE-compressed stream of motion vector indices and a special opcode > to fill a block wit

[FFmpeg-devel] [PATCH] doc/protocols: fix/improve RTP documentation

2025-01-15 Thread Stefan Pöschel via ffmpeg-devel
Signed-off-by: Stefan Pöschel --- doc/protocols.texi | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/doc/protocols.texi b/doc/protocols.texi index ed70af4b33..969f4bf022 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -1150,10 +1150,15 @@ ffplay "rt

[FFmpeg-devel] [PATCH v2 4/9] fftools/ffmpeg: propagate decoded_side_data from decoded streams to the filterchain

2025-01-15 Thread James Almer
Global side data as exported by a decoder may no longer apply if a filter in the chain altered the frames in some form, like changing color, dimensions, or channel layout information. After this change, any such changes in side data will be taken into account by the encoder futher in the process.

[FFmpeg-devel] [PATCH v2 3/9] avfilter/buffersink: add a side_data field

2025-01-15 Thread James Almer
This will be used to propagate global side data through the filterchain. Signed-off-by: James Almer --- libavfilter/buffersink.c | 8 libavfilter/buffersink.h | 4 2 files changed, 12 insertions(+) diff --git a/libavfilter/buffersink.c b/libavfilter/buffersink.c index 7cdda8bfb0..

[FFmpeg-devel] [PATCH v2] avcodec/vvc: Add support for output_corrupt/showall flags

2025-01-15 Thread Zhao Zhili
From: Zhao Zhili --- v2: Fix GDR stream. libavcodec/vvc/refs.c | 17 - libavcodec/vvc/refs.h | 1 + 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/libavcodec/vvc/refs.c b/libavcodec/vvc/refs.c index bc3b3d0d13..fb19a2d394 100644 --- a/libavcodec/vvc/refs.c +++ b

Re: [FFmpeg-devel] [PATCH] avcodec/vvc: Add support for output_corrupt/showall flags

2025-01-15 Thread Zhao Zhili
> On Jan 15, 2025, at 22:02, Zhao Zhili > wrote: > > > >> On Jan 15, 2025, at 21:19, Nuo Mi wrote: >> >> On Mon, Jan 13, 2025 at 4:46 PM Zhao Zhili < >> quinkblack-at-foxmail@ffmpeg.org> wrote: >> >>> From: Zhao Zhili >>> >>> Hi Zhili, >> Thank you for the patch. >> >> This will fa

Re: [FFmpeg-devel] [PATCH] avcodec/vvc: Add support for output_corrupt/showall flags

2025-01-15 Thread Zhao Zhili
> On Jan 15, 2025, at 21:19, Nuo Mi wrote: > > On Mon, Jan 13, 2025 at 4:46 PM Zhao Zhili < > quinkblack-at-foxmail@ffmpeg.org> wrote: > >> From: Zhao Zhili >> >> Hi Zhili, > Thank you for the patch. > > This will fail on GDR clips, such as: >GDR_B_NOKIA_2.bit >GDR_C_NOKIA_2.bit

Re: [FFmpeg-devel] [PATCH 1/2] avformat/flvdec: implement support for parsing ModEx data

2025-01-15 Thread Timo Rothenpieler
On 15/01/2025 08:48, Leo Izen wrote: On 1/14/25 7:36 PM, Timo Rothenpieler wrote: ---   libavformat/flv.h    |  5   libavformat/flvdec.c | 63   2 files changed, 68 insertions(+) diff --git a/libavformat/flv.h b/libavformat/flv.h index 74d3b8de8b

Re: [FFmpeg-devel] [PATCH] avcodec/vvc: Add support for output_corrupt/showall flags

2025-01-15 Thread Nuo Mi
On Mon, Jan 13, 2025 at 4:46 PM Zhao Zhili < quinkblack-at-foxmail@ffmpeg.org> wrote: > From: Zhao Zhili > > Hi Zhili, Thank you for the patch. This will fail on GDR clips, such as: GDR_B_NOKIA_2.bit GDR_C_NOKIA_2.bit By design, a GDR frame refers to missing frames and gradually ref

Re: [FFmpeg-devel] [PATCH 3/8] avfilter/buffersink: add a side_data field

2025-01-15 Thread Nicolas George
James Almer (12025-01-15): > You mean getting a const pointer to the side data in buffersink, so the > caller may clone it if needed? Exactly. Possibly along with an equivalent for av_frame_side_data_get() that finds the right one, or an unification of these functions. Regards, -- Nicolas Geo

Re: [FFmpeg-devel] [PATCH 3/8] avfilter/buffersink: add a side_data field

2025-01-15 Thread James Almer
On 1/15/2025 5:45 AM, Nicolas George wrote: James Almer (12025-01-10): This will be used to propagate global side data through the filterchain. Signed-off-by: James Almer --- libavfilter/buffersink.c | 21 + libavfilter/buffersink.h | 5 + 2 files changed, 26 inser

[FFmpeg-devel] [PATCH] avformat/mov: Store trak > udta metadata on each stream

2025-01-15 Thread Rémi Bernon
Some files keep extra metadata such as 'name' fields within udta, and it is useful for Wine to access them with the "export_all" option so they can then be exposed to Windows applications. Signed-off-by: Rémi Bernon --- libavformat/mov.c | 10 -- 1 file changed, 8 insertions(+), 2 deleti

Re: [FFmpeg-devel] [PATCH 3/8] avfilter/buffersink: add a side_data field

2025-01-15 Thread Nicolas George
James Almer (12025-01-10): > This will be used to propagate global side data through the filterchain. > > Signed-off-by: James Almer > --- > libavfilter/buffersink.c | 21 + > libavfilter/buffersink.h | 5 + > 2 files changed, 26 insertions(+) For packets and frames, ac