Hey everybody! After a few days of banging my head on my desk, I have succeeded in creating both Plex and Emby docker containers that can utilize my Nvidia Quadro P620 GPU for transcoding video!
I have documented what I did here: https://gist.github.com/weshofmann/620b ... 15e48e793b
Hope this helps someone else!
[PLEX NVIDIA] Nvidia Hardware Transcoding in Plex and Emby Docker Containers
-
- New here
- Posts: 7
- Joined: Sun Jul 28, 2019 2:44 am
-
- New here
- Posts: 9
- Joined: Sat Feb 14, 2015 12:28 pm
Re: [PLEX NVIDIA] Nvidia Hardware Transcoding in Plex and Emby Docker Containers
You're a legend, going to try this with my ts-473 now.
-
- New here
- Posts: 3
- Joined: Wed Jan 15, 2020 11:47 pm
Re: [PLEX NVIDIA] Nvidia Hardware Transcoding in Plex and Emby Docker Containers
Is this still working?
I am getting this error:
```
May 12, 2020 22:15:45.431 [0x7fe0a8ff9700] DEBUG - Codecs: testing h264_vaapi (encoder)
May 12, 2020 22:15:45.431 [0x7fe0a8ff9700] DEBUG - Codecs: hardware transcoding: testing API vaapi
May 12, 2020 22:15:45.431 [0x7fe0a8ff9700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Generic error in an external library
May 12, 2020 22:15:45.431 [0x7fe0a8ff9700] DEBUG - Codecs: testing h264_nvenc (encoder)
May 12, 2020 22:15:45.432 [0x7fe0a8ff9700] DEBUG - Codecs: hardware transcoding: testing API nvenc
May 12, 2020 22:15:45.432 [0x7fe0a8ff9700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
May 12, 2020 22:15:45.432 [0x7fe0a8ff9700] ERROR - [FFMPEG] - Could not dynamically load CUDA
May 12, 2020 22:15:45.432 [0x7fe0a8ff9700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
May 12, 2020 22:15:45.432 [0x7fe0a8ff9700] DEBUG - Codecs: testing hevc (decoder) with hwdevice vaapi
May 12, 2020 22:15:45.432 [0x7fe0a8ff9700] DEBUG - Codecs: hardware transcoding: testing API vaapi
May 12, 2020 22:15:45.432 [0x7fe0a8ff9700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Generic error in an external library
May 12, 2020 22:15:45.432 [0x7fe0a8ff9700] DEBUG - Codecs: testing hevc (decoder) with hwdevice nvdec
May 12, 2020 22:15:45.432 [0x7fe0a8ff9700] DEBUG - Codecs: hardware transcoding: testing API nvdec
May 12, 2020 22:15:45.432 [0x7fe0a8ff9700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
May 12, 2020 22:15:45.432 [0x7fe0a8ff9700] ERROR - [FFMPEG] - Could not dynamically load CUDA
May 12, 2020 22:15:45.432 [0x7fe0a8ff9700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
```
I am getting this error:
```
May 12, 2020 22:15:45.431 [0x7fe0a8ff9700] DEBUG - Codecs: testing h264_vaapi (encoder)
May 12, 2020 22:15:45.431 [0x7fe0a8ff9700] DEBUG - Codecs: hardware transcoding: testing API vaapi
May 12, 2020 22:15:45.431 [0x7fe0a8ff9700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Generic error in an external library
May 12, 2020 22:15:45.431 [0x7fe0a8ff9700] DEBUG - Codecs: testing h264_nvenc (encoder)
May 12, 2020 22:15:45.432 [0x7fe0a8ff9700] DEBUG - Codecs: hardware transcoding: testing API nvenc
May 12, 2020 22:15:45.432 [0x7fe0a8ff9700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
May 12, 2020 22:15:45.432 [0x7fe0a8ff9700] ERROR - [FFMPEG] - Could not dynamically load CUDA
May 12, 2020 22:15:45.432 [0x7fe0a8ff9700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
May 12, 2020 22:15:45.432 [0x7fe0a8ff9700] DEBUG - Codecs: testing hevc (decoder) with hwdevice vaapi
May 12, 2020 22:15:45.432 [0x7fe0a8ff9700] DEBUG - Codecs: hardware transcoding: testing API vaapi
May 12, 2020 22:15:45.432 [0x7fe0a8ff9700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Generic error in an external library
May 12, 2020 22:15:45.432 [0x7fe0a8ff9700] DEBUG - Codecs: testing hevc (decoder) with hwdevice nvdec
May 12, 2020 22:15:45.432 [0x7fe0a8ff9700] DEBUG - Codecs: hardware transcoding: testing API nvdec
May 12, 2020 22:15:45.432 [0x7fe0a8ff9700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
May 12, 2020 22:15:45.432 [0x7fe0a8ff9700] ERROR - [FFMPEG] - Could not dynamically load CUDA
May 12, 2020 22:15:45.432 [0x7fe0a8ff9700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
```