[FFmpeg-devel] [PATCH 7/8] vulkan_shaderc: add more stages, target Vulkan 1.3 and only output debug if needed

2024-10-02 Thread Lynne via ffmpeg-devel
--- libavfilter/vulkan_shaderc.c | 24 +++- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/libavfilter/vulkan_shaderc.c b/libavfilter/vulkan_shaderc.c index 56a2c0eef5..7144f04f21 100644 --- a/libavfilter/vulkan_shaderc.c +++ b/libavfilter/vulkan_shaderc.c @@ -4

[FFmpeg-devel] [PATCH 8/8] vulkan: don't enable GL_EXT_buffer_reference by default

2024-10-02 Thread Lynne via ffmpeg-devel
Only nlmeans_vulkan uses it. --- libavfilter/vf_nlmeans_vulkan.c | 6 -- libavutil/vulkan.c | 2 -- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libavfilter/vf_nlmeans_vulkan.c b/libavfilter/vf_nlmeans_vulkan.c index 9ad12eb7b6..39460dc194 100644 --- a/libavfilte

[FFmpeg-devel] [PATCH 6/8] vulkan_glslang: add more stages, target Vulkan 1.3 and output debug info

2024-10-02 Thread Lynne via ffmpeg-devel
--- libavfilter/vulkan_glslang.c | 39 +--- 1 file changed, 32 insertions(+), 7 deletions(-) diff --git a/libavfilter/vulkan_glslang.c b/libavfilter/vulkan_glslang.c index 7ac7d6b2c4..20a00354e0 100644 --- a/libavfilter/vulkan_glslang.c +++ b/libavfilter/vulkan_gls

