Changes between Version 67 and Version 68 of HWAccelIntro


Ignore:
Timestamp:
Jan 6, 2019, 4:38:04 PM (8 months ago)
Author:
slhck
Comment:

include specific commands for compiling nvidia headers

Legend:

Unmodified
Added
Removed
Modified
  • HWAccelIntro

    v67 v68  
    124124
    125125* 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]
    127128* {{{ffmpeg}}} configured with {{{--enable-nvenc}}} (default if the drivers are detected while configuring)
    128129
    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:'''
     133FFmpeg 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
     135This means that running the following before compiling ffmpeg should suffice:
     136
     137{{{
     138git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers.git
     139cd nv-codec-headers
     140make
     141sudo make install
     142}}}
     143}}}
     144
     145After compilation, you can use NVENC.
    130146
    131147Usage example:
     
    141157}}}
    142158
    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
    148161
    149162== NVDEC/CUVID ==