• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Direct Play issues with certain films

     
    • 0 Vote(s) - 0 Average

    Direct Play issues with certain films

    chimpfacts
    Offline

    Junior Member

    Posts: 8
    Threads: 2
    Joined: 2023 Oct
    Reputation: 0
    Country:Australia
    #6
    2024-02-27, 08:53 AM (This post was last modified: 2024-02-27, 08:54 AM by chimpfacts. Edited 1 time in total.)
    (2024-02-27, 05:15 AM)TheDreadPirate Wrote: If it is only happening on a few videos, and if these videos are in MKV containers, we can try repackaging the videos without reencoding them.

    Code:
    /usr/lib/jellyfin-ffmpeg/ffmpeg -fflags genpts -i "/path/to/video.mkv" -map 0:v -map 0:a -map 0:s -map_chapters 0 -c:v copy -c:a copy -c:s copy outputFile.mkv

    I tried this on one of the problematic movies, it is marginally better but still the same issue occurs, same timestamps are buffering on different clients.



    The below logs were what showed during the stream from the start, The "slow HTTP response" error shows even during streams with no issues so I didn't think that would be a problem.:
    Code:
    [19:47:22] [INF] [44] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for sc-jellyfin. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
    [19:48:33] [DBG] [44] Emby.Server.Implementations.Session.SessionWebSocketListener: Watching 1 WebSockets.
    [19:48:21] [DBG] [44] Emby.Server.Implementations.Session.SessionWebSocketListener: Watching 1 WebSockets.
    [19:48:32] [DBG] [26] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was not authenticated.
    [19:48:23] [DBG] [41] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was successfully authenticated.
    [19:48:09] [DBG] [3] Emby.Server.Implementations.Session.SessionWebSocketListener: Watching 1 WebSockets.
    [19:48:31] [WRN] [38] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from http://tdgserv-docker:8096/Sessions/Playing/Progress to 192.168.0.231 in 0:00:00.7197194 with Status Code 204
    [19:48:30] [DBG] [38] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was successfully authenticated.
    [19:48:23] [WRN] [41] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from http://tdgserv-docker:8096/Sessions/Playing/Progress to 192.168.0.231 in 0:00:00.8785513 with Status Code 204
    [19:48:13] [DBG] [45] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was successfully authenticated.
    [19:48:13] [WRN] [45] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from http://tdgserv-docker:8096/Sessions/Playing/Progress to 192.168.0.231 in 0:00:00.7269776 with Status Code 204
    [19:48:09] [DBG] [45] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS 192.168.0.231 received message: {"MessageType": "KeepAlive", "MessageId": "00000000-0000-0000-0000-000000000000", "ServerId": null, "Data": null, "$type": "WebSocketMessage`1"}
    [19:48:03] [DBG] [3] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was successfully authenticated.
    [19:48:03] [WRN] [3] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from http://tdgserv-docker:8096/Sessions/Playing/Progress to 192.168.0.231 in 0:00:00.6462296 with Status Code 204
    [19:48:02] [DBG] [25] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was not authenticated.
    [19:47:57] [DBG] [41] Emby.Server.Implementations.Session.SessionWebSocketListener: Watching 1 WebSockets.
    [19:47:53] [WRN] [25] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from http://tdgserv-docker:8096/Sessions/Playing/Progress to 192.168.0.231 in 0:00:00.6636813 with Status Code 204
    [19:47:52] [DBG] [25] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was successfully authenticated.
    [19:47:45] [DBG] [25] Emby.Server.Implementations.Session.SessionWebSocketListener: Watching 1 WebSockets.
    [19:47:43] [WRN] [26] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from http://tdgserv-docker:8096/Sessions/Playing/Progress to 192.168.0.231 in 0:00:00.7044537 with Status Code 204
    [19:47:42] [DBG] [26] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was successfully authenticated.
    [19:47:39] [DBG] [38] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS 192.168.0.231 received message: {"MessageType": "KeepAlive", "MessageId": "00000000-0000-0000-0000-000000000000", "ServerId": null, "Data": null, "$type": "WebSocketMessage`1"}
    [19:47:33] [WRN] [22] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from http://tdgserv-docker:8096/Sessions/Playing/Progress to 192.168.0.231 in 0:00:00.7506389 with Status Code 204
    [19:47:32] [DBG] [22] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was successfully authenticated.
    [19:47:33] [DBG] [3] Emby.Server.Implementations.Session.SessionWebSocketListener: Watching 1 WebSockets.
    [19:47:24] [WRN] [39] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from http://tdgserv-docker:8096/Sessions/Playing/Progress to 192.168.0.231 in 0:00:01.1178951 with Status Code 204
    [19:47:32] [DBG] [22] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was not authenticated.
    [19:47:24] [DBG] [3] Emby.Server.Implementations.Data.SqliteItemRepository: GetItemList query time (slow): 426.1208ms. Query: select type,data,StartDate,EndDate,ChannelId,IsMovie,IsSeries,EpisodeTitle,IsRepeat,CommunityRating,CustomRating,IndexNumber,IsLocked,PreferredMetadataLanguage,PreferredMetadataCountryCode,Width,Height,DateLastRefreshed,Name,Path,PremiereDate,Overview,ParentIndexNumber,ProductionYear,OfficialRating,ForcedSortName,RunTimeTicks,Size,DateCreated,DateModified,guid,Genres,ParentId,Audio,ExternalServiceId,IsInMixedFolder,DateLastSaved,LockedFields,Studios,Tags,TrailerTypes,OriginalTitle,PrimaryVersionId,DateLastMediaAdded,Album,CriticRating,IsVirtualItem,SeriesName,SeasonName,SeasonId,SeriesId,PresentationUniqueKey,InheritedParentalRatingValue,ExternalSeriesId,Tagline,ProviderIds,Images,ProductionLocations,ExtraIds,TotalBitrate,ExtraType,Artists,AlbumArtists,ExternalId,SeriesPresentationUniqueKey,ShowId,OwnerId from TypedBaseItems A where (Guid = @IncludeId0)
    [19:47:23] [WRN] [44] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from http://tdgserv-docker:8096/Sessions/Playing to 192.168.0.231 in 0:00:00.9173265 with Status Code 204
    [19:47:23] [DBG] [44] InfuseSync.EntryPoints.UserSyncManager: InfuseSync will save user data for item 2f9fe21a-3e81-3a76-fd8c-de3997c5e407 user ef7992a0-598f-42a7-88bc-0a5c58ff0bcf
    [19:47:23] [DBG] [44] InfuseSync.EntryPoints.UserSyncManager: InfuseSync received user data for item 'Wonka' of type 'Movie' Guid '2f9fe21a-3e81-3a76-fd8c-de3997c5e407'
    [19:47:22] [DBG] [39] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was successfully authenticated.
    [19:47:22] [DBG] [25] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was not authenticated.
    [19:47:22] [DBG] [44] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was successfully authenticated.
    [19:47:22] [WRN] [44] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from http://tdgserv-docker:8096/Items/2f9fe21a3e813a76fd8cde3997c5e407/PlaybackInfo?UserId=ef7992a0598f42a788bc0a5c58ff0bcf&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&AudioStreamIndex=1&SubtitleStreamIndex=7&MediaSourceId=2f9fe21a3e813a76fd8cde3997c5e407&MaxStreamingBitrate=140000000 to 192.168.0.231 in 0:00:00.606381 with Status Code 200
    [19:47:22] [INF] [44] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile=Jellyfin Media Player, Path=/media/Existing_Media/Movies/Wonka (2023)/Wonka.mkv, AudioStreamIndex=1, SubtitleStreamIndex=7 ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) media:/videos/2f9fe21a-3e81-3a76-fd8c-de3997c5e407/stream.mkv?MediaSourceId=2f9fe21a3e813a76fd8cde3997c5e407&Static=true&VideoCodec=h264&AudioCodec=truehd&AudioStreamIndex=1&SubtitleStreamIndex=7&api_key=<token>&SubtitleMethod=Embed&Tag=b04071adde95ee31ed5e5832d362aa16
    [19:47:22] [DBG] [44] Jellyfin.Api.Helpers.MediaInfoHelper: DirectPlay Result for Profile: Jellyfin Media Player, Path: /media/Existing_Media/Movies/Wonka (2023)/Wonka.mkv, PlayMethod: DirectPlay, AudioStreamIndex: 1, SubtitleStreamIndex: 7, Reasons: 0
    [19:47:22] [DBG] [44] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: Jellyfin Media Player, Path: /media/Existing_Media/Movies/Wonka (2023)/Wonka.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: False
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Direct Play issues with certain films - by chimpfacts - 2024-02-26, 11:07 AM
    RE: Direct Play issues with certain films - by toytown - 2024-02-26, 11:34 AM
    RE: Direct Play issues with certain films - by TheDreadPirate - 2024-02-26, 05:47 PM
    RE: Direct Play issues with certain films - by chimpfacts - 2024-02-27, 04:47 AM
    RE: Direct Play issues with certain films - by TheDreadPirate - 2024-02-27, 05:15 AM
    RE: Direct Play issues with certain films - by chimpfacts - 2024-02-27, 08:53 AM
    RE: Direct Play issues with certain films - by TheDreadPirate - 2024-02-27, 06:36 PM
    RE: Direct Play issues with certain films - by chimpfacts - 2024-02-28, 09:43 AM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode