gstreamer/sys/nvenc
Matthew Waters d6f7ea88bb nvenc: add support for building against version 6 of the SDK
While mostly API compatible, the ABI has changed so binaries will not work
across header versions (and ultimately nvidia driver releases).

https://bugzilla.gnome.org/show_bug.cgi?id=763324
2016-03-31 17:26:47 +11:00
..
gstnvbaseenc.c nvenc: add support for building against version 6 of the SDK 2016-03-31 17:26:47 +11:00
gstnvbaseenc.h Add Nvidia based hardware encoder element 2015-09-29 15:32:17 +10:00
gstnvenc.c Add Nvidia based hardware encoder element 2015-09-29 15:32:17 +10:00
gstnvenc.h Add Nvidia based hardware encoder element 2015-09-29 15:32:17 +10:00
gstnvh264enc.c bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
gstnvh264enc.h Add Nvidia based hardware encoder element 2015-09-29 15:32:17 +10:00
Makefile.am Add Nvidia based hardware encoder element 2015-09-29 15:32:17 +10:00
README Add Nvidia based hardware encoder element 2015-09-29 15:32:17 +10:00
TODO Add Nvidia based hardware encoder element 2015-09-29 15:32:17 +10:00

This plugin is intended for use with NVIDIA hardware.  Specifically, the NVENC
block available in recent NVIDIA GPU hardware.  This is provided by a
libnvidia-encode library provided by NVIDIA graphic drivers.

Requirements
------------
Cuda > 6.5
NVENC 5.0

See https://developer.nvidia.com/nvidia-video-codec-sdk for a list of
supported GPU's.

Building
--------
1. Retrieve the NVENC SDK
from https://developer.nvidia.com/nvidia-video-codec-sdk
- http://developer.download.nvidia.com/compute/nvenc/v5.0/nvenc_5.0.1_sdk.zip
2. unzip this somewhere and retreive or note the location of the
nvEncodeAPI.h under nvenc_api-5.0.1/Samples/common/inc/
3. Retreive a version of cuda from
https://developer.nvidia.com/cuda-downloads and install somewhere noting
the installation prefix (typically /opt/cuda or /usr/local/cuda)
4. Now that the dependencies are sorted, there are a couple of
environment variables and/or or configure arguments that are needed to
detect the necessary libraries/headers.

More information is available from the following locations

[1] - https://developer.nvidia.com/cuda-downloads
[2] - https://developer.nvidia.com/nvidia-video-codec-sdk