zimbatm / ffmpeg-static

Scripts to build ffmpeg with all the deps statically (webm + h264 included)
ISC License
508 stars 253 forks source link

vaapi not working #68

Closed aptalca closed 4 years ago

aptalca commented 7 years ago

When I build this, it is static. However vaapi does not seem to work.

I get the following error:

[AVHWDeviceContext @ 0x3282b20] No VA display found for device: /dev/dri/renderD128.
[vaapi @ 0x2940270] Failed to create a VAAPI device

This is on the same machine it was built and vaapi is certainly enabled. The encoders also list the various vaapi based encoders.

If I build a semi static build of ffmpeg on the same machine (vaapi dynamically linked) then it works.

Has anyone encountered similar issues?