Discussion:
[FFmpeg-user] How to use nvida GPU
hans gerte
2018-11-26 13:44:07 UTC
Permalink
Hi, need some help. i read a lot of forums and googled it, but i got more
confused.
i have a Ubuntu 14.04 running ffmpeg 3.4 (From add-apt-repository
ppa:mc3man/trusty-media).
and now i just bought 2 Nvidia Quadro P5000.
the part that i don't know and need some help on is:
for it to work is it enough that i install the drivers Linux X64 v. 410.78 (
https://www.nvidia.com/Download/driverResults.aspx/140135/en-us)
or do i also need to install the NVENC SDK 8.2
and do i need to build ffmpeg from scratch. and some guide tells that i
also need the CUDA Utillty.

so could some please help me out or even write me a step by step?
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-***@ffmpeg.org with su
Dennis Mungai
2018-11-26 13:54:01 UTC
Permalink
Hey there,

Take a look at this:
https://gist.github.com/Brainiarc7/988473b79fd5c8f0db54b92ebb47387a

Do reach out if you need further assistance.
Post by hans gerte
Hi, need some help. i read a lot of forums and googled it, but i got more
confused.
i have a Ubuntu 14.04 running ffmpeg 3.4 (From add-apt-repository
ppa:mc3man/trusty-media).
and now i just bought 2 Nvidia Quadro P5000.
for it to work is it enough that i install the drivers Linux X64 v. 410.78 (
https://www.nvidia.com/Download/driverResults.aspx/140135/en-us)
or do i also need to install the NVENC SDK 8.2
and do i need to build ffmpeg from scratch. and some guide tells that i
also need the CUDA Utillty.
so could some please help me out or even write me a step by step?
_______________________________________________
ffmpeg-user mailing list
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-***@ffmpeg.org with subject "un
msanders
2018-11-26 14:02:55 UTC
Permalink
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
Post by hans gerte
Hi, need some help. i read a lot of forums and googled it, but i got more
confused.
i have a Ubuntu 14.04 running ffmpeg 3.4 (From add-apt-repository
ppa:mc3man/trusty-media).
and now i just bought 2 Nvidia Quadro P5000.
for it to work is it enough that i install the drivers Linux X64 v. 410.78 (
https://www.nvidia.com/Download/driverResults.aspx/140135/en-us)
or do i also need to install the NVENC SDK 8.2
and do i need to build ffmpeg from scratch. and some guide tells that i
also need the CUDA Utillty.
so could some please help me out or even write me a step by step?
Hi,

1) Yes, you need to install the nVidia Linux driver.
2) Yes, you need too to install the CUDA SDK (I recommend a the recent version).
3) And Yes, you need to compile ffmpeg from scratch.

After you installed all, it's quite simple to compile from scratch:
- "export PATH=$PATH:/usr/local/cuda-8.0/bin" (or your newer version).
- "./configure --enable-cuda --enable-cuda-sdk --enable-nonfree --enable-cuvid --enable-nvenc --extra-cflags=-I/usr/local/cuda/include/ --extra-ldflags=-L/usr/local/cuda/lib64/ .." (add here your specific flags).
- "make"

Enjoy!

_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-***@ffmpeg.org with subject
Carl Eugen Hoyos
2018-11-26 17:25:13 UTC
Permalink
Post by hans gerte
Hi, need some help. i read a lot of forums and googled it, but i got more
confused.
i have a Ubuntu 14.04 running ffmpeg 3.4 (From add-apt-repository
ppa:mc3man/trusty-media).
and now i just bought 2 Nvidia Quadro P5000.
for it to work is it enough that i install the drivers Linux X64 v. 410.78 (
https://www.nvidia.com/Download/driverResults.aspx/140135/en-us)
or do i also need to install the NVENC SDK 8.2
and do i need to build ffmpeg from scratch. and some guide tells that i
also need the CUDA Utillty.
You don't say what you want to do with FFmpeg and your GPUs.
"to work" is not very precise...

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-***@ffmpeg

Continue reading on narkive:
Loading...