Jellyfin Forum
SOLVED: Playback failed due to a fatal player error - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: Playback failed due to a fatal player error (/t-solved-playback-failed-due-to-a-fatal-player-error--7349)

Pages: 1 2


RE: Playback failed due to a fatal player error - FatMax1492 - 2024-08-08

I'll try that, thanks.

But do I not need ffmpeg in environment variables in order to use it for Navidrome?


RE: Playback failed due to a fatal player error - FatMax1492 - 2024-08-08

(2024-08-08, 04:23 PM)TheDreadPirate Wrote: Jellyfin is almost certainly not using the correct ffmpeg.

Code:
[2024-08-08 11:35:01.850 +02:00] [ERR] [9] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL "GET" "/videos/c2d00ba0-8813-7170-4d93-2ee744aa4f62/live.m3u8".
System.ArgumentNullException: Value cannot be null. (Parameter '_mediaEncoder.EncoderPath')
  at System.ArgumentNullException.Throw(String paramName)
  at System.ArgumentNullException.ThrowIfNull(Object argument, String paramName)
  at System.ArgumentException.ThrowNullOrEmptyException(String argument, String paramName)
  at System.ArgumentException.ThrowIfNullOrEmpty(String argument, String paramName)
  at MediaBrowser.MediaEncoding.Transcoding.TranscodeManager.StartFfMpeg(StreamState state, String outputPath, String commandLineArguments, Guid userId, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource, String workingDirectory)

This is saying it can't access ffmpeg.  Which means when Jellyfin is calling "ffmpeg" it is getting the other ffmpeg you have on your system and Jellyfin doesn't have access to it.

I'm not entirely sure how to change this in newer versions of Jellyfin since we locked down changing the ffmpeg path due to security issues.

I think you'd have to modify C:\ProgramData\Jellyfin\Server\config\encoding.xml and provide the full path to ffmpeg.exe in the Jellyfin Program Files folder.

This is what the encoding.xml file looks like. How exactly do I provide the path? I don't know the proper syntax. 

https://imgur.com/a/Dm6kFCz


RE: Playback failed due to a fatal player error - theguymadmax - 2024-08-08

You can set your ffmpeg path using a config file for navidrome: https://www.navidrome.org/docs/usage/configuration-options/


RE: Playback failed due to a fatal player error - FatMax1492 - 2024-08-08

I'm asking for Jellyfin Smiling-face

https://imgur.com/a/o0f7ifh


RE: Playback failed due to a fatal player error - theguymadmax - 2024-08-08

(2024-08-08, 06:43 PM)FatMax1492 Wrote: This is what the encoding.xml file looks like. How exactly do I provide the path? I don't know the proper syntax. 


Configuration of the FFmpeg paths via encoding.xml was deprecated starting on 10.9. You should remove the path from your environment variables instead of editing the encoding.xml file.


RE: Playback failed due to a fatal player error - FatMax1492 - 2024-08-08

Also I'm sorry if these questions sound stupid. I've never done anything like this before


RE: Playback failed due to a fatal player error - FatMax1492 - 2024-08-08

https://pastebin.com/YRbwC3kA

No juice unfortunately. Same error


RE: Playback failed due to a fatal player error - FatMax1492 - 2024-08-08

I realised I had the previous config running.

It's working now! Yay!!

Thank you so much