I have tried using rclone cache and plex drive mount on a decent VPS. I have my media files stored in Google Drive. When I try to download files from plex, I get maximum speed. When I try to stream, I am facing buffering after every 10 seconds. I am not even transcoding, I am playing the original playback.
I have tried emby and plex but no luck with streaming!!!
The problem is not the bandwidth/throughput. The problem is that some mediaplayers (apparently including Plex in some cases) have a nasty habit of opening and closing the file it is reading frequently. This is a quite slow operation on most cloud remotes even though it is trivial on a local disk - leading to a situation where the player runs out of buffer because it's spending most of it's time opening and closing the same file instead of actually fetching data. Well known issue in general.
The good news is we have plenty of users who use Plex with rclone, so it is doable. I just don't use Plex myself (yet) so I don't know all the specifics. One other person I helped mentioned Plex had 2 different ways to play and that one of them worked fine? Does that tell you anything? I can't recall the exact details. I'll ask him tomorrow if this hasn't been solved by then.
Otherwise, take a look at Animosity's thread were he details a lot of this stuff. He runs Plex and has no issue - cache backend isn't even require with the right setup:
If all else fails you can gently nudge him for some help, but most likely the answers you need are in that topic and thread. Keep in mind he gets a lot of these same questions about Plex asked repeatedly (and a LOT of them will be in that thread), so please do your due diligence in researching before asking him to donate his time. He has the forums to moderate after all
the problem I was having streaming 4K content though Plex is basically generated by the type of subtitles used in the filemost of the 4K movies files out there in either MKV or MPEG4 format have PGS formatted subtitles that requires transcoding
the only way to play a 4K file though Plex is by activating Direct Play and avoid any type of transcoding whatsoever
13:28ah, and direct-play is simply an option somewhere?
SKYPERBCN, 13:28yes Direct Play and Direct Streaming are two options available in the Plex settings
but if you want to stream 4K content on a sever with a fairly small processor like a NAS or something like that, you have to make sure that the subttitles are NOT in PGS format, otherwise that will trigger transcoding
He also mentioned that he had good performance using DLNA, but I'm not sure if he meant that was related to this spesific issue.
I get good performance using DLNA rather than a virtual mount. The video I was playing had 'UTF-8' text based subtitles and no PGS but i was facing buffering and stuttering on plex media player for windows and web app as well. I was playing in Original quality without transcoding.
I even tried to pause the video for some minutes but it didn't improve playback much.
Isn't there a way to play directly from cloud storage using rclone rather than a virtual mount?
and yes I would like to use your recommended command so what is the command to unmount? can you please remove those unnecessary parts from my command so i can push that in terminal without messing it up?
When i run rclone -vv copy /tmp remote:tmp i am getting following error
2019/11/21 14:46:53 DEBUG : rclone: Version "v1.50.2" starting with parameters ["rclone" "-vv" "copy" "/tmp" "remote:tmp"]
2019/11/21 14:46:53 DEBUG : Using config file from "/home/plex/.config/rclone/rclone.conf"
2019/11/21 14:46:53 Failed to create file system for "remote:tmp": didn't find section in config file
Yes, you should definitely use a clean and empty location to mount to. Bypassing this with --allow-non-empty is not advisable unless you are absolutely sure of what you are doing. It can cause a lot of problems otherwise.