Hey, I have a 100mbps downstream and I'm trying to get a 4k movie to stream via plex. My testing movie bitrate is 49.9mbps so one would assume I could play it without much effort, however short buffering occurs every 3-4 seconds after playing. If I pause the movie for a 1-2 mins I can get about 5mins of playback before buffering starts again. I've scoured these forums for tips on cache settings but can't get much better performance. Here are my settings:
gdrive > cache > crypt
type = drive
client_id = *** <--- this is set correctly
client_secret = *** <--- this is set correctly
scope = drive
token = ***
type = cache
remote = gdrive:secure-media
plex_url = http://127.0.0.1:32400
plex_username = ***
plex_password = ***
type = crypt
remote = secure-media-cache:
filename_encryption = standard
directory_name_encryption = true
password = ***
password2 = ***
If I watch the network activity I can see the activity ramp up as soon as the file starts playing, when I pause the activity continues but only for a couple of mins. I would've expected that --cache-chunk-total-size=50G would mean the file would continue caching after pause. The activity only seems to hit ~45mbps despite my bandwidth being double that. Any ideas?
EDIT: I increased the chunk size to --cache-chunk-size=32M which slows the start time but seems to work much better. The traffic monitor shows the bandwidth getting much closer to my available downstream too, should I assume doubling this again to 64M would perform even better?:
Hi, thanks for your response. I've used a lot of your advice getting set up and am currently working through setting up your homescripts, they're very helpful and well written.
I'm on 1.47.0
Yes, own client ID.
Do you mean removing the cache remote like so:
gdrive > cache > crypt
gdrive > crypt
I'd read that can cause API bans. If this isn't the case then it'd make my life much easier to remove the cache altogether, however my understanding is that the cache specifically helped with media streaming.
The cache backend is another layer in between so it adds some latency in between.
There are use cases of when files are rapidly opened/closed that it helps but generally for playing with Plex, it's going to be a slower solution.
Regardless of a cache or non cache, if you don't have enough capacity to stream a higher bitrate movie/show due to a slow connection, nothing can fix that as you either have to limit in Plex to a lower bitrate or get a faster connection.