mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
535adfee37
'cuDeviceComputeCapability' was deprecated as of CUDA 5.0 gstnvenc.c: In function ‘gst_nvenc_create_cuda_context’: gstnvenc.c:290:9: error: ‘cuDeviceComputeCapability’ is deprecated [-Werror=deprecated-declarations] && cuDeviceComputeCapability (&maj, &min, cdev) == CUDA_SUCCESS) { ^ https://bugzilla.gnome.org/show_bug.cgi?id=796203 |
||
---|---|---|
.. | ||
gstnvbaseenc.c | ||
gstnvbaseenc.h | ||
gstnvenc.c | ||
gstnvenc.h | ||
gstnvh264enc.c | ||
gstnvh264enc.h | ||
gstnvh265enc.c | ||
gstnvh265enc.h | ||
Makefile.am | ||
README | ||
TODO |
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