I have an encrypted folder in Google drive. Streaming with plex to other PCs via web-client works fine, however I have a lot of buffering when streaming to an LG Smart TV or to the Plex App on my Android - playback stops every two minutes or so.
I am streaming files of about 10.000 kbps and using direct play, I can see the buffer piling up on the PC Web Client, but not on the mobile (I cannot see the buffer on my TV).
What is your rclone version (output from rclone version)
rclone v1.55.1
os/type: windows
os/arch: 386
go/version: go1.16.3
go/linking: dynamic
go/tags: cmount
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Windows 10 64Bit
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
--dir-cache-time 5000h ^
--attr-timeout 5000h ^
--log-file "C:\Users\xxx\Desktop\rclone.log" ^
--log-level INFO ^
--poll-interval 10s ^
--user-agent someappname101 ^
--rc ^
--rc-addr :5572 ^
--rc-no-auth ^
--cache-dir="f:\rclonecache" ^
--buffer-size 256M ^
--drive-pacer-min-sleep 10ms ^
--drive-pacer-burst 1000 ^
--vfs-cache-mode full ^
--vfs-cache-max-size 100G ^
--vfs-cache-max-age 5000h ^
--vfs-cache-poll-interval 5m ^
--vfs-read-ahead 2G ^
--bwlimit-file 32M```
#### The rclone config contents with secrets removed.
```[GDrive]
type = drive
client_id = xxx.apps.googleusercontent.com
client_secret = xxx
scope = drive
token = {"access_token":"xxx","token_type":"Bearer","refresh_token":"xxx","expiry":"2021-08-03T12:24:24.9358314+01:00"}
[GCrypt]
type = crypt
remote = GDrive:/Operationals/encrypted
filename_encryption = standard
directory_name_encryption = true
password = xxx```
#### A log from the command with the `-vv` flag
```2021/08/03 11:50:22 NOTICE: Serving remote control on http://[::]:5572/
2021/08/03 11:50:23 INFO : vfs cache: cleaned: objects 9 (was 9) in use 0, to upload 0, uploading 0, total size 7.129G (was 7.129G)
The service rclone has been started.
2021/08/03 11:55:23 INFO : vfs cache: cleaned: objects 9 (was 9) in use 2, to upload 0, uploading 0, total size 7.129G (was 7.129G)```
Please check the bandwidth charts below - when streaming to the TV I get bandwidth usage of 5 Mbps constantly (I am streaming a 10 Mbps file), which leads to frequent buffering pauses. When I stream to the PC through Plex HTTP, I get several spikes of 50+ Mbps.
So, I am guessing this is an issue with the Plex TV app, rather than with Rclone. Anyone here went through the same?
Plex http on the smart tv does not work of all - buffers for a while and does not play
The TV has a lan port, I do not have a sufficiently long cable to reach the router, though. I guess the TV's hardware and Wifi should not be the issue, given that I can stream 4k perfectly with Netflix - I would put my money on it being a software / app issue.
I can almost guarantee you that it's the Plex app on your LG TV. A lot of the Plex apps are useless, I had the same issue with streaming from my PS4 and after a lot of troubleshooting discovered it was the Plex app itself on the PS4.
Just buy an Nvidia Shield and you'll most likely have no more troubles...
Just a guess might be that it's not an rclone issue, but that you're transcoding the video, when going to the LG Smart TV or Android. You should check the Plex Dashboard to see if/what kind of transcoding is taking place comparing good and bad scenarios. You might find that the good scenarios are using Direct Play or Direct Stream, while the bad scenarios are transcoding the video into something compatible with the playback device, bogging down the CPU, and causing playback to stutter because the CPU can't serve the stream fast enough.