![]() ![]() ![]() and then update the packages list and install ffmpeg. My tvheadend server is installed at a ubuntu 16 server. Install ffmpeg in Ubuntu In Ubuntu, ffmpeg is available in the Universe repository so make sure to enable universe repository. In short, to enable support for GPU-assisted encoding with an NVIDIA GPU for ffmpeg, you need: i want to show some surveillance cameras as tv channels via tvheadend. Please see NVIDIA documentations and ffmpeg wiki page for further information. #Install ubuntu ffmpeg how to#You learned how to install FFmpeg with NVIDIA GPU acceleration hardware support on Debian or Ubuntu Linux to speed up encoding with the ffmpeg command. Make sure you read the following man pages using the man command: sudo apt-get update sudo apt-get install ffmpeg libav-tools x264 x265 Step 3 Check FFmpeg Version After successfully install FFmpeg, let’s check the version installed on the system. Mine is a consumer-grade GPU, but no doubt data center or professional-grade NVIDIA GPU gives even better performance. Step 2 Install FFmpeg After enabling the PPA, Lets exec below commands to install FFmpeg on your Ubuntu system. ![]() Time ~/ffmpeg/ffmpeg -hwaccel cuda -y -i /tmp/input.mkv /tmp/out.mp4 Time command outputs with CPU used: realđm40.678sĪlso note down the speed: frame= 7320 fps= 73 q=-1.0 Lsize= 58306kB time=00:02:02.03 bitrate=3914.0kbits/s speed=1.22xĪnd now same file with NVIDIA GPU acceleration (note the path, I am calling the compiled version): Time /bin/ffmpeg -y -i /tmp/input.mkv /tmp/out.mp4 In this example, I am converting input.mkv to out.mp4 as follows without using GPU acceleration: At the time of writing, the latest stable version is FFmpeg 3.4.4. Each package is a package name, not a fully qualified filename. Related: Top 7 Linux GPU Monitoring and Diagnostic Commands Line Tools Result apt-get install is followed by one or more packages desired for installation or upgrading. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |