• 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 Chromecast Stuttering & Freezing

     
    • 0 Vote(s) - 0 Average

    Chromecast Stuttering & Freezing

    Jellyfin playback has a track record of rough playback on Chromecast.
    SkyeRangerDelta
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 May
    Reputation: 0
    Country:United States
    #1
    2024-05-17, 03:00 PM
    Morning everyone,

    I'll get straight into it with some context; I host a small homelab that runs a handful of VMs via XCP-ng and loads most everything off of a 10Gbe QNAP TS-855X NAS connection. Jellyfin runs off a VM with the hostname electroplasma. Specs are as follows:
    • Ubuntu 22.04.4 LTS (latest kernel)
    • Jellyfin 10.9.1 (via apt)
    • 4x vCPUs on a Ryzen 9 3950X
    • 128 GB VM SR
    • 10GB DDR4
    • 6TB NFS Share for media
    • No GPU (yet)
    • ISP/Network speed of 620mbps / 916mbps (down / up)

    I have a small group of family and friends that will log into the server to watch stuff, usually 2 a day for a movie or a couple of episodes of something. 3 concurrent streams is the most activity I've seen on the box. One of these people is my dad who uses a Chromecast to stream media via his Android S21 Ultra to the TV. It's a newer TV with a 4k HDR display but the Chromecast is one of the first generations; the small grey disc one he's got attached to an HDMI port.

    He can cast everything without flaw from any media source that isn't Jellyfin (YouTube, Hulu, etc). He's been encountering a pretty grotesque amount of freezing and stuttering when trying to cast most media. Rewinding the playhead in the remote control sometimes fixes it; other times it completely restarts the stream. It will also randomly skip ahead to the next episode in a series. 

    Yesterday, I upgraded Jellyfin from 10.8.x to 10.9.1 and also took a look at my Nginx Proxy Manager configuration and updated it according to the docs with one change: all add_header and set_header flags are in their own custom location due to how NPM handles those (they don't work in the advanced section). My network is also proxied (with the exception of Jellyfin as it's set to DNS only) through Cloudflare with a full SSL certificate setting (CF cert on the proxy/origin server and between the client and CF). When I upgraded and changed out the NPM config; it got worse for him despite adding the add_header config for additional Chromecast support (from what it looked like).

    This only seems to happen with his Chromecast too; I've not had...a lot of issues with mine and one of my friends who uses a Chromecast (also not a 4k) has never had any issues - so I'm scratching my head on this one. I personally use the Sony / Google TV app which performs without flaw. Just about everyone else watches via browser.

    Here are some logs from various points in the day:
    JF Log (5-17): https://bin.pldyn.net/raw/acazezoyij
    JF Log (5-16): https://bin.pldyn.net/raw/yadobeyuqu

    DirectStream: https://bin.pldyn.net/raw/fomevopipa
    DirectStream: https://bin.pldyn.net/raw/egibocuraq
    DirectStream: https://bin.pldyn.net/raw/atekomusar
    DirectStream: https://bin.pldyn.net/raw/olulodeved

    Nginx Proxy Manager configuration:
    https://bin.pldyn.net/ubeherataz.nginx

    I know that the Chromecast implementation for Jellyfin is...jank at best at the moment - but given performance on other Chromecast systems and streams - I suspect we can do better here. He does have an LG TV with a webOS version that allows the installation of the Jellyfin app - but after logging in, he gets a webOS error (not a JF error) that the app couldn't load.

    Any insight on how to get this sorted would be invaluable to me; I don't really know what I'm missing here. If any additional information is needed; I'd be happy to provide it. I've seen this topic come through here a couple of times, but none of the fixes I've seen so far seem to have done the trick.
    "It is possible to commit no mistakes and still lose. That is not a weakness, that is life." - Captain Jean-Luc Picard (Star Trek: TNG)

    Jellyfin 10.9.1 (Ubuntu 22.04 LTS VM)
    4 vCPU - 10GB DDR4 - 128 GB SR + 6TB Media NFS
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-05-17, 03:35 PM (This post was last modified: 2024-05-17, 03:53 PM by TheDreadPirate. Edited 1 time in total.)
    I can't find the post/comment, but there was a call for developers who know how to work with Google's casting apps because our implementation of casting is, and will continue to be, hit or miss. With no logical explanation for why it works fine for some and not for others.

    Honestly, the easiest solution is to get an Android TV or Roku dongle/box.
    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]
    SkyeRangerDelta
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 May
    Reputation: 0
    Country:United States
    #3
    2024-05-17, 03:45 PM
    I was hoping that I wouldn't need to do that but he likely needs to upgrade it anyway as the thing is...not new, lol
    "It is possible to commit no mistakes and still lose. That is not a weakness, that is life." - Captain Jean-Luc Picard (Star Trek: TNG)

    Jellyfin 10.9.1 (Ubuntu 22.04 LTS VM)
    4 vCPU - 10GB DDR4 - 128 GB SR + 6TB Media NFS
    34626
    Offline

    Member

    Posts: 172
    Threads: 36
    Joined: 2023 Jul
    Reputation: 0
    Country:Denmark
    #4
    2024-05-17, 05:09 PM
    How is the playback if he plays media on his smartphone?
    Serv: N5105 - 32GB RAM, 1 WD Red SA500 2TB, 2 8TB, 2 4TB WD Red Plus, LC-35U3-C-HUB
    OS: Debian
    Clients: Pi4 with LibreELEC + JellyCon and Jellyfin Media Player
    Network: 2 TP-Link AX23, OpenWRT mesh 802.11s and 1 Gbit
    « 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