New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VA-API Encoding not working on Linux (AMD) #1232
Comments
maybe is about ffmpeg 5 see https://code.videolan.org/videolan/vlc/-/issues/26772 |
Hmmm it seems that VLC doesn't support FFmpeg 5, but what that has to do with Shotcut? For example, in my system (Arch Linux), VLC uses FFmpeg 4.4 while Shotcut uses 5.0. |
Version 22.03 and later removes a |
OK, I'll test it, but take into account that I tested it both with X11 (i3wm) and Wayland (Sway). Beside the time that takes, is there any way I can verify if hardware decoding is actually being used? |
Forgot to mention: test again on newer version. See the Export job log to tell if it is being used. |
Here is how the export job log looks on my system - very obvious it is using VA-API:
|
So, I encoded the same video I did before, it took 41 mins so it seems to be using hardware acceleration. The logs also mention it's using VAAPI:
|
Hardware encoding for H264 is not working, it takes about 1h30m on my Arch Linux partition but only around 30/40min on Windows to encode an 8GB video.
(These numbers are not very precise since I'm relying on shotcut's estimations).
Hardware decoding seems to work on Firefox and video players.
Shotcut Version: ARCH-22.01.30
OS: Arch Linux
DE: i3 (X11)
GPU: AMD Radeon RX 570
CPU: AMD Ryzen 7 2700X
vainfo:
I haven't seen any errors in the log either:
shotcut.log
I know there's #1210, but this is different since there's no error message.
I also tried with Sway (Wayland) but encoding fails at some point, I didn't bothered with debugging it since that seems to be addressed in #1210 too.
The text was updated successfully, but these errors were encountered: