Docker image build script:
Download Nvidia Video SDK from https://developer.nvidia.com/nvidia-video-codec-sdk/download
and unpack it under the current project folder, using the name "Video_Codec_SDK"
Note: The headerfile in SDK version 9 is under "./include" but SDK 10 is under "./Interface".
docker build -t youyu/gstreamer-nvenc-opencv-python -f Dockerfile .
xhost local:root
docker run -it --gpus all -e NVIDIA_DRIVER_CAPABILITIES=all -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -e XAUTHORITY --rm -v $(pwd):/development youyu/gstreamer-nvenc-opencv-python bash
Content type
Image
Digest
Size
2.3 GB
Last updated
about 6 years ago
docker pull youyu/gstreamer-nvenc-opencv-python:1.16.2