[FFmpeg-devel] [PATCH 5/8] lavfi/*vulkan: forward FFVulkanContext to SPIR-V compilers

2024-10-02 Thread Lynne via ffmpeg-devel
We need to know what extensions are supported. --- libavfilter/vf_avgblur_vulkan.c | 2 +- libavfilter/vf_blend_vulkan.c | 2 +- libavfilter/vf_bwdif_vulkan.c | 2 +- libavfilter/vf_chromaber_vulkan.c | 2 +- libavfilter/vf_flip_vulkan.c | 2 +- libavfilter/vf_gblur_vulkan.c

[FFmpeg-devel] [PATCH 4/8] hwcontext_vulkan: move device feature struct setup to a new function

2024-10-02 Thread Lynne via ffmpeg-devel
--- libavutil/hwcontext_vulkan.c | 335 --- libavutil/vulkan_functions.h | 1 + 2 files changed, 156 insertions(+), 180 deletions(-) diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c index 518c3d642b..9b6a6274e4 100644 --- a/libavutil/hwcon

[FFmpeg-devel] [PATCH 3/8] hwcontext_vulkan: enable VK_KHR_shader_relaxed_extended_instruction

2024-10-02 Thread Lynne via ffmpeg-devel
--- libavutil/hwcontext_vulkan.c | 39 libavutil/vulkan_functions.h | 1 + libavutil/vulkan_loader.h| 1 + 3 files changed, 41 insertions(+) diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c index d6500de677..518c3d642b 100644 ---

[FFmpeg-devel] [PATCH 2/8] vulkan_functions: change extension type to a typedef uint64_t

2024-10-02 Thread Lynne via ffmpeg-devel
We were getting a bit too close for comfort to the 32-bit limit on enums. --- libavutil/vulkan_functions.h | 59 +++- 1 file changed, 32 insertions(+), 27 deletions(-) diff --git a/libavutil/vulkan_functions.h b/libavutil/vulkan_functions.h index 90e4d0004d..c565d6

[FFmpeg-devel] [PATCH 1/8] vulkan: always enable GL_EXT_scalar_block_layout

2024-10-02 Thread Lynne via ffmpeg-devel
This makes std430 (which we use everywhere already) fully match C layout. Extension was made mandatory in 1.2. --- libavutil/hwcontext_vulkan.c | 1 + libavutil/vulkan.c | 1 + 2 files changed, 2 insertions(+) diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c inde

Re: [FFmpeg-devel] Procedure to enable the Windows on ARM64 FFMPEG Libraries

2024-10-02 Thread Niranjan Kshatriya (QUIC)
Thanks team for the info. I have used x86_64 toolchain and compiled FFMPEG for windows on ARM, binaries generated are running successfully on my ARM device. Used tool chain "llvm-mingw-20240917-ucrt-ubuntu-20.04-x86_64" and compiled with command : ./configure --arch=arm64 --target-os=mingw32

Re: [FFmpeg-devel] [PATCH 1/2] configure: suggest installing nasm/yasm before using --disable-x86asm

2024-10-02 Thread Lynne via ffmpeg-devel
On 01/10/2024 15:24, vipyne wrote: --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index c8fb49a7a4..d178ef59dc 100755 --- a/configure +++ b/configure @@ -6460,7 +6460,7 @@ EOF for program in $x86asmexe nasm yasm; do

Re: [FFmpeg-devel] [External] Re: Question Regarding Removal of Blowfish from libavutil in FFmpeg

2024-10-02 Thread Anton Khirnov
Quoting James Almer (2024-10-02 16:39:47) > > Something that was suggested long ago but never came to fruition was > making lavu modules configure time selectable, which for those with > public facing interfaces (namely every single one, probably) would mean > just not compiling the actual code

Re: [FFmpeg-devel] [PATCH] avcodec/dxva2: Fix compilation with Mingw-w64

2024-10-02 Thread Tobias Rapp
On 02/10/2024 14:05, James Almer wrote: On 10/2/2024 7:11 AM, Tobias Rapp wrote: Adds missing ifdef guards to function prototypes depending on definitions from dxva.h which are not available in Mingw-w64 version 4.0. The configure script already checks for HEVC/VP9 types in dxva.h. Signed-of

Re: [FFmpeg-devel] [External] Re: Question Regarding Removal of Blowfish from libavutil in FFmpeg

2024-10-02 Thread James Almer
On 10/2/2024 11:28 AM, Timo Rothenpieler wrote: On 02/10/2024 11:39, Lynne via ffmpeg-devel wrote: On 02/10/2024 11:06, Kumar, Rahul via ffmpeg-devel wrote: Thank you for the prompt response. The primary reason for removing Blowfish from our codebase is to comply with modern security guidelin

Re: [FFmpeg-devel] RFC - Uncompressed MP4

2024-10-02 Thread Tomas Härdin
tis 2024-10-01 klockan 18:53 -0600 skrev Devon Sookhoo: > Hello, > > I attached the .patch so hopefully this is easier for you to apply. > The > patch itself isn't very impressive, but is intended to be the first > of a > series of contributions to generate uncompressed MP4 video. I'm > hoping to

Re: [FFmpeg-devel] [External] Re: Question Regarding Removal of Blowfish from libavutil in FFmpeg

2024-10-02 Thread Timo Rothenpieler
On 02/10/2024 11:39, Lynne via ffmpeg-devel wrote: On 02/10/2024 11:06, Kumar, Rahul via ffmpeg-devel wrote: Thank you for the prompt response. The primary reason for removing Blowfish from our codebase is to comply with modern security guidelines and industry standards that discourage the us

[FFmpeg-devel] HTTP/2 client code

2024-10-02 Thread Pablo Navarro
I'm wondering if there is any plan to support HTTP2 client protocol for FFmpeg. Would be great to be able to support Hls/Dash streamings whose server requires http2 and blocks http1.1 requests. I'm willing to sponsor the development if there is any interest. ___

Re: [FFmpeg-devel] [PATCH 1/2] avformat/mov: factorize getting the current item

2024-10-02 Thread James Almer
On 9/30/2024 2:41 PM, James Almer wrote: Signed-off-by: James Almer --- libavformat/mov.c | 58 +++ 1 file changed, 34 insertions(+), 24 deletions(-) Will apply set. OpenPGP_signature.asc Description: OpenPGP digital signature _

[FFmpeg-devel] [PATCH] configure: Enable -Wno-implicit-const-int-float-conversion if available

2024-10-02 Thread Martin Storsjö
This silences a lot of compile warnings (around 160 instances at least), when compiling with Clang. These warnings look like this: libavformat/http.c:176:133: warning: implicit conversion from 'long long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-

Re: [FFmpeg-devel] [PATCH] avcodec/dxva2: Fix compilation with Mingw-w64

2024-10-02 Thread James Almer
On 10/2/2024 7:11 AM, Tobias Rapp wrote: Adds missing ifdef guards to function prototypes depending on definitions from dxva.h which are not available in Mingw-w64 version 4.0. The configure script already checks for HEVC/VP9 types in dxva.h. Signed-off-by: Tobias Rapp --- libavcodec/dxva2_in

[FFmpeg-devel] [PATCH] avcodec/dxva2: Fix compilation with Mingw-w64

2024-10-02 Thread Tobias Rapp
Adds missing ifdef guards to function prototypes depending on definitions from dxva.h which are not available in Mingw-w64 version 4.0. The configure script already checks for HEVC/VP9 types in dxva.h. Signed-off-by: Tobias Rapp --- libavcodec/dxva2_internal.h | 4 1 file changed, 4 inserti

Re: [FFmpeg-devel] [External] Re: Question Regarding Removal of Blowfish from libavutil in FFmpeg

2024-10-02 Thread Lynne via ffmpeg-devel
On 02/10/2024 11:06, Kumar, Rahul via ffmpeg-devel wrote: Thank you for the prompt response. The primary reason for removing Blowfish from our codebase is to comply with modern security guidelines and industry standards that discourage the use of outdated cryptographic algorithms, like Blowfis

Re: [FFmpeg-devel] [External] Re: Question Regarding Removal of Blowfish from libavutil in FFmpeg

2024-10-02 Thread Kumar, Rahul via ffmpeg-devel
Thank you for the prompt response. The primary reason for removing Blowfish from our codebase is to comply with modern security guidelines and industry standards that discourage the use of outdated cryptographic algorithms, like Blowfish, due to their vulnerabilities. Given that av_blowfish* is

[FFmpeg-devel] [PATCH] libavcodec: x86: Remove an explicit include of config.asm

2024-10-02 Thread Martin Storsjö
This file is never included explicitly anywhere else, it's only included implicitly by passing -Pconfig.asm on the command line. --- libavcodec/x86/celt_pvq_search.asm | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/x86/celt_pvq_search.asm b/libavcodec/x86/celt_pvq_search.asm index

[FFmpeg-devel] [PATCH] av1dec: Don't crash if decoding of some frames have failed

2024-10-02 Thread Martin Storsjö
If decoding with hwaccel, but decoding fails, these pointers are null at this point. --- libavcodec/av1dec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/av1dec.c b/libavcodec/av1dec.c index 6a9de07d16..bc4ef63e68 100644 --- a/libavcodec/av1dec.c +++ b/libavcodec/av1dec.c @@ -2

Re: [FFmpeg-devel] [PATCH] libavutil: Makefile: Fix alphabetical order for the film_grain_params files

2024-10-02 Thread Martin Storsjö
On Mon, 30 Sep 2024, Martin Storsjö wrote: --- libavutil/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavutil/Makefile b/libavutil/Makefile index 6e6fa8d800..d3c95b12a0 100644 --- a/libavutil/Makefile +++ b/libavutil/Makefile @@ -34,6 +34,7 @@ HEADERS = adler

Re: [FFmpeg-devel] [PATCH v3] avcodec/videotoolbox: add AV1 hardware acceleration

2024-10-02 Thread Martin Storsjö
On Tue, 1 Oct 2024, Martin Storsjö wrote: On Fri, 27 Sep 2024, Cameron Gutman wrote: On Thu, Sep 26, 2024 at 4:25 PM Martin Storsjö wrote: From: Jan Ekström Use AV1DecContext's current_obu to access the original OBUs, and feed them to videotoolbox, rather than the bare slice data passed v