Skip to content
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

Vaapi closing #27 #107

Merged
merged 12 commits into from
Jun 21, 2018
Merged

Vaapi closing #27 #107

merged 12 commits into from
Jun 21, 2018

Conversation

jrottenberg
Copy link
Owner

Following up from #106

@jrottenberg
Copy link
Owner Author

jrottenberg commented Jun 18, 2018

Checking why https://travis-ci.org/jrottenberg/ffmpeg/jobs/393451694 failed...

3.4 on Centos , weird.

@qmfrederik do you have usage note, so I can update the readme before the merge ?

ie how to do a docker run mounting the right devices to use the gpu.

@qmfrederik
Copy link
Contributor

@jrottenberg For this to work, you need to:

  • Run the container in privileged mode and mount /dev/dri from your host into the container (docker run --privileged -v /dev/dri:/dev/dri if I'm not mistaken)
  • Have the Intel drivers up and running on your host. You can run vainfo (part of vainfo package on Ubuntu) to determine whether your graphics card has been recognized correctly.
  • Run ffmpeg with the correct parameters, this is the same as when running ffmpeg natively. See https://trac.ffmpeg.org/wiki/Hardware/VAAPI

@jrottenberg
Copy link
Owner Author

jrottenberg commented Jun 21, 2018

Excellent, not too sure about the --privileged parameter, but yeah /dev/dri mount for sure.

@jrottenberg jrottenberg merged commit d983ad8 into master Jun 21, 2018
@jrottenberg jrottenberg deleted the vaapi branch November 21, 2018 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants