Changes between Version 67 and Version 68 of HWAccelIntro
- Timestamp:
- Jan 6, 2019, 2:38:04 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HWAccelIntro
v67 v68 124 124 125 125 * A [https://developer.nvidia.com/video-encode-decode-gpu-support-matrix supported GPU] 126 * Supported drivers 126 * Supported drivers for your operating system 127 * [https://developer.nvidia.com/nvidia-video-codec-sdk The NVIDIA Codec SDK] 127 128 * {{{ffmpeg}}} configured with {{{--enable-nvenc}}} (default if the drivers are detected while configuring) 128 129 129 Check [https://developer.nvidia.com/nvidia-video-codec-sdk the NVIDIA website] for more info on the supported GPUs and drivers. 130 {{{ 131 #!div style="border: 1px solid #e5e5c7; margin: 1em; background-color: #ffd;" 132 '''Note:''' 133 FFmpeg uses its own slightly modified runtime-loader for NVIDIA's CUDA/NVENC/NVDEC-related libraries. If you get an error from `configure` complaining about missing `ffnvcodec`, [http://git.videolan.org/?p=ffmpeg/nv-codec-headers.git;a=summary this project] is what you need. It has a working Makefile with an install target: {{{make install PREFIX=/usr}}}. FFmpeg will look for its pkg-config file, called `ffnvcodec.pc`. Make sure it is in your `PKG_CONFIG_PATH`. 134 135 This means that running the following before compiling ffmpeg should suffice: 136 137 {{{ 138 git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers.git 139 cd nv-codec-headers 140 make 141 sudo make install 142 }}} 143 }}} 144 145 After compilation, you can use NVENC. 130 146 131 147 Usage example: … … 141 157 }}} 142 158 143 {{{ 144 #!div style="border: 1px solid #e5e5c7; margin: 1em; background-color: #ffd;" 145 '''Note:''' 146 FFmpeg now uses its own slightly modified runtime-loader for NVIDIA's CUDA/NVENC/NVDEC-related libraries. If you get an error from `configure` complaining about missing `ffnvcodec`, [http://git.videolan.org/?p=ffmpeg/nv-codec-headers.git;a=summary this project] is what you need. It has a working Makefile with an install target: {{{make install PREFIX=/usr}}}. FFmpeg will look for its pkg-config file, called `ffnvcodec.pc`. Make sure it is in your `PKG_CONFIG_PATH`. 147 }}} 159 160 148 161 149 162 == NVDEC/CUVID ==
