-
Notifications
You must be signed in to change notification settings - Fork 11
Description
sorry to have to ask, but I've just spent 2 hours trying to get vulkan to work on windows and just keep getting this when I use your code -
python DoVi2.py -i E:\downloads\dolby-vision-people.mp4 -o dvpeople.mp4 --bitrate 8000 --type hdr10 ['ffmpeg.exe', '-nostdin', '-loglevel', 'error', '-stats', '-y', '-init_hw_device', 'vulkan=vk:0', '-filter_hw_device', 'vulkan', '-i', 'E:\\downloads\\dolby-vision-people.mp4', '-vf', 'hwupload,libplacebo=peak_detect=false:colorspace=9:color_primaries=9:color_trc=16:range=tv:format=yuv420p10le,hwdownload,format=yuv420p10le', '-c:v', 'libx265', '-map_chapters', '-1', '-an', '-sn', '-b:v', '8000k', '-x265-params', 'repeat-headers=1:sar=1:hrd=1:aud=1:open-gop=0:hdr10=1:sao=0:rect=0:cutree=0:deblock=-3-3:strong-intra-smoothing=0:chromaloc=2:aq-mode=1:vbv-maxrate=160000:vbv-bufsize=160000:max-luma=1023:max-cll=0,0:master-display=G(8500,39850)B(6550,23000)R(35400,15650)WP(15635,16450)L(10000000,1)WP(15635,16450)L(1000000,100%):preset=slow', 'dvpeople.mp4_hdr10_slow.mp4'] Device creation failed: -12. Failed to set value 'vulkan=vk:0' for option 'init_hw_device': Cannot allocate memory Invalid filter device vulkan. Failed to set value 'vulkan' for option 'filter_hw_device': Invalid argument [AVFilterGraph @ 0000016f4c8aca40] No such filter: 'libplacebo' [vost#0:0/libx265 @ 0000016f4c9e19c0] Error initializing a simple filtergraph Error opening output file dvpeople.mp4_hdr10_slow.mp4. Error opening output files: Filter not found
I know it's not a problem with your code, but I'm hoping you can point me to a solution.
I have vulkan installed and vulkancube works, but I have no idea how to install the libplacebo filter and all the distributions I can find are just for un*x. I also don't know how to tell ffmpeg that I have vulkan. the only instructions I can find say go to the display part of the config program, which doesn't exist.
thanks in advance