Getting Started with FFmpeg/libav using NVIDIA GPUs
2018-01-05 16:33
1141 查看
Using NVIDIA hardware acceleration in FFmpeg/libav requires the following steps Download the latest FFmpeg or libav source code, by cloning the corresponding GIT repositories FFmpeg: https://git.ffmpeg.org/ffmpeg.git Libav: https://github.com/libav/libav Download and install the compatible driver from NVIDIA web site Downoad and install the CUDA Toolkit CUDA toolkit Use the following configure command (Use correct CUDA library path in config command below) ./configure --enable-cuda --enable-cuvid --enable-nvenc --enable-nonfree --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64 Use following command for build: make -j 10 Use FFmpeg/libav binary as required. To start with FFmpeg, try the below sample command line for 1:2 transcoding ffmpeg -y -hwaccel cuvid -c:v h264_cuvid -vsync 0 -i <input.mp4> -vf scale_npp=1920:1072 -vcodec h264_nvenc <output0.264> -vf scale_npp=1280:720 -vcodec h264_nvenc <output1.264> For more information on FFmpeg licensing, please see this page.https://developer.nvidia.com/ffmpeg
相关文章推荐
- Getting Started with FFmpeg/libav using NVIDIA GPUs
- Getting Started with Entity Framework 6 Code First using MVC 5--Contoso 大学
- Using lcov With FFmpeg/Libav
- Ajax 入门 - Getting started with AJAX using PHP : Tutorial
- Getting started with Seam, using JBoss Tools
- http://www.asp.net/mvc/overview/getting-started/getting-started-with-ef-using-mvc/creating-an-entity-framework-data-model-for-an-asp-net-mvc-application
- Getting Started With POSIX Threads(台湾同胞翻译的)
- Getting Started with Google Guava.pdf
- Getting Started with JD Edwards EnterpriseOne Interoperability
- tensorflow_cookbook:Ch 1: Getting Started with TensorFlow(8)08_Additional_Resources
- 分布式文件系统:Getting Started with Hadoop(转载)
- Getting Started With Python Internals
- Mainframe Basics for Security Professionals: Getting Started with RACF
- Getting Started With IronRuby And RSpec
- Getting Started with AngularJS 1.5 and ES6: part1
- Getting started with TypeScript and Sublime Text -- 摘自https://cmatskas.com/getting-started-with-typescript-and-sublime-text/
- Getting Started with Eclipse and Counterclockwise
- Getting Started with MongoDB (MongoDB Shell Edition)
- 01Getting Started---Getting Started with ASP.NET Web API 2入门WebApi2
- Getting Started with React(免积分下载)