Sign inSign up

youyu/gstreamer-nvenc-opencv-python

By youyu

•Updated about 6 years ago

Image
0

244

youyu/gstreamer-nvenc-opencv-python repository overview

⁠gstreamer-nvenc-opencv-python

Docker image build script:

⁠Prerequest

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".

⁠Build the image

docker build -t youyu/gstreamer-nvenc-opencv-python -f Dockerfile .

⁠Run the container

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

Tag summary

Content type

Image

Digest

Size

2.3 GB

Last updated

about 6 years ago

docker pull youyu/gstreamer-nvenc-opencv-python:1.16.2