Apologies if I was suppose to put this under bugs and issues as I am unsure if it’s already known or something that has yet to be implemented in a future version.
I’ve looked into this and supposedly RDNA 2 gpus now support h265 10 bit encoding now with the later drivers. Yet the option for H265 10 bit or main10 profile doesn’t show up. I only have H265 with the two profiles, Main & High. The 10 bit encoder seems to be working fine in handbrake from what I’ve tested so far. I am currently on drivers 24.7.1 but have also tried 24.6.1.
Currently testing Hyperion SDR-to-HDR Alpha #2. If I try to convert SDR to HDR using h265 Main I just get an 8 bit file with no HDR, but using ProRes 422 works fine.
Is this just a case of support for the encoder not being implemented in the software for AMD users yet or am I missing something?
Looks like TVAI does not use VAAPI to encode.
For such use command line with ffmpeg
-vf 'format=p010,hwupload' -c:v hevc_vaapi -profile:v main10
1 Like
Getting an error "[vost#0:0 @ 000001A713640DC0] Unknown encoder ‘hevc_vaapi’
[vost#0:0 @ 000001A713640DC0] Error selecting an encoder
Also, I had a crack at editing the video-encoders.json in the models folder using this as a guideline: Custom Encoder Options | Topaz Video AI
I managed to get it to show the Main10 option under h265 in the GUI but when actually selecting it and trying to render out an export it just returns an error.
Edit: Forgot to mention I’m on Windows. A bit of research seems to suggest vaapi encoder doesnt work in windows, and is more a linux thing??
No 10-bit HEVC encode support in FFmpeg? · Issue #259 · GPUOpen-LibrariesAndSDKs/AMF · GitHub This also reveals AMF encoder in ffmpeg doesnt support 10 bit encoding, yet.
would like to know too but im not tech savvy enough
I’m not the most software tech savvy person myself, but most of the research I’ve done seems to indicate that the VA-API encoder needed for hardware accelerated 10 bit H265 encoding on AMD cards is not supported natively in Windows yet. Or at least not without significant tinkering to get it working…maybe. More on that in a bit. It does however work in Linux but you need to use the available linux build of Topaz which doesn’t really work out for me since I’m testing features from the BETA branch, like Hyperion SDR to HDR.
On the subject of getting VA-API working in windows I did find this: Video acceleration API (VA-API) now available on Windows! - DirectX Developer Blog
And this: Install WSL | Microsoft Learn
The Windows Subsystem for Linux (WSL) allows you to basically install a linux distro alongside of windows and get the best of both worlds without the overhead of running virtual machine or a duel boot setup, but also seems be a requirement to getting VA-API working in the link to first guide.
I haven’t tried any of this yet, and Im still not sure whether this would work with the latest windows versions of Topaz or the BETAs. I might give it a go though.