2024-10-06, 01:46 PM
Hi,
I am currently experiencing an issue with direct play and cannot find a solution. Unfortunately, I haven't found any relevant threads on the forum or GitHub issues that address this problem.
For some movies, direct play doesn't work as expected. When attempting playback, the client I've tried (Edge, Chrome, Arc, Swiftfin IOS, and JellyfinMediaPlayer-1.11.1-windows) send a flood of requests to the server. It only starts working after 2944 requests and with 917 MB transferred (these number change from tests) in resources. Other movies with the same filesize and encoding work fine.
Additionally, this issue occurs both when accessing the server behind an Nginx reverse proxy and when accessing it directly. However, the error does not occur if the movie is transcoded instead of using direct play.
Here’s a snippet from the server logs (Docker on a Debian 12 VM, 8GB RAM, Jellifin v10.9.11), although they don’t seem to provide any additional information beyond successful authentication:
I’m hoping someone can help resolve this issue, as I’m not sure what’s causing the problem. Any insights would be greatly appreciated.
Thank you!
I am currently experiencing an issue with direct play and cannot find a solution. Unfortunately, I haven't found any relevant threads on the forum or GitHub issues that address this problem.
For some movies, direct play doesn't work as expected. When attempting playback, the client I've tried (Edge, Chrome, Arc, Swiftfin IOS, and JellyfinMediaPlayer-1.11.1-windows) send a flood of requests to the server. It only starts working after 2944 requests and with 917 MB transferred (these number change from tests) in resources. Other movies with the same filesize and encoding work fine.
Additionally, this issue occurs both when accessing the server behind an Nginx reverse proxy and when accessing it directly. However, the error does not occur if the movie is transcoded instead of using direct play.
Here’s a snippet from the server logs (Docker on a Debian 12 VM, 8GB RAM, Jellifin v10.9.11), although they don’t seem to provide any additional information beyond successful authentication:
Code:
[2024-10-06 13:28:48.189 +00:00] [DBG] [163] MediaBrowser.Controller.Entities.BaseItem: "Playlists" has no parental rating set.
[2024-10-06 13:28:48.189 +00:00] [INF] [163] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "max". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2024-10-06 13:28:48.189 +00:00] [DBG] [163] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: "Unknown Profile", Path: "/media/movies/The_Hitchhiker_s_Guide_to_the_Galaxy_2005.mp4", isEligibleForDirectPlay: True, isEligibleForDirectStream: False
[2024-10-06 13:28:48.190 +00:00] [DBG] [163] Jellyfin.Api.Helpers.MediaInfoHelper: DirectPlay Result for Profile: "Anonymous Profile", Path: "/media/movies/The_Hitchhiker_s_Guide_to_the_Galaxy_2005.mp4", PlayMethod: DirectPlay, AudioStreamIndex: 1, SubtitleStreamIndex: null, Reasons: 0
[2024-10-06 13:28:48.540 +00:00] [DBG] [40] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-10-06 13:28:48.586 +00:00] [DBG] [40] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-10-06 13:28:48.614 +00:00] [DBG] [163] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-10-06 13:28:48.630 +00:00] [DBG] [163] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-10-06 13:28:48.659 +00:00] [DBG] [163] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-10-06 13:28:48.679 +00:00] [DBG] [163] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-10-06 13:28:48.703 +00:00] [DBG] [163] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-10-06 13:28:48.720 +00:00] [DBG] [163] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-10-06 13:28:48.733 +00:00] [DBG] [163] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-10-06 13:28:48.754 +00:00] [DBG] [163] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-10-06 13:28:48.769 +00:00] [DBG] [34] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-10-06 13:28:48.791 +00:00] [DBG] [40] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-10-06 13:28:48.807 +00:00] [DBG] [34] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-10-06 13:28:48.819 +00:00] [DBG] [34] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-10-06 13:28:48.839 +00:00] [DBG] [34] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-10-06 13:28:48.862 +00:00] [DBG] [34] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-10-06 13:28:48.876 +00:00] [DBG] [163] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-10-06 13:28:48.894 +00:00] [DBG] [34] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-10-06 13:28:48.911 +00:00] [DBG] [40] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-10-06 13:28:48.938 +00:00] [DBG] [34] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-10-06 13:28:48.960 +00:00] [DBG] [40] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-10-06 13:28:48.990 +00:00] [DBG] [34] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-10-06 13:28:49.007 +00:00] [DBG] [40] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-10-06 13:28:49.013 +00:00] [DBG] [40] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-10-06 13:28:49.035 +00:00] [DBG] [40] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-10-06 13:28:49.042 +00:00] [DBG] [40] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-10-06 13:28:49.061 +00:00] [DBG] [34] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-10-06 13:28:49.093 +00:00] [DBG] [40] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
I’m hoping someone can help resolve this issue, as I’m not sure what’s causing the problem. Any insights would be greatly appreciated.
Thank you!