Buffering in streaming rclone crypt from plex to LG smart tv

What is the problem you are having with rclone?

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)```

There's no log file so nothing to look at to assist.

The log was inside the "The command you were trying to run" block (I pasted all in the same block), though set on INFO rather than DEBUG.

Here is the relevant part of the DEBUG log.

Regards and thank you in advance,
log.txt (1.2 MB)

are those PC, wired or wireless?
if wired, perhaps the wifi is the problem?

Thank you for the answer.
TV is wireless, PC with plex server is wired.

When I stream PC to a wireless PC (through plex http), it works fine. When I stream to the TV app, I get the buffering circle every few seconds...

so on the pc, using wifi and plex http, that works.

have you tried plex http on the android?

I'll try that this evening.

regards,

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?

Cheers,

Streaming file in Rclone drive to TV:

Streaming file to Rclone drive to PC:

never seemed like a rclone issue....

  • what about performance of plex http on the smart tv?
  • what is the exact type of wifi on the smart tv?
  • does the tv has a lan port to test?
  • can the tv stream youtube, netflix or other such video stream?

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...

Thank you for all your replies. Switched to Emby and then to Emby on a Chromecast and works flawlessly.

Best,
V

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.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.