Jump to content

Mounted cloud drive and seeking issues...


Recommended Posts

Posted

Ok, I know this is a special use case. So here's what I'm trying to do:

 

Linux Debian Jessie

Latest Emby

Movies on amazondrive, mounted as local drive with rclone mount

UnionFS used to union acd with local drive for ability to R/W files (rclone mount can only read or write cloud files, I use union so it can update nfo's if needed)

Web Client in chrome

 

Nick has recently added a buffer to rclone mount, mainly just for us trying to host our libraries in the cloud. But most of the users are using Plex. But here's my experence/issue.

 

This setup works, it does take about 10-15 seconds or so for the video to start, but this seems to be universal as it affects both Plex and Emby. Once the video starts, it all works well. 

 

The issue comes up when trying to seek within the file. There is a delay (rclone mount has to empty the buffer and refill it, seems to take 20-30 seconds for play to start again) but what I'm finding is when I seek this way, 90% of the time the play/pause button goes away, and seek is no longer available. So I can seek once, then I'm stuck with the file just playing from there. I can click on the picture, and it does pause, and unpause as normal. But all the seek controls, fast forward, rewind, etc become inoperable. 

 

To me is SEEMS to have something to do with the time it takes for the seek to finish and resume play. It's like something times out, and the controls seem to think the video is no longer playing. At that point my only control left is a left click on the movie to pause/play. 

 

I'm not sure if this is an issue in the server itself, or in the web client. So what I'm asking is if anyone knows what would cause the seek/play/pause/FF/RW controls to stop responding (or in the case of play/pause to disappear altogether) when a seek takes longer than normal? Or could something else be at play here. 

 

 

 

 

  • 2 weeks later...
Animosity022
Posted

Not sure if it's helpful, but I have roughly 20TB in ACD and I haven't tried much seeking around, but I'd guess it's related around the buffering and how it's pulling data.

 

You can always run rclone with -vv to turn up some debugging to figure out what it is doing in particular instance.

 

I am using the following flags to mount my drive:

 

 

--acd-templink-threshold 0 \

--buffer-size 1G \
--max-read-ahead 200M \

 

By giving it a nice big buffer and a lot of memory to read ahead, my movies load up in a few seconds and just work. Downside is how much memory you have on your server as each file that reads can consume a GB of memory. You can always tweak the numbers around to see how it works for you.

 

Emby seems to work better than Plex for my use case as I just had media that kept being scanned over and over again and I tried to figure out why and couldn't. So after posting and trying for about a week, I've been testing out Emby now and it works nicely with ACD and an rclone mount/encrypted folder.

 

The first scans take a few days as it has to probe each and I have much of the extra stuff turned off like the chapter extraction and such.

 

I also store all my metadata locally as opposed to keeping it with the items as I'm sure reading all those files/folders wouldn't be nice either.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...