[Cin] h264 vulkan encoding
Andrea paz
gamberucci.andrea at gmail.com
Mon Aug 12 13:36:30 CEST 2024
Similar to Terje, using system ffmpeg I get his same result and error
(I have amd graphics).
I do not find the extension "VK_KHR_video_decode_queue" in "vulkaninfo".
I see in https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_video_decode_queue.html
the description:
"This extension builds upon the VK_KHR_video_queue extension by adding
common APIs specific to video decoding and thus enabling
implementations to expose queue families supporting video decode
operations.
More specifically, it adds video decode specific capabilities and a
new command buffer command that allows recording video decode
operations against a video session.
This extension is to be used in conjunction with other codec specific
video decode extensions that enable decoding video sequences of
specific video compression standards."
In CinGG .../thirdparty/makefile I find no reference to "vulkan",
"video" and "decode".
Using "CIN_HW_DEV=vulkan /home/paz/cinelerra5/cinelerra-5.1/bin/cin"
With mxf video:
Decoder dnxhd does not support device type vulkan.
HW device init failed, using SW decode.
With h264 video:
Unknown HW surface format: vulkan
Failed to get HW surface format.
Failed to get HW surface format.
Failed to get HW surface format.
Failed to get HW surface format.
Failed to get HW surface format.
Failed to get HW surface format.
Failed to get HW surface format.
FFStream::decode: avcodec_send_packet failed.
file:/home/paz/video_editing/free_video/bbb_sunflower_1080p_30fps_normal.mp4
err: Invalid data found when processing input
FFStream::decode: failed
HW device init failed, using SW decode.
CinGG compile with ffmpeg.git:
( ./configure don't recognize "--enable-vulkan")
Without CIN_HW_DEV=vulkan /home/paz/cinelerra5/cinelerra-5.1/bin/cin:
No message to terminal during playback.
With CIN_HW_DEV=vulkan /home/paz/cinelerra5/cinelerra-5.1/bin/cin:
Same error:
Unknown HW surface format: vulkan
Failed to get HW surface format.
Failed to get HW surface format.
Failed to get HW surface format.
Failed to get HW surface format.
Failed to get HW surface format.
Failed to get HW surface format.
Failed to get HW surface format.
FFStream::decode: avcodec_send_packet failed.
file:/home/paz/video_editing/free_video/bbb_sunflower_1080p_30fps_normal.mp4
err: Invalid data found when processing input
FFStream::decode: failed
HW device init failed, using SW decode.
More information about the Cin
mailing list