I began using rclone about a month ago to mount my google drive which contains my blu-ray collection for plex. Originally I had been uploading from the google drive website and using a read-only mount. Now I want to add 4K content and a crypt layer but have been having trouble with buffering. I have a symmetric gigabit connection to my PC and the streaming device I have been testing on so bandwidth is probably not the problem. All content is being direct played. I am on windows 10 64 bit and rclone version v1.50.2. I am trying to optimize my settings and mount for my setup. I currently upload and stream off one mount.
type = crypt
remote = gdrive:
filename_encryption = standard
directory_name_encryption = true
rclone "gdrive:" X: --allow-other --dir-cache-time 72h --buffer-size 1G --vfs-read-chunk-size 64M --vfs-read-chunk-size-limit off
With this setup, I get around 20 MB/s up and lots of buffering with 4K streams. Should I add a cache wrapper or vfs? Any suggestions?
You don't seem to have --vfs-cache-mode listed. Don't really run plex off mounts etc, but usually for mounts in general I use --vfs-cache-mode writes. This way it's read directly from the remote.
With the crypt, honestly I'd drop it. I don't know if caching a crypt still helps, but it is still listed in the docs as far as the OOP which I think is crypt the cache / cache the remote iirc. Be careful too because then you'll have double caching going on with vfs and a cache remote.
Without crypt obfuscating stuff Google will play almost anything natively and direct without the need for anything external whatsoever. I often play BD .m2ts files without problem, and I've even tried UHD directly for giggles and it worked. Drive can also transocde on-the-fly if you so wish. Outside of native capabilities there's the Google Drive plugin for Kodi as another alternative with the direction that Plex is currently heading. I want to say everything is direct in Kodi while I seriously doubt that Plex is using direct on 4k/HDR content.
Thanks. Adding the --vfs-cache-mode writes increased my upload speeds by quite a bit. I had been storing all of my files on a ebay bought team drive but since that got deleted I have decided to just use the unlimited google account my school gives me and add a crypt layer.