#Hardware Transcoding config using docker-compose.yml file - Nvidia

1 messages · Page 1 of 1 (latest)

ruby goblet
#

How can I modify the current docker-compose.yml file to accommodate hardware transcoding features as well? I tried the following (based on a similar discord discussion for Intel quicksync), but it seems to be using by CPU. If you need more information on something, let me know.

nimble shoal
ruby goblet
#

Yeap. That was the discussion I was referring to in my question. The solution that worked for that OP was adding the config directly to the docker-compose.yml instead of using the hwaccel.yml. That post was related to Intel QuickSync, so I thought I might create a separate thread for Nvidia. Would you like me to continue my questions there?

nimble shoal
#

pinging @little violet

little violet
#

Did you set the hardware transcoding setting to NVENC in the admin page? It will still use the CPU if not.

normal agate
ruby goblet
#

Yes, I did. Looking at the logs, it says - Provided device doesn't support required NVENC features - 10 bit encode not supported.

I guess that is my hardware is not capable (I have NVIDIA Quadro P600)?

little violet
cinder gull
#

I have similar problem my nVidia P4 doesn't support B frames for HVEC ```
[hevc_nvenc @ 0x32db2a17580] Using input frames context (format cuda) with hevc_nvenc encoder.
[hevc_nvenc @ 0x32db2a17580] Loaded Nvenc version 12.0
[hevc_nvenc @ 0x32db2a17580] Nvenc initialized successfully
[hevc_nvenc @ 0x32db2a17580] Max B-frames 3 exceed 0
[hevc_nvenc @ 0x32db2a17580] Provided device doesn't support required NVENC features
[hevc_nvenc @ 0x32db2a17580] Nvenc unloaded

#

How do I turn those off?

#

Nvidia NVENC (short for Nvidia Encoder) is a feature in Nvidia graphics cards that performs video encoding, offloading this compute-intensive task from the CPU to a dedicated part of the GPU. It was introduced with the Kepler-based GeForce 600 series in March 2012.The encoder is supported in many livestreaming and recording programs, such as vMi...

little violet
#

this is a separate issue but for both, using vaapi should work.

#

but nvenc should also work for sdr content in @ruby goblet 's case

ruby goblet
#

Just to clarify: The new PR should fix this for my case?

little violet
#

yep

ruby goblet
#

Thanks a lot. This is beautiful work you guys are doing!