Jellyfin Forum
Playback 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: Playback error (/t-playback-error)



Playback error - Coosis - 2023-06-22

I've just installed jellyfin via docker on my RPI 4. When i tried to open a .mp4, i got an error message saying:
Playback Error
This client isn't compatible with the media and the server isn't sending a compatible media format.

I've referred to a github discussion, and i have set the correct path for ffmpeg, restart jellyfin and tried again, nothing.
I don't know how to verify the stuff he mentioned.
Here's the log:
Code:
[2023-06-22 01:15:31.859 +00:00] [INF] [1] Main: Jellyfin version: "10.7.7"
[2023-06-22 01:15:31.924 +00:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_MEDIA_DIR, /media]", "[JELLYFIN_FFMPEG, /usr/lib/jellyfin-ffmpeg/ffmpeg]", "[DOTNET_SYSTEM_GLOBALIZATION_INVARIANT, 1]", "[JELLYFIN_CONFIG_DIR, /config/config]", "[JELLYFIN_CACHE_DIR, /cache]", "[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_DATA_DIR, /config]", "[JELLYFIN_WEB_DIR, /jellyfin/jellyfin-web]"]
[2023-06-22 01:15:31.937 +00:00] [INF] [1] Main: Arguments: ["/jellyfin/jellyfin.dll"]
[2023-06-22 01:15:31.940 +00:00] [INF] [1] Main: Operating system: "Linux"
[2023-06-22 01:15:31.940 +00:00] [INF] [1] Main: Architecture: Arm
[2023-06-22 01:15:31.943 +00:00] [INF] [1] Main: 64-Bit Process: False
[2023-06-22 01:15:31.943 +00:00] [INF] [1] Main: User Interactive: True
[2023-06-22 01:15:31.943 +00:00] [INF] [1] Main: Processor count: 4
[2023-06-22 01:15:31.944 +00:00] [INF] [1] Main: Program data path: "/config"
[2023-06-22 01:15:31.944 +00:00] [INF] [1] Main: Web resources path: "/jellyfin/jellyfin-web"
[2023-06-22 01:15:31.944 +00:00] [INF] [1] Main: Application directory: "/jellyfin/"
[2023-06-22 01:15:32.670 +00:00] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/cache"
[2023-06-22 01:15:32.840 +00:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : "[127.0.0.1/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2023-06-22 01:15:32.840 +00:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : "[]"
[2023-06-22 01:15:32.843 +00:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: "[127.0.0.1/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2023-06-22 01:15:32.878 +00:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: "[]"
[2023-06-22 01:15:32.879 +00:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind exclusions: "[]"
[2023-06-22 01:15:32.961 +00:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
[2023-06-22 01:15:33.640 +00:00] [INF] [2] Main: Received a SIGTERM signal, shutting down
[2023-06-22 01:15:36.362 +00:00] [INF] [1] Main: Jellyfin version: "10.7.7"
[2023-06-22 01:15:36.434 +00:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_WEB_DIR, /jellyfin/jellyfin-web]", "[JELLYFIN_MEDIA_DIR, /media]", "[JELLYFIN_CONFIG_DIR, /config/config]", "[DOTNET_SYSTEM_GLOBALIZATION_INVARIANT, 1]", "[JELLYFIN_FFMPEG, /usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_CACHE_DIR, /cache]", "[JELLYFIN_DATA_DIR, /config]", "[JELLYFIN_LOG_DIR, /config/log]"]
[2023-06-22 01:15:36.448 +00:00] [INF] [1] Main: Arguments: ["/jellyfin/jellyfin.dll"]
[2023-06-22 01:15:36.453 +00:00] [INF] [1] Main: Operating system: "Linux"
[2023-06-22 01:15:36.453 +00:00] [INF] [1] Main: Architecture: Arm
[2023-06-22 01:15:36.457 +00:00] [INF] [1] Main: 64-Bit Process: False
[2023-06-22 01:15:36.457 +00:00] [INF] [1] Main: User Interactive: True
[2023-06-22 01:15:36.457 +00:00] [INF] [1] Main: Processor count: 4
[2023-06-22 01:15:36.457 +00:00] [INF] [1] Main: Program data path: "/config"
[2023-06-22 01:15:36.458 +00:00] [INF] [1] Main: Web resources path: "/jellyfin/jellyfin-web"
[2023-06-22 01:15:36.458 +00:00] [INF] [1] Main: Application directory: "/jellyfin/"
[2023-06-22 01:15:37.179 +00:00] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/cache"
[2023-06-22 01:15:37.353 +00:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : "[127.0.0.1/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2023-06-22 01:15:37.353 +00:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : "[]"
[2023-06-22 01:15:37.356 +00:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: "[127.0.0.1/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2023-06-22 01:15:37.390 +00:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: "[]"
[2023-06-22 01:15:37.390 +00:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind exclusions: "[]"
[2023-06-22 01:15:37.482 +00:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
[2023-06-22 01:15:42.959 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "OMDb" "10.7.7.0"
[2023-06-22 01:15:42.963 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "MusicBrainz" "10.7.7.0"
[2023-06-22 01:15:42.965 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "AudioDB" "10.7.7.0"
[2023-06-22 01:15:43.227 +00:00] [INF] [1] Main: Kestrel listening on "Any IP4 Address"
[2023-06-22 01:15:44.385 +00:00] [WRN] [1] Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository: Using an in-memory repository. Keys will not be persisted to storage.
[2023-06-22 01:15:44.387 +00:00] [WRN] [1] Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager: Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits.
[2023-06-22 01:15:44.420 +00:00] [WRN] [1] Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager: No XML encryptor configured. Key {ba39de0d-af7e-434e-a525-3474f7f1ed5d} may be persisted to storage in unencrypted form.
[2023-06-22 01:15:44.522 +00:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Running startup tasks
[2023-06-22 01:15:44.768 +00:00] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for "Extract Chapter Images" set to fire at 06/22/2023 02:00, which is 0:44:15.2326982 from now.
[2023-06-22 01:15:44.920 +00:00] [ERR] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg validation: The process returned no result
[2023-06-22 01:15:44.921 +00:00] [WRN] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: Custom: Failed version check: "/usr/lib/jellyfin-ffmpeg/ffmpeg"
[2023-06-22 01:15:44.969 +00:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: Custom: "/usr/lib/jellyfin-ffmpeg/ffmpeg"
[2023-06-22 01:15:44.973 +00:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: ServerId: "59606540b92c4bf89ee738542ccca620"
[2023-06-22 01:15:45.395 +00:00] [INF] [1] Emby.Dlna.Main.DlnaEntryPoint: Registering publisher for "urn:schemas-upnp-org:device:MediaServer:1" on "192.168.3.173/24"
[2023-06-22 01:15:45.457 +00:00] [INF] [1] Emby.Dlna.Main.DlnaEntryPoint: Registering publisher for "urn:schemas-upnp-org:device:MediaServer:1" on "192.168.3.174/24"
[2023-06-22 01:15:45.469 +00:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all pre-startup entry points in 0:00:00.4482616
[2023-06-22 01:15:45.470 +00:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Core startup complete
[2023-06-22 01:15:46.270 +00:00] [INF] [4] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /media
[2023-06-22 01:15:46.270 +00:00] [INF] [11] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /media2
[2023-06-22 01:15:46.275 +00:00] [WRN] [14] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.3.173:8096/System/Info/Public" to "192.168.3.170" in 0:00:00.9378827 with Status Code 200
[2023-06-22 01:15:46.283 +00:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all post-startup entry points in 0:00:00.8110257
[2023-06-22 01:15:46.283 +00:00] [INF] [1] Main: Startup complete 0:00:10.5423642
[2023-06-22 01:15:46.606 +00:00] [INF] [21] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.3.170" request
[2023-06-22 01:15:47.504 +00:00] [WRN] [7] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.3.173:8096/DisplayPreferences/usersettings?userId=10af9a82b0334d9291e612c258576d35&client=emby" to "192.168.3.170" in 0:00:00.9171266 with Status Code 200
[2023-06-22 01:15:47.519 +00:00] [WRN] [4] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.3.173:8096/Sessions/Capabilities/Full" to "192.168.3.170" in 0:00:00.9348671 with Status Code 204
[2023-06-22 01:15:47.787 +00:00] [INF] [4] Emby.Server.Implementations.ScheduledTasks.TaskManager: "StartupTrigger" fired for task: "Update Plugins"
[2023-06-22 01:15:47.790 +00:00] [INF] [4] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task "PluginUpdateTask"
[2023-06-22 01:15:47.809 +00:00] [INF] [21] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Update Plugins"
[2023-06-22 01:15:48.070 +00:00] [WRN] [23] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.3.173:8096/Users/10af9a82b0334d9291e612c258576d35/Views" to "192.168.3.170" in 0:00:00.5171004 with Status Code 200
[2023-06-22 01:15:50.777 +00:00] [INF] [19] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Update Plugins" Completed after 0 minute(s) and 2 seconds
[2023-06-22 01:15:50.885 +00:00] [INF] [19] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
[2023-06-22 01:18:35.540 +00:00] [INF] [54] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-06-22 01:19:35.555 +00:00] [INF] [65] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-06-22 01:20:35.557 +00:00] [INF] [75] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-06-22 01:21:35.561 +00:00] [INF] [92] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-06-22 01:21:48.851 +00:00] [WRN] [96] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS "192.168.3.170" error receiving data: "The remote party closed the WebSocket connection without completing the close handshake."
[2023-06-22 01:21:48.933 +00:00] [INF] [96] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.3.170" closed
[2023-06-22 01:27:59.813 +00:00] [INF] [40] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.3.170" request
[2023-06-22 01:28:48.075 +00:00] [INF] [38] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-06-22 01:29:00.080 +00:00] [INF] [46] Emby.Server.Implementations.Session.SessionWebSocketListener: Lost 1 WebSockets.



RE: Playback error - thornbill - 2023-06-22

Code:
Jellyfin version: "10.7.7"

You really should update and there is no reason to change the ffmpeg path in a docker install.


RE: Playback error - nothingveryobvious - 2023-06-22

Sometimes I get that playback error when Jellyfin watches for new media and adds it. Doing a full library scan usually fixes it for me.


RE: Playback error - use7 - 2023-06-22

Going off the lines:

>[2023-06-22 01:15:44.920 +00:00] [ERR] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg validation: The process returned no result
>[2023-06-22 01:15:44.921 +00:00] [WRN] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: Custom: Failed version check: "/usr/lib/jellyfin-ffmpeg/ffmpeg"

your install is having issues either finding ffmpeg (or has a version of ffmpeg that's too old).  Going off [this github comment](https://github.com/jellyfin/jellyfin/issues/478) it may be fixed in the new JF docker so a quick docker update should work (or setting the ffmpeg path to /usr/local/bin/ffmpeg I believe is where they claim it is located) to let you transcode.