I’ve had trouble streaming Plex in the bedroom, 4K content only. Lot’s of buffering/stutters.

I still haven’t got around to networking the bedroom to Ethernet, just WiFi.

Out of curiosity I opened VLC on the bedroom Nvidia Shield, and there’s an option to access devices on the local network, including my NAS. Opened the file directly and it only buffered once, slowed for about a minute (the audio sounded like my cat playing with my turntable lol) but then it caught up in 30 sec or so and streamed flawlessly after.

Not sure why it worked better, but figured I’d post here as a hack for others in similar situations.

  • Fribbtastic@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    7 hours ago

    Because VLC is a completely different Application in how it works than Plex.

    Plex is, first and foremost, a Client-Server Application. Without a Server, you won’t be able to play something. VLC on the other hand is a complete standalone player which has to play (almost) everything that you throw at it. VLC also has network discovery so that you can actually play content from a network share.

    That is another difference, for Plex, you don’t need a network share because the data is directly coming from your Plex server. VLC, on the other hand, will always need direct file access.

    Plex itself also relies on the client device to provide the necessary compatibility to play the content you want to play. When something isn’t playable, Plex will have to make it playable by converting (transcoding) it. the higher the quality of the content, the more processing power you need.

    For example, according to Plex itself, you need a CPU with 2000 PassMark Points to transcode a single 1080p video stream. A 4K HDR stream requires 17000 PassMark Points.

    VLC cannot allow to not be able to play something on its own because if a player cannot play something, is it really a good player? However, with Plex, since it has the Server infrastructure in the back, it can allow itself to not bundle every possible compatibility in each client on every platform because if something isn’t playable, as said above, the server will make it playable.

    So, Plex most likely had to transcode your file into a compatible format and your server is most likely not strong enough to do that in an adequate timeframe. VLC didn’t need to do that and only needed to work over the WLAN to create a buffer of the data.

  • reddig33@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    5 hours ago

    Not sure how your plex server is set up, but if it’s trying to transcode the content, that could be introducing lag. Some settings to try:

    • check server for DirectPlay and see if turning it on makes a difference
    • make sure the max video setting is 4k on the server so it’s not forcing a transcode down to something lower res
    • there’s a “how much processor to use” setting on the server as well — try turning it all the way up
    • try playing something then look at the activity page on the Plex server to see what it’s doing (is it transcoding for example)

    Other than this, try posting over at the forums on the Plex website if you don’t get an answer here.

    • ellen_musk_0x@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 hours ago

      It wasn’t even transcoding. It was showing as direct play on the dashboard.

      It’s been a problem ever since I set it up about 2 years ago.

      And, it actually transcodes just fine at friends homes. Or on my phone with a VPN on and 5g.

      I originally had PMS on my Shield in the living room and assumed it was related to that, but I just moved PMS yesterday to my PC instead and the problem persisted.

      • Avid Amoeba@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        5 hours ago

        I meant you could try workarounding it by transcoding to lower quality in the room where you have the problem.