• 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 Suddenly can't play 4k content

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    Suddenly can't play 4k content

    maxplosive
    Offline

    Junior Member

    Posts: 14
    Threads: 4
    Joined: 2023 Jul
    Reputation: 0
    Country:Sweden
    #1
    2023-09-29, 04:46 PM (This post was last modified: 2023-09-29, 04:51 PM by maxplosive. Edited 1 time in total.)
    Haven't had any issues playing 4k content on my new server until today and now I can't play any of the old movies or shows I've already watched. Freezes after 2 seconds and then buffers, sometimes just a black screen. No issues playing HD content.
    I have a Celeron N5105 that reaches 100% usage when trying to watch the content but it hasn't been any issues before. Tried watching on my 4k tv and 4k pc monitor and neither works.

    FFmpeg.transcode:https://pastebin.com/9yijpwVk

    log:https://pastebin.com/jcjcc7Dw

    Running Jellyfin in docker on an Unraid server, haven't enabled hw acceleration cuz too dumb :P
    skribe
    Offline

    Community Moderator

    Posts: 147
    Threads: 0
    Joined: 2023 Jun
    Reputation: 5
    #2
    2023-09-29, 05:19 PM
    This stream is being transcoded because of what appears to be audio and video formats unsupported by the client device. Without hardware acceleration, your server simply cannot keep up with a 4K transcode. Your ffmpeg logs show that you're getting 10-13 fps, but a movie is approximately 23 fps. So the transcode is not fast enough to support the stream.

    I'm afraid your best option here is to do the work to enable hardware acceleration.

    If it worked before, I'm not sure why. Your client is telling the server that it doesn't support these encodings.
    maxplosive
    Offline

    Junior Member

    Posts: 14
    Threads: 4
    Joined: 2023 Jul
    Reputation: 0
    Country:Sweden
    #3
    2023-09-29, 06:19 PM
    (2023-09-29, 05:19 PM)skribe Wrote: This stream is being transcoded because of what appears to be audio and video formats unsupported by the client device. Without hardware acceleration, your server simply cannot keep up with a 4K transcode. Your ffmpeg logs show that you're getting 10-13 fps, but a movie is approximately 23 fps. So the transcode is not fast enough to support the stream.

    I'm afraid your best option here is to do the work to enable hardware acceleration.

    If it worked before, I'm not sure why. Your client is telling the server that it doesn't support these encodings.

    That's so weird, haven't had any issues at all before but now I couldn't even play the episodes I watched yesterday. I enabled QSV and got an error every time I tried to play a video but after some trials I can now play them and enabling ASS subtitles is 100x faster than previously but 4k content still stutters every 5 seconds now. log:https://pastebin.com/K1FeJyHF
    skribe
    Offline

    Community Moderator

    Posts: 147
    Threads: 0
    Joined: 2023 Jun
    Reputation: 5
    #4
    2023-09-29, 06:24 PM
    You do have QSV enabled there, but you're still only hitting 15 fps or so. That seems...a little odd to be honest. What are the details on the rest of this configuration? Perhaps this is actually a storage bottleneck or something?

    If you can't get to 23+ fps it just won't be able to keep up with the stream.
    maxplosive
    Offline

    Junior Member

    Posts: 14
    Threads: 4
    Joined: 2023 Jul
    Reputation: 0
    Country:Sweden
    #5
    2023-09-29, 07:57 PM (This post was last modified: 2023-09-29, 07:57 PM by maxplosive. Edited 1 time in total.)
    (2023-09-29, 06:24 PM)skribe Wrote: You do have QSV enabled there, but you're still only hitting 15 fps or so. That seems...a little odd to be honest. What are the details on the rest of this configuration? Perhaps this is actually a storage bottleneck or something?

    If you can't get to 23+ fps it just won't be able to keep up with the stream.

    Hmmm sometimes an episode will play without any buffering but then I close it and try again and now it stutters, maybe it's something to do with my settings? All my content is on the same drive
    https://imgur.com/a/LvE6ujl
    maxplosive
    Offline

    Junior Member

    Posts: 14
    Threads: 4
    Joined: 2023 Jul
    Reputation: 0
    Country:Sweden
    #6
    2023-09-30, 11:05 AM
    And now it takes like 30 seconds for a 720p anime show to start playing but before they started instantly, not sure what's going on.............
    Venson
    Offline

    Moderator, Server Dev, XBox Maintainer

    Posts: 376
    Threads: 7
    Joined: 2023 Jun
    Reputation: 15
    Country:Germany
    #7
    2023-09-30, 12:40 PM (This post was last modified: 2023-09-30, 12:41 PM by Venson. Edited 1 time in total.)
    With your transcode settings ffmpeg does not use HWA
    -codec:v:0 libx264 <-- that is a software transcode.
    Why exactly that is, i am not sure however. Best quess would be a missing driver/low power encoding issue
    typos are finders, keepers.
    Next Jellyfin release 10.11.0 will be Soon™
    Soon™ is an unregistered trademark of Jellyfin International
    skribe
    Offline

    Community Moderator

    Posts: 147
    Threads: 0
    Joined: 2023 Jun
    Reputation: 5
    #8
    2023-09-30, 03:04 PM
    (2023-09-30, 12:40 PM)Venson Wrote: With your transcode settings ffmpeg does not use HWA
    -codec:v:0 libx264 <-- that is a software transcode.
    Why exactly that is, i am not sure however. Best quess would be a missing driver/low power encoding issue

    I don't think you're looking at the right log. He has enabled QSV in the most recent log.

    Code:
    Stream mapping:
      Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_qsv))
      Stream #0:1 -> #0:1 (eac3 (native) -> aac (libfdk_aac))

    https://pastebin.com/K1FeJyHF
    maxplosive
    Offline

    Junior Member

    Posts: 14
    Threads: 4
    Joined: 2023 Jul
    Reputation: 0
    Country:Sweden
    #9
    2023-09-30, 08:32 PM
    So I don't really know what's going on Smiling-face I've tried playing one episode of a 4k show today multiple times on my Android tv through the jellyfin app and according to dashboard half the times I start the episode up it's transcoding due to unsupported audio and video codecs but then sometimes it says it's playing directly without transcoding so no fucking clue what's going on, is the transcoded version stored in memory? But now I've been able to play most shows and movies without stuttering though some episodes I can't enable ASS subtitles because it says it's burning in and I see the GPU spikes for a while and then after a minute of a black screen it's 50/50 if it crashes or it works without issues. When I got transcoding working as I mentioned above, switching to ASS subs took less than 5 seconds but now it's a minute of doubt....
    Venson
    Offline

    Moderator, Server Dev, XBox Maintainer

    Posts: 376
    Threads: 7
    Joined: 2023 Jun
    Reputation: 15
    Country:Germany
    #10
    2023-10-01, 09:26 AM
    Could you please provide another server log, with enabled qsv?
    typos are finders, keepers.
    Next Jellyfin release 10.11.0 will be Soon™
    Soon™ is an unregistered trademark of Jellyfin International
    Pages (2): 1 2 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • 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