Getting these error logs after enabling Low Power Encoding and Tone Mapping in Jellyfin Playback menu. - Edit: This may be a red herring as if I disable them the issue continues, but it is also the only thing I've changed recently.
Jellyfin Logs Error:
MediaBrowser.Common.FfmpegException: ffmpeg image extraction failed for file: Location/Name rffmpeg Error: ``ERROR - Finished rffmpeg with return code 251
Jellyfin container manually running the command error:
bash: -c: line 1: syntax error near unexpected token('`
Getting these error logs after enabling Low Power Encoding and Tone Mapping in Jellyfin Playback menu. - Edit: This may be a red herring as if I disable them the issue continues, but it is also the only thing I've changed recently.
Jellyfin Logs Error:
MediaBrowser.Common.FfmpegException: ffmpeg image extraction failed for file: Location/Name rffmpeg Error: ``ERROR - Finished rffmpeg with return code 251
Jellyfin container manually running the command error:bash: -c: line 1: syntax error near unexpected token
('`The command from rffmpeg log was the below:
/usr/bin/ssh -q -t -o ConnectTimeout=1 -o ConnectionAttempts=1 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ControlMaster=auto -o ControlPath=/run/ssh-%r@%h:%p -o ControlPersist=300 -i /rffmpeg/.ssh/id_rsa transcodessh@jellyfin-transcode-2 /usr/lib/jellyfin-ffmpeg/ffmpeg -f matroska,webm -ss 00:00:15.000 -i 'file:/media/tvshows/Name (YYYY) [tvdbid-Number]/Season 01/Series - Name (YYYY) - SXXEXX - Name [WEBDL-1080p][EAC3 2.0][EN+RO][x264]-playWEB.mkv' -threads 0 -v quiet -vframes 1 -vf 'scale=trunc(iw*sar):ih' -f image2 /cache/temp/CacheID.jpg
I found that from the Jellyfin container this part of the command worked:
/usr/bin/ssh -q -t -o ConnectTimeout=1 -o ConnectionAttempts=1 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ControlMaster=auto -o ControlPath=/run/ssh-%r@%h:%p -o ControlPersist=300 -i /rffmpeg/.ssh/id_rsa transcodessh@jellyfin-transcode-2
I also found that from both the Jellyfin container and the Remote Transcode container this part of the command worked:
/usr/lib/jellyfin-ffmpeg/ffmpeg -f matroska,webm -ss 00:00:15.000 -i 'file:/media/tvshows/Name (YYYY) [tvdbid-Number]/Season 01/Series - Name (YYYY) - SXXEXX - Name [WEBDL-1080p][EAC3 2.0][EN+RO][x264]-playWEB.mkv' -threads 0 -v quiet -vframes 1 -vf 'scale=trunc(iw*sar):ih' -f image2 /cache/temp/CacheID.jpg
If I adjust the total command to below then it works manually from the Jellyfin container:
/usr/bin/ssh -q -t -o ConnectTimeout=1 -o ConnectionAttempts=1 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ControlMaster=auto -o ControlPath=/run/ssh-%r@%h:%p -o ControlPersist=300 -i /rffmpeg/.ssh/id_rsa transcodessh@jellyfin-transcode-2 "/usr/lib/jellyfin-ffmpeg/ffmpeg -f matroska,webm -ss 00:00:15.000 -i 'file:/media/tvshows/Name (YYYY) [tvdbid-Number]/Season 01/Series - Name (YYYY) - SXXEXX - Name [WEBDL-1080p][EAC3 2.0][EN+RO][x264]-playWEB.mkv' -threads 0 -v quiet -vframes 1 -vf 'scale=trunc(iw*sar):ih' -f image2 /cache/temp/CacheID.jpg"