What is the problem you are having with rclone?
Streamed video freezes occasionally on Jellyfin. Almost entirely only happens with high bitrate 4K videos.
VIdeo might freeze for a few seconds and then resume, or freeze for good. It can also freeze repeatedly. After a minute or two, it can be restarted and it continues playing.
I suspect OneDrive throttling, hence the post here to ask for advice as to the best settings to use for OneDrive mounts, however if I exit the app (Jellyfin) and re-enter it, the movie can resume immediately with (usually) no more freezing, which suggests it is not to do with throttling.
Run the command 'rclone version' and share the full output of the command.
rclone v1.65.0
- os/version: ubuntu 22.04 (64 bit)
- os/kernel: 5.15.0-91-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.21.4
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
OneDrive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone mount \
--config=/home/dinosm/.config/rclone/rclone.conf \
--vfs-cache-mode full \
--vfs-cache-max-age 30m \
--vfs-cache-max-size 5G \
--vfs-fast-fingerprint \
--union-min-free-space 15G \
--vfs-read-ahead 2G \
--allow-other \
--user-agent "ISV|rclone.org|rclone/v1.65.0" \
--log-file=/home/dinosm/log/rclone_mediaa.log \
--log-level INFO \
mediaa: /home/dinosm/media/MediaA
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[mediad]
type = union
upstreams = mediad1enc: mediad2enc: mediad3enc: mediad4enc: mediad5enc: mediad6enc:
cache_time = 0
[mediad1]
type = onedrive
client_id = XXX
client_secret = XXX
token = XXX
drive_id = XXX
drive_type = personal
[mediad1enc]
type = crypt
remote = mediad1:dir/
password = XXX
password2 = XXX
[mediad2]
type = onedrive
client_id = XXX
client_secret = XXX
token = XXX
drive_id = XXX
drive_type = personal
[mediad2enc]
type = crypt
remote = mediad2:dir/
password = XXX
password2 = XXX
[mediad3]
type = onedrive
client_id = XXX
client_secret = XXX
token = XXX
drive_id = XXX
drive_type = personal
[mediad3enc]
type = crypt
remote = mediad3:dir/
password = XXX
password2 = XXX
[mediad4]
type = onedrive
client_id = XXX
client_secret = XXX
token = XXX
drive_id = XXX
drive_type = personal
[mediad4enc]
type = crypt
remote = mediad4:dir/
password = XXX
password2 = XXX
[mediad5]
type = onedrive
client_id = XXX
client_secret = XXX
token = XXX
drive_id = XXX
drive_type = personal
[mediad5enc]
type = crypt
remote = mediad5:dir/
password = XXX
password2 = XXX
[mediad6]
type = onedrive
client_id = XXX
client_secret = XXX
token = XXX
drive_id = XXX
drive_type = personal
[mediad6enc]
type = crypt
remote = mediad6:dir/
password = XXX
password2 = XXX
The log doesn't seem to show anything while the media is playing (and stuttering/freezing), maybe I need a different logging mode in the systemd file?
A log from the command that you were trying to run with the -vv
flag
2023/12/31 01:14:34 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 1.870Gi (was 1.870Gi)
2023/12/31 01:15:34 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 1.870Gi (was 1.870Gi)
2023/12/31 01:16:34 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 1.870Gi (was 1.870Gi)
2023/12/31 01:17:34 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 1.870Gi (was 1.870Gi)
2023/12/31 01:18:34 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 1.870Gi (was 1.870Gi)
2023/12/31 01:19:34 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 1.870Gi (was 1.870Gi)
2023/12/31 01:20:34 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 1.870Gi (was 1.870Gi)
2023/12/31 01:21:34 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 1.870Gi (was 1.870Gi)
2023/12/31 01:22:34 INFO : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 0, total size 1.995Gi (was 1.995Gi)
2023/12/31 01:23:34 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 2.096Gi (was 2.096Gi)
2023/12/31 01:24:34 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 2.096Gi (was 2.096Gi)
2023/12/31 01:25:34 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 2.096Gi (was 2.096Gi)
2023/12/31 01:26:34 INFO : Movies/2020 - 2029/movie/movie - 1080p Atmos.mkv: vfs cache: removed cache file as Removing old cache file not in use
2023/12/31 01:26:34 INFO : vfs cache RemoveNotInUse (maxAge=0, emptyOnly=false): item Movies/2020 - 2029/movie/movie - 1080p Atmos.mkv was removed, freed 2250095923 bytes
2023/12/31 01:26:34 INFO : vfs cache: cleaned: objects 1 (was 2) in use 1, to upload 0, uploading 0, total size 1.749Gi (was 3.845Gi)
2023/12/31 01:27:34 INFO : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 0, total size 2.662Gi (was 2.662Gi)
2023/12/31 01:28:34 INFO : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 0, total size 2.662Gi (was 2.662Gi)
2023/12/31 01:29:34 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 2.662Gi (was 2.662Gi)
2023/12/31 01:30:34 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 2.662Gi (was 2.662Gi)
2023/12/31 01:31:34 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 2.662Gi (was 2.662Gi)
2023/12/31 01:32:34 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 2.662Gi (was 2.662Gi)
2023/12/31 01:33:34 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 2.662Gi (was 2.662Gi)
2023/12/31 01:34:34 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 2.662Gi (was 2.662Gi)
2023/12/31 01:35:34 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 2.662Gi (was 2.662Gi)
2023/12/31 01:36:34 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 2.662Gi (was 2.662Gi)
2023/12/31 01:37:34 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 2.662Gi (was 2.662Gi)
2023/12/31 01:38:34 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 2.662Gi (was 2.662Gi)
2023/12/31 01:39:34 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 2.662Gi (was 2.662Gi)
2023/12/31 01:40:34 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 2.662Gi (was 2.662Gi)
At this point, all I'd like is to try and exclude rclone as a possible culprit. The fact that, once a movie starts freezing, if I exit and re-enter the app, the movie can resume fine, leads me to believe it's an app issue and not an rclone/OneDrive issue.
I would appreciate any advice or guidance as to how to troubleshoot this definitively, as well as any suggested changes/tweaks to my mount command, to reach a conclusion as to whether rclone/OneDrive are to blame here or not.