4K Streaming Help

Rclone version: 1.52.2
OS: Ubuntu Server 18.04
Cloud: GDrive
API: Personal

What's the recommended Rclone mount settings for 4K streaming?

Should I be using vfs-cache-mode=full to utilise vfs-read-chunk-size?

And what sort of buffer size should I be using - currently using 16M

Thanks!

hello, when you posted you should have been asked for some information.....

Sorry, updated post with more details

well, what is your rclone mount command?
are you having problems with streaming?

Occassional buffering on high bitrate files (greater than 30mbps) when multiple simultaneous streams running.

Buffering does not occur in the same scenario with lower bitrate files.

Peering and bandwidth aren't the issue.

--allow-other
--timeout=1h
--tpslimit=8
--dir-cache-time=7620m
--buffer-size=16M

Wondering whether increasing buffer size and/or chunk size would help. And whether I should move to vfs cache

and what are you moving from?

can you do a rclone listremotes, thanks

what is the speed of your internet connection?

I meant should I implement a vfs cache

I'm running an encrypted mount on a team/shared drive.

Internet connection is 1gbps

what is your current rclone mount command?

rclone mount drive: /mnt/drive
--log-file=/var/logs/rclone.log
--allow-other
--timeout=1h
--tpslimit=8
--dir-cache-time=7620m
--buffer-size=16M

sorry, did you re-edit your post or did i miss this?

I edited the post to be more specific

then rclone would download the entire file before streaming

and the devices used for the multiple streams, the devices are they wifi, wired or some combination?

OK thanks - don't want that.

All Cat6 ethernet

I'm curious whether the 16M buffer is sufficient for multiple 4K downloads. Or if there's another option I can introduce to better handle multiple large transfers

it depends on how much ram you have.

i think that you need is file caching to the hard drive

I have 32GB RAM to spare.

So your recommendation is to turn on vfs cache?

yes, turn on vfs cache

But this will download the entire file before playback will occur?

depends on the flags you use.

also, note that there is a major update to vfs cache in beta and it might be what you need.

--vfs-cache-mode full which will only download the parts of the file you need I envision this will become the preferred way of using the vfs cache

Thanks. What flags can I use to implement vfs read without rclone downloading the entire file before playback?

Or is that only possible in the beta channel?

not an expert on multiple streams and 4k,
i would try that beta and --vfs-cache-mode full

here is what i use in my mount
--read-only --vfs-read-chunk-size=16M --vfs-read-chunk-size-limit=0 --buffer-size=1G --rc