TEB
2nd October 2024, 13:53
hi, im trying to test the vulkan video encoding extentions added in ffmpeg v7.1.
Anyone gotten it to work yet ?
Nvidia RTX4060, newest drivers etc..
./ffmpeg.exe -init_hw_device vulkan=vk:0 -filter_hw_device vk -i Bab.mkv -vf "hwupload=extra_hw_frames=16,format=yuv420p,scale_vulkan=1280:720" -c:v h264_vulkan -crf 22 output.mp4
Error:
Impossible to convert between the formats supported by the filter 'Parsed_hwupload_0' and the filter 'auto_scale_0'
[vf#0:0 @ 000001e33b794b40] Error reinitializing filters!
[vf#0:0 @ 000001e33b794b40] Task finished with error code: -40 (Function not implemented)
[vf#0:0 @ 000001e33b794b40] Terminating thread with return code -40 (Function not implemented)
[vost#0:0/h264_vulkan @ 000001e33b794380] Could not open encoder before EOF
[vost#0:0/h264_vulkan @ 000001e33b794380] Task finished with error code: -22 (Invalid argument)
[vost#0:0/h264_vulkan @ 000001e33b794380] Terminating thread with return code -22 (Invalid argument)
[out#0/mp4 @ 000001e352de8200] Nothing was written into output file, because at least one of its streams received no packets.
Anyone gotten it to work yet ?
Nvidia RTX4060, newest drivers etc..
./ffmpeg.exe -init_hw_device vulkan=vk:0 -filter_hw_device vk -i Bab.mkv -vf "hwupload=extra_hw_frames=16,format=yuv420p,scale_vulkan=1280:720" -c:v h264_vulkan -crf 22 output.mp4
Error:
Impossible to convert between the formats supported by the filter 'Parsed_hwupload_0' and the filter 'auto_scale_0'
[vf#0:0 @ 000001e33b794b40] Error reinitializing filters!
[vf#0:0 @ 000001e33b794b40] Task finished with error code: -40 (Function not implemented)
[vf#0:0 @ 000001e33b794b40] Terminating thread with return code -40 (Function not implemented)
[vost#0:0/h264_vulkan @ 000001e33b794380] Could not open encoder before EOF
[vost#0:0/h264_vulkan @ 000001e33b794380] Task finished with error code: -22 (Invalid argument)
[vost#0:0/h264_vulkan @ 000001e33b794380] Terminating thread with return code -22 (Invalid argument)
[out#0/mp4 @ 000001e352de8200] Nothing was written into output file, because at least one of its streams received no packets.