[FFmpeg-devel] [PATCH] avutil/hwcontext_vulkan: get VkFormatFeatureFlagBits2

2023-11-02 Thread Víctor Manuel Jáquez Leal
Rather than the VkFormatFeatureFlagBits enum Signed-off-by: Víctor Manuel Jáquez Leal --- libavutil/hwcontext_vulkan.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c index 8481427b42..506a218a42 100644

[FFmpeg-devel] [PATCH v2] vulkan_encode: set the quality level in session parameters

2024-09-23 Thread Víctor Manuel Jáquez Leal
While running this command ./ffmpeg_g -loglevel debug -hwaccel vulkan -init_hw_device vulkan=vk:0,debug=1 -hwaccel_output_format vulkan -i input.y4m -vf 'format=nv12,hwupload' -c:v h264_vulkan -quality 2 output.mp4 -y It hit this validation error: Validation Error: [ VUID-vkCmdEncodeVideoKHR-N

[FFmpeg-devel] [PATCH] vulkan_encode: set the quality level in session parameters

2024-09-23 Thread Víctor Manuel Jáquez Leal
While running this command ./ffmpeg_g -loglevel debug -hwaccel vulkan -init_hw_device vulkan=vk:0,debug=1 -hwaccel_output_format vulkan -i input.y4m -vf 'format=nv12,hwupload' -c:v h264_vulkan -quality 2 output.mp4 -y It hit this validation error: Validation Error: [ VUID-vkCmdEncodeVideoKHR-N

[FFmpeg-devel] [PATCH] vulkan_encode: set the quality level in session parameters

2024-09-20 Thread Víctor Manuel Jáquez Leal
While running this command ./ffmpeg_g -loglevel debug -hwaccel vulkan -init_hw_device vulkan=vk:0,debug=1 -hwaccel_output_format vulkan -i input.y4m -vf 'format=nv12,hwupload' -c:v h264_vulkan -quality 2 output.mp4 -y It hit this validation error: Validation Error: [ VUID-vkCmdEncodeVideoKHR-N

[FFmpeg-devel] [PATCH] vulkan: use VK_IMAGE_USAGE_VIDEO_ENCODE_SRC_BIT_KHR for format properties

2025-06-02 Thread Víctor Manuel Jáquez Leal
When fetching image properties to encode, its usage can be specified. According to documentation: * VK_IMAGE_USAGE_VIDEO_ENCODE_DST_BIT_KHR: is reserved for future use. * VK_IMAGE_USAGE_VIDEO_ENCODE_SRC_BIT_KHR: specifies that the image can be used as an encode input picture in a video encode op

[FFmpeg-devel] [PATCH] fftools/graph/graphprint: Remove redundant avio_flush()

2025-06-02 Thread Víctor Manuel Jáquez Leal
From: Andreas Rheinhardt The AVIOContext will be automatically flushed upon closure. Reviewed-by: softworkz . Signed-off-by: Andreas Rheinhardt --- fftools/graph/graphprint.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fftools/graph/graphprint.c b/fftools/graph/graphprint.c index 7f0e8

Re: [FFmpeg-devel] [PATCH] fftools/graph/graphprint: Remove redundant avio_flush()

2025-06-02 Thread Víctor Manuel Jáquez Leal
Please ignore this patch. I made a mistake. Sorry. vmjl On Mon, 02 Jun 2025 at 12:50, Víctor Manuel Jáquez Leal wrote: > From: Andreas Rheinhardt > > The AVIOContext will be automatically flushed upon closure. > > Reviewed-by: softworkz . > Signed-off-by: Andreas Rheinhardt