Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with seeking while streaming (WIndows) #20

Closed
jayloofah opened this issue Oct 15, 2019 · 6 comments
Closed

Issue with seeking while streaming (WIndows) #20

jayloofah opened this issue Oct 15, 2019 · 6 comments

Comments

@jayloofah
Copy link

jayloofah commented Oct 15, 2019

I've tried out a few media players on the Stream function but none of them seem to be able to seek. If I mount the remote and stream that way seeking is possible, but there is another current issue with unmounting on Windows that is already open.

I guess there might be some configuration issues with the media player, but it lead me to think that it might be worthwhile to have some advanced config options (additional flags) the stream and mounting functions, just in case there are issues.

Thank you again for taking up this project which I feel is severely needed for rclone (their current gui is way behind).

@danoe
Copy link

danoe commented Oct 15, 2019

Which remote are you using? Google Drive? Are you using your own API credentials?
If you use the default ones you might run into the rate limit, see here: https://forum.rclone.org/t/seeking-in-a-gdrive-mount-hangs/8615

@jayloofah
Copy link
Author

jayloofah commented Oct 15, 2019

Yes, Drive. And I am not.

I see. Well I followed this tutorial and added them within the config and the same issue persists. I am not able to seek/scrub with the media player being used to stream. Do I need to link the JSON as well?

@kapitainsky
Copy link
Owner

kapitainsky commented Oct 16, 2019

I believe seeking always will be problematic due to nature of cloud storage. There are usually object storage systems and do not offer downloading specific parts of files. RcloneBrowser only invokes rclone and redirect data stream to configured player. There might be some issue with rclone you can raise with them.

@jayloofah
Copy link
Author

Okay, well I just thought I would mention the bug since the streaming behavior works normally if the remote is mounted and the media file is played. Thank you.

@kapitainsky
Copy link
Owner

Streaming invokes rclone reading a remote file and redirecting stream of data to your configured player. It can't jump forward as all stream has to be read first.

When you mount remote there is another layer (FUSE) which provides buffering. FUSE simulates typical file system and might read file content in advance. When already buffered in file system your player can read whatever part of the file you request.

And in both cases player provides its own buffering

So it is not a bug per se but rather nature of rclone.

@jayloofah
Copy link
Author

Like you said...

Ok then, this issue can be closed, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants