It’s optional step but if you planning using in future regular software encoding also, you need install x264. # cp Video_Codec_SDK_9.0.20/Samples/common.mk /usr/local/include/ $ export PATH=/usr/local/cuda-10.1/bin$įrom NVIDIA website download Video Codec SDK from: ,Īfter unzip copy all headers: # unzip Video_Codec_SDK_9.0.20.zip IMPORTANT! Set up environment variable and LD_LIBRARY_PATH path. You can check NVIDIA GPU drivers installation by command: # nvidia-smi Install CUDA Toolkit 10.1 from NVIDIA official site. Here is Video Encode and Decode GPU Support Matrix. In our case it’s NVIDIA GP106 Pascal family GPU with NVENC support. Identify your installed NVIDIA video card: # lshw -numeric -C display To disable the default Nouveau Nvidia driver follow guide: How to disable Nouveau Nvidia driver on Ubuntu 18.04. Install CUDA Toolkot 10.1, NVIDIA drivers on Ubuntu 18.04īefore proceeding installation NVIDIA drivers on Ubuntu you must disable Nouveau kernel driver. Libx11-dev libxmu-dev libxi-dev libglu1-mesa libglu1-mesa-dev Libavcodec-dev libavformat-dev libavutil-dev pkgconf g freeglut3-dev \ Install necessary software: dpkg -add-architecture i386Īpt-get install build-essential git yasm unzip wget sysstat nasm libc6:i386 \ To enable hardware acceleration transcoding in FFmpeg we need compile FFmpeg with NVENC h264 codec support. How To Compile FFmpeg With NVENC H264 Hardware Encoder in Ubuntu 18.04
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |