• 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 Video Freezing While Audio Keeps Playing

    Pages (3): 1 2 3 Next »

     
    • 0 Vote(s) - 0 Average

    Video Freezing While Audio Keeps Playing

    TechOwl
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2024 Oct
    Reputation: 0
    Country:United States
    #1
    2024-10-23, 01:34 AM
    Hey Everyone,

    I recently updated my Dune HD Homatics box to Android 12 due to some stuttering issues in Android 11 that it had. Now, what happens when I go to watch an episode of a show, it will play normally for about 20-30 seconds before the video will freeze. The app is fine and the audio continues to play but the video will freeze. The only way to get it start playing the video again is to seek to a different time or have it reload the stream by, for instance, selecting a different audio/subtitle. This issue didn't occur at all back on Android 11 but for some reason the official Jellyfin Android TV app is the only app that seems to have this issue for me. If I use an external player like MX Player, everything plays completely fine. I've tried playing around with the resolutions, HDR, AFR, and even connected to my box via ADB to check out the logs. Even that doesn't show anything useful, it seems to act as if there's no issue at all, no error or warning logs, just normal requests to and from my server. Even though it doesn't seem to be the issue, I checked the server side logs as well and didn't see any error or warning messages in the Jellyfin log or in the ffmpeg logs either. I've also tried rolling back to an earlier version (v0.17.4) and setting the WebView version to Beta, Dev, and Canary through ADB, all with the same issue. I'm kinda at a loss here so any thoughts would be appreciated! Let me know if I need to provide any more info.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-10-23, 02:22 AM
    What are your server specs? OS and hardware.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    TechOwl
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2024 Oct
    Reputation: 0
    Country:United States
    #3
    2024-10-24, 12:36 PM (This post was last modified: 2024-10-24, 01:49 PM by TechOwl. Edited 2 times in total.)
    Server OS & Hardware
    Ryzen 5 5500U (6C/12T)
    64G Memory
    Radeon Vega 7 iGPU
    Proxmox 8.2.7

    Jellyfin Container OS & Hardware
    Ubuntu 24.04.1 LTS
    Hardware Acceleration Enabled (iGPU is shared to container)
    4 Cores
    12G Memory

    Media info of the file
    Video
    Title: Japanese [Uncut] - 1080p - H264 - SDR
    Codec: H264
    AVC: Yes
    Profile: High
    Level: 40
    Resolution: 1920x1080
    Aspect ratio: 16:9
    Anamorphic: No
    Interlaced: No
    Framerate: 23.976025
    Bitrate: 8244 kbps
    Bit depth: 8 bit
    Video range: SDR
    Video range type: SDR
    Color space: bt709
    Color transfer: bt709
    Color primaries: bt709
    Pixel format: yuv420p
    Ref frames: 1
    NAL: 4

    Application version
    0.17.8

    Device information
    Dune HD Homatics R 4K Plus

    Android version
    Android TV 12

    Jellyfin server version
    10.9.11
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-10-24, 12:52 PM
    And what about the server? What OS and what are the hardware specs? And can you share your server logs via pastebin?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    TechOwl
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2024 Oct
    Reputation: 0
    Country:United States
    #5
    2024-10-24, 01:33 PM
    Updated my first comment with the hardware specs.

    Here's the logs for the days I was seeing the issue:
    https://raw.githubusercontent.com/Tech-O...n/jLog.txt
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-10-24, 02:55 PM
    Can you share your ffmpeg log?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    TechOwl
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2024 Oct
    Reputation: 0
    Country:United States
    #7
    2024-10-26, 05:47 PM (This post was last modified: 2024-10-26, 05:49 PM by TechOwl. Edited 1 time in total.)
    Sorry for the delay,

    I generated an ffmpeg log for the episode. I let it run until it froze and then exited. Seems to happen after ~40 secs.

    Also, ignore the "Unknown/unsupported AVCodecID DISABLED". I set the codec-id of the subtitles on my MKV files to "DISABLED" when I don't want them to show up in Jellyfin and don't want to remux a file. Hasn't caused any issues in the past.

    https://raw.githubusercontent.com/Tech-O...eg-Log.txt
    TechOwl
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2024 Oct
    Reputation: 0
    Country:United States
    #8
    2024-10-26, 06:43 PM (This post was last modified: 2024-10-26, 06:44 PM by TechOwl. Edited 1 time in total.)
    To add on to everything we've collected so far, I collected the output of running logcat while watching the episode on the Jellyfin Android TV Debug app. I collected from before I started the episode up until a few seconds after it froze.

    https://raw.githubusercontent.com/Tech-O...output.txt

    Furthermore, just randomly I tried playing an episode of one of my different shows, and it played absolutely fine with no issues. So what I'm thinking here is that the issue is client-side with a compatibility issue with the file? This video-only freezing issue is specific to this device and this player. If I play the same episode using Kodi instead of the Jellyfin Android TV app, it runs perfectly fine (that's the workaround I've been using for the time being). It also plays fine on my phone and laptop so it has to be something with this device, video, and the Jellyfin Android TV app specifically.

    Here's the media info of the file that works:

    Video
    Title: 1080p HEVC SDR
    Codec: HEVC
    AVC: No
    Profile: Main 10
    Level: 120
    Resolution: 1920x1080
    Aspect ratio: 16:9
    Anamorphic: No
    Interlaced: No
    Framerate: 23.976025
    Bitrate: 1296 kbps
    Bit depth: 10 bit
    Video range: SDR
    Video range type: SDR
    Color space: bt709
    Color transfer: bt709
    Color primaries: bt709
    Pixel format: yuv420p10le
    Ref frames: 1

    The only difference here that I feel like could affect the playback is that this video's codec is HEVC (H.265) while the video having issues is AVC (H.264). But I would assume the H.264 video is being transcoded to H.265 since I have hardware encoding enabled on my server.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2024-10-27, 12:39 AM
    If the video is corrupt in some way, that could also be a problem. Does this only happen with a particular episode? Or particular series? All from the same source?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    TechOwl
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2024 Oct
    Reputation: 0
    Country:United States
    #10
    2024-11-06, 01:00 AM (This post was last modified: 2024-11-06, 01:07 AM by TechOwl. Edited 2 times in total.)
    After doing some messing around, I've narrowed down the problem a little bit. The video freezing only happens when H.264 content is being transcoded to H.265. If I disable H.265 transcoding globally on my Jellyfin server, there are no issues. That's why the second episode that I posted worked fine, because it was already H.265 content which means it didn't need to be transcoded at all. Shout out to the guy who responded to my GitHub issue saying he was having the same issue related to transcoding. Reminder that H.265 transcoding works fine on any other device, its just this particular combination of Amlogic SOC, Jellyfin Android TV App, and transcoding (in this case H.264 -> H.265). Changing devices, apps, and transcoding formats resolves the issue.

    The only issue now though is why transcoding causes an issue only on the Jellyfin Android TV app? I see no reason why this issue wouldn't occur when using Kodi and Jellycon. From what I understand, it does the same transcoding, its literally just displaying it in a different app.

    Also, seems like I'm not the only one having this issue:

    https://github.com/jellyfin/jellyfin-and...ssues/4159
    Pages (3): 1 2 3 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