Server Version#: 1.32.4.7195
Player Version#: 1.71.1.3888-b32ecaf8 / Firefox 114.0.2
Hey everyone,
like the title says: Is it possible to set size of streamed chunks (m4s files)?
Problem is: I’m on a high-latency connection, so these many small chunks lead to buffering because of the high latency. Fewer, bigger files would probably be the solution because of fewer roundtrips.
No.
Prepare your files so that they can be Direct Played on the player device. That way you have one big contiguous chunk.
Increase the chances of Direct Play by using “Plex for Windows/Mac/Linux” or “Plex HTPC” over the web app or one of the Plex “Smart TV” apps.
The streamed chunks are in reference to the data that the plex server sends to the client (little bitesized chunks at a time) and not parted files, plex currently uses a single pipeline to send data to clients (opposed to multiplexing) that requires a response from the client (essentially a little 200 OK) before the next ‘chunk’ is sent, this check is very quick but is limited by the round trip time of the request, and if that round trip time exceeds the playable length of the chunk, the file will pause momentarily whilst it waits for the next chunk.
This is not exclusive to transcoding or parting out your files into lots of smaller ones (I don’t think anybody actually does that) and is absolutely present within a direct play scenario.
Apologies for hijacking @PhilPhonic but I hope I’ve explained well enough
If you’re on a windows PC you can head to %localappdata%/Plex, edit the file in there labelled mpv.conf, and append:
demuxer-max-bytes=1000M
cache-pause=yes
Unfortunately some clients use a different player (android/ios use exoplayer) and only clients that use MPV will work this way. Hope this is helpful though!