Closed JasonMeudt closed 2 years ago
This is an FFMPEG error related to hardware decoding, not really related to the script specifically
[h264_qsv @ 0x55f603a5e240] No device available for decoder: device type qsv needed for codec h264_qsv.
Stream mapping:
Stream #0:0 -> #0:0 (h264 (h264_qsv) -> hevc (hevc_qsv))
Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Stream #0:1 -> #0:2 (aac (native) -> ac3 (native))
Device setup failed for decoder on input stream #0:0 : Generic error in an external library
Specifically related to your hardware decoder. If you're using the decoder with manual.py and it's working fine, then it's probably a permission issue. You're not explicitly setting a device here so it's using the default but you need to make sure whatever user Radarr is running under has permission to access your hardware acceleration device
The warning WARNING: defaulting hwaccel_output_format to qsv for compatibility with old commandlines. This behaviour is DEPRECATED and will be removed in the future. Please explicitly set "-hwaccel_output_format qsv".
can be fixed by setting your format in autoProcess.ini
hwaccel-output-format = qsv:qsv
The default device is usually /dev/dri/renderD128
to help point you in the right direction for permission fixing
While I am sure that there are a TON of needs for permissions, as a new user to *nix, there is always something 'wrong' and it can almost always be traced back to improper permissions...
That said, radarr needed to be added to the render group via:
sudo usermod -a -G render radarr
For the next newbie who has not grasped the nuances in permissions...
Thanks for being so gentle!
Switching over from Win to Ubuntu, I am getting the following error(s) in my SMA log when using my postSonarr.sh script.. I am using the 4.4.1 Jellyfin FFMPEG build. Funny thing is that using manual.py works just great...
WARNING: defaulting hwaccel_output_format to qsv for compatibility with old commandlines. This behaviour is DEPRECATED and will be removed in the future. Please explicitly set "-hwaccel_output_format qsv".
and
[h264_qsv @ 0x55f603a5e240] No device available for decoder: device type qsv needed for codec h264_qsv.