I have recently tested the following patches:
0001-Add-Vulkan-detection-to-buildsystem.patch
0004-External-libzimg-support-for-buildsystem.patch
0002-Add-libplacebo-Vulkan-filter-detection.patch
0019-Set-postprocessing-in-libtheora-decoder.patch
0002-Make-x265_hidepth-actually-work.patch
0023-Fixup-seg-name-to-segment-so-format-gui-button-work.patch
0003-Fix-libplacebo-enabling-was-typoed-wrong.patch
Other patches are already in git, I'm not sure which ones still need to be tested. I need number 0004 (libzimg), otherwise I can't compile. The others work fine. I don't quite understand what I should test with x265.
I was hoping that that x265_hidepth will allow you to speed up compilation a bit by building 8bpc only x265, so if you enabled this parameter x265_10bit profiles should thrown error at you.
Another thing, I wanted to create encoding presets with AMD's AMF framework (the equivalent of Nvidia's NVENC), since it's open source and has been separated from amdgpu-pro, but I can't enable it in the ./configure phase. Any idea how to do this?
Same generic mechanism:
export FFMPEG_EXTRA_CFG=" --enable-amd " (not literally, look at what ffmpeg --configure demand)
for me on ffmpeg 8.0 configure it says
--disable-amf disable AMF video encoding code [autodetect]
so it a bit strange that you do not have it autodetected? I assume you installed headers ...
then
export export EXTRA_LIBS="-lamdlib -lWhatever" (you already have opencl libs there.
One last thing, not important, just something I'm curious about:
When I load an av1 media file, I get this warning:
"Decoder libdav1d does not support device type vulkan.
HW device init failed, using SW decode"
I wanted to try disabling dav1d and going back to the classic libaom_av1 to test whether hardware-accelerated Vulkan had reached or exceeded the performance of dav1d (which is very fast but software-based). I can't disable dav1d; I tried editing the “decode.opts” file by commenting out the line:
remap_video_decoder libaom-av1=libdav1d
be sure you installed this decode.opts file ? one in ffmpeg directory in top of our source tree usually get installed, but if you edited it after make install ot obviously will not work (yes,I was bitten by this)
Or by replacing libdav1d with av1_vulkan; but I always get the same warning indicating that dav1d is still running. I also tried disabling dav1d in the ./configure phase (--disable-libdav1d) but it is not taken into account and I continue to get the same warning. Do you know how I could do this?
try also --without-dav1d ?