25

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!

you are viewing a single comment's thread
view the rest of the comments
[-] MigratingtoLemmy@lemmy.world 1 points 6 months ago

Thank you, this is exactly my use-case, along with some live streaming.

However,

  1. How are you running a find command on a warch folder with continuously streaming video? I believe the IPC process has to end (system has to finish writing to a file) for post-processing (reencoding) to take place? That's why I wanted to do this transparently, since I have no local storage to speak of to maintain a watch folder/cache.
  2. Thanks for the reencoding solution, I'll take a look at handbrake
[-] DaGeek247@fedia.io 4 points 6 months ago

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/

this post was submitted on 23 May 2024
25 points (90.3% liked)

Linux

48376 readers
1233 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS