cross-posted from: https://lemmy.world/post/15706364
Transparent compression layer on Linux?
My use-case: streaming video to a Linux mount and want compression of said video files on the fly.
Rclone has an experimental remote for compression but this stuff is important to me so that’s no good. I know rsync can do it but will it work for video files, and how I get rsync to warch the virtual mount-point and automatically compress and move over each individual file to rclone for upload to the Cloud? This is mostly to save on upload bandwidth and storage costs.
Thanks!
Thank you, this is exactly my use-case, along with some live streaming.
However,
If you want a live conversion and can’t afford the >100$ it would cost to grab an ssd for a scratchdisk, you might also look into using vlc to grab the video stream from source camera, and encode it out to somewhere else, such as a webserver.
https://wiki.videolan.org/Documentation:Streaming_HowTo/Receive_and_Save_a_Stream/
You might also need a script to make sure it’s always up.
Alternatively, there’s a good chance that zoneminder will be able to do what you want with just a little tinkering. https://zoneminder.com/