Rclone Streaming Settings like Plexdrive?

Hey I would like to switch from Plexdrive to Rclone. However, I have a few difficulties with it, including the fact that a lot is loaded and the throughput increases significantly.
Like when i'm Starts a Stream with Plexdrive its about 1-4 MB/s max. and with rclone up to 30 MB/s.

Is it possible to do something like this with Rclone?

thanks for help :slight_smile:

Plexdrive is built much different than rclone so you really can do "that".

If you fill out the help and support template, we can see what you are using now and provide some guidance.

What is the issue? Rclone is too fast?

Yes, exactly!

  1. I don't want a stream to use that much data, I want smaller chunks retrieved if that's possible.

  2. When I use Emby with Rclone, I have the problem with some media that if I skip directly or change the quality of the stream, the stream hangs completely. Then only reload emby helps.

  3. Sometimes something loads in 1 second and sometimes very randomly 5-10 seconds. I don't understand why.

point 2 and 3 no matter what I do in Rclone, with cache, without cache etc.

Use the help and support template. Fill it out and you'll get some help.

What is the problem you are having with rclone?

  1. I don't want a stream to use that much data, I want smaller chunks retrieved if that's possible. if i start a stream with plexdrive its around 1-3 MB/s, with Rclone up to 30 MB/s. Could i get it on a lvl like plexdrive?

  2. When I use Emby with Rclone, I have the problem with some media that if I skip directly or change the quality of the stream, the stream hangs completely. Then only reload emby helps.

  3. Sometimes something loads in 1 second and sometimes very randomly 5-10 seconds. I don't understand why.

  4. I didn't have this problem before, but since I set everything up again, my Google Drive tokens expire every 1-2 hours when I restart Rclone. What can be the reason? Project is set to "In Production".

Run the command 'rclone version' and share the full output of the command.

rclone v1.57.0

  • os/version: ubuntu 20.04 (64 bit)
  • os/kernel: 5.15.0-46-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.17.2
  • go/linking: static
  • go/tags: none

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)

[Unit]
Description=Mount (rclone)
AssertPathIsDirectory=/docker/media-server/data/xy
# Make sure we have network enabled
After=network.target

[Service]
Type=notify

ExecStart=/usr/bin/rclone mount xy: /docker/media-server/data/xy \
--allow-other \
--fast-list \
--poll-interval 1m \
--dir-cache-time 9999h \
--umask 002 \
--cache-dir=/cache \
--vfs-cache-mode full \
--vfs-cache-max-size 150G \
--vfs-write-back 1h \
--vfs-cache-max-age 9999h \
--tpslimit 12 \
--tpslimit-burst 12 \
--buffer-size 256M \
--vfs-read-chunk-size 128M \
--vfs-read-chunk-size-limit off \
--drive-chunk-size 32M \
--drive-disable-http2


# Perform lazy unmount
ExecStop=/usr/bin/fusermount -zu /docker/media-server/data/xy

# Restart the service whenever rclone exists with non-zero exit code
Restart=on-failure
RestartSec=15

[Install]
# Autostart after reboot
WantedBy=default.target

or

[Unit]
Description=Rclone Mount
AssertPathIsDirectory=/data/rclone/Movies
# Make sure we have network enabled
After=network.target

[Service]
Type=notify

ExecStart=/usr/bin/rclone mount rclone-xy: /data/rclone/xy/mount \
--allow-other \
--attr-timeout 1000h \
--poll-interval 1m \
--umask 002

# Perform lazy unmount
ExecStop=/usr/bin/fusermount -zu /data/rclone/xy/mount

# Restart the service whenever rclone exists with non-zero exit code
Restart=on-failure
RestartSec=15

[Install]
# Autostart after reboot
WantedBy=default.target

A log from the command with the -vv flag

Rclone Log is Empty set to "INFO"

On point 2, funnily enough, this only happens with AC3 or EAC3 audio tracks. DTS works fine.

If you want to share a log file and recreate one item and work on that, that's generally how it works best.

how exactly do you mean that?

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