#Hardware Transcoding config using docker-compose.yml file - Nvidia
1 messages · Page 1 of 1 (latest)
You can find more information in this post https://discord.com/channels/979116623879368755/1137893039197651055
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?
pinging @little violet
Did you set the hardware transcoding setting to NVENC in the admin page? It will still use the CPU if not.
Are you using UnRaid?
If so you might need to add
runtime=Nvidia as an environment variable
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)?
lol that issue is actually an open pr at the moment https://github.com/immich-app/immich/pull/3577
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?
https://en.wikipedia.org/wiki/Nvidia_NVENC - see GP104 column
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...
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
Just to clarify: The new PR should fix this for my case?
yep
Thanks a lot. This is beautiful work you guys are doing!