[FFmpeg-trac] #9796(undetermined:new): How can I use the scale_vulkan filter?
FFmpeg
trac at avcodec.org
Fri May 27 03:59:05 EEST 2022
#9796: How can I use the scale_vulkan filter?
-------------------------------------+-------------------------------------
Reporter: oneechan69 | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
I did some googling on how to use the scale_vulkan filter and about Vulkan
on ffmpeg, but it appears there's only a few support threads that are hard
to decipher, and there isn't much documentation for Vulkan on FFmpeg.
Anyway, I tried two different commands hoping the filter would work:
{{{
ffmpeg -hide_banner -init_hw_device vulkan=gpu:0 -filter_hw_device gpu -i
"input.mkv" -filter_complex
"[0:V:0]hwupload,scale_vulkan=1920:1080:bilinear:yuv420p,hwdownload,format=yuv420p[out]"
-map "[out]" "output.mkv" -y
- ffmpeg -v verbose -init_hw_device vulkan=vul,linear_images=1 -i
"input.mkv" -vf
"hwupload,scale_vulkan=w=1920:h=1080:format=yuv420p,hwdownload,format=yuv420p"
"output.mkv" -y
}}}
But I got the same error message:
{{{
[AVHWDeviceContext @ 0000029c32857e80] No memory type found for flags 0x2
[hwupload @ 0000029c40ea5bc0] Failed to upload frame: -22.
Error while filtering: Invalid argument
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
[libvorbis @ 0000029c340afb40] 39 frames left in the queue on closing
Conversion failed!
Also, I don't really know how the filter works or if any particular
hardware (perhaps certain GPUs) may be needed for it.
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9796>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list