You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature]: (Linux) Add support for ffmpeg vaapi codecs #82
CPU encoding is slow and inefficient. I have an overpowered AMD GPU that can do hardware encoding, but there is no interface that supports ffmpeg vaapi. They all support only nvenc. You could be the first.
Proposed solution
Add support for ffmpeg vaapi encoding, which is supported by Intel and AMD GPUs.
Workflow and media context
No response
Relevant platforms
Linux
Alternatives considered
No response
Additional context
No response
Checklist
I searched the existing issues and did not find a duplicate request.
I agree to follow this project's Code of Conduct.
Reacted by EmersonBiggons, boniibones and Matteo Carotta
I’m definitely in favor of this feature, but unfortunately we’ll have to wait until a maintainer comes along whose hardware allows for manual testing of the solution before deploying it to production. I only have a MacBook Pro M4; I run all Linux-related tests on a virtual machine, and that won’t be sufficient for testing VAAPI. We need someone with Intel/AMD hardware.
I can help test this on physical AMD hardware running Bazzite.
System:
AMD Radeon RX 9070 XT
AMD Ryzen 5 5600X
32 GB RAM
Bazzite: 43.20260420.0 (Silverblue)
Build: Stable (F43.20260420)
Kernel: 6.17.7-ba29.fc43.x86_64
FFmpeg: 7.1.3
VA-API device: /dev/dri/renderD128
I tested VAAPI encoding at runtime using a five-second 1920×1080 60-fps generated source. All three relevant encoders completed successfully and produced valid output files:
h264_vaapi: H.264 High profile, approximately 7× real-time speed
hevc_vaapi: HEVC Main profile, 300 frames, approximately 13× real-time speed
av1_vaapi: AV1 Main profile, 300 frames, approximately 5.94× real-time speed
These speeds used FFmpeg’s default quality settings so I’m including them only as runtime confirmation rather than a quality or performance comparison.
If someone creates an implementation branch or pull request, I’m happy to build and test it on my machine and provide results, logs, or help investigate failures.
Linux VA-API is ready to try in the 0.36.0 beta 2. @BlasterM5, I’d love to hear how one of your usual exports goes on your AMD GPU. @EmersonBiggons, AV1 made it in alongside H.264 and HEVC. Thanks for calling that out early.
@berkeokur, thanks again for offering to test on Bazzite. Could you try the same five-second clip on your 9070 XT and see if all three codecs work in Frame the way they did in FFmpeg?
@mmcnutt, do you happen to have an Arc card running Linux? I’m still looking for someone to try VA-API on Intel. QSV is a separate request.
Activity
EmersonBiggons commentedon Jul 20, 2026
And to add to this: Specifically full support of VAAPI:
AV1 and H264/HEVC.
I've seen a lot of VAAPI implementations that completely forget AV1 support. So I figured I'd add to this issue just in case.
mrintrepide commentedon Jul 22, 2026
I think Vulkan encoding should be prioritized since it's multi-OS and multi-device, notably for devices that aren't VA-API compatible.
EmersonBiggons commentedon Jul 22, 2026
VAAPI is already multi-OS and supports intel and AMD, which covers a lot of hardware. However, I agree vulkan encode would be a good idea.
66HEX commentedon Jul 27, 2026
I’m definitely in favor of this feature, but unfortunately we’ll have to wait until a maintainer comes along whose hardware allows for manual testing of the solution before deploying it to production. I only have a MacBook Pro M4; I run all Linux-related tests on a virtual machine, and that won’t be sufficient for testing VAAPI. We need someone with Intel/AMD hardware.
mmcnutt commentedon Jul 27, 2026
the intel QSV extensions would be good too for those with Arc hardware
berkeokur commentedon Aug 22, 2026
I can help test this on physical AMD hardware running Bazzite.
System:
I tested VAAPI encoding at runtime using a five-second 1920×1080 60-fps generated source. All three relevant encoders completed successfully and produced valid output files:
h264_vaapi: H.264 High profile, approximately 7× real-time speedhevc_vaapi: HEVC Main profile, 300 frames, approximately 13× real-time speedav1_vaapi: AV1 Main profile, 300 frames, approximately 5.94× real-time speedThese speeds used FFmpeg’s default quality settings so I’m including them only as runtime confirmation rather than a quality or performance comparison.
If someone creates an implementation branch or pull request, I’m happy to build and test it on my machine and provide results, logs, or help investigate failures.
66HEX commentedon Nov 28, 2026
Linux VA-API is ready to try in the 0.36.0 beta 2. @BlasterM5, I’d love to hear how one of your usual exports goes on your AMD GPU. @EmersonBiggons, AV1 made it in alongside H.264 and HEVC. Thanks for calling that out early.
@berkeokur, thanks again for offering to test on Bazzite. Could you try the same five-second clip on your 9070 XT and see if all three codecs work in Frame the way they did in FFmpeg?
@mmcnutt, do you happen to have an Arc card running Linux? I’m still looking for someone to try VA-API on Intel. QSV is a separate request.