Is it possible to pipe a video stream using rclone's RC server?

What is the problem you are having with rclone?

I'm trying to use rclone's rc server to download and pipe a file through a python script. Is this possible?

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

rclone v1.58.1

  • os/version: Microsoft Windows 11 Home 22H2 (64 bit)
  • os/kernel: 10.0.22621.1 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.17.9
  • go/linking: dynamic
  • go/tags: cmount

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)

rclone rcd --rc-no-auth --rc-addr localhost:35530

The rclone config contents with secrets removed.

Not relevant

A log from the command with the -vv flag


After looking through the docs, I found that headers can be passed to rclone copy. I've already tested and you can pass a Range header to the copy command, which would allow for streaming files.

Is there a way to pipe the output of a copy command as STDIN instead of saving it as a file?

This is an example of a command that I would be running:

rclone copy --header-download '"Range": "bytes=0-10"' fs:/path/video.mp4 . --ignore-size --ignore-checksum

I’ve played with this idea before and ended up deciding that song a mount and letting that and my web framework handle the ranges and stuff. Way easier if you can swing it.

If I could, I would. But this solution isn't possible for my use case. Thanks for the suggestion anyways.

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