39 frames left in the queue on closingĪlso, I don't really know how the filter works or if any particular hardware (perhaps certain GPUs) may be needed for it.Įdit: The specs of my Windows laptop include an AMD Ryzen 5 4500U which supports the h264_amf and hevc_amf encoders, and an Nvidia MX350 (which does NOT support NVENC). Hardware acceleration and GPU compatible filters instead of only using CPU Hi, I currently have an FFMPEG command that takes in some mp4 videos, concatenates them together, scales them to 1920x1080 or another size, and then adds a filter on the sides of the video that is a blurred version of the video. In order to be able to utilize this gpu. Failed to upload frame: -22.įailed to inject frame into filter network: Invalid argumentĮrror while processing the decoded data for stream #0:0 The latest NVIDIA GPUs contain a hardware-based video encoder called NVENC which is much faster than traditional ones. 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īut I got the same error message: No memory type found for flags 0x2.ffmpeg -hide_banner -init_hw_device vulkan=gpu:0 -filter_hw_device gpu -i "input.mkv" -filter_complex "hwupload,scale_vulkan=1920:1080:bilinear:yuv420p,hwdownload,format=yuv420p" -map "" "output.mkv" -y.Anyway, I tried two different commands hoping the filter would work: 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |