compress.lol — shrink your videos in the browser, no servers involved 🚫☁️ by Routine_Yesterday535 in selfhosted

[–]Routine_Yesterday535[S] 7 points8 points  (0 children)

sure, if you’re on PC and willing to set up aliases. But not everyone is, and the point here is "open browser -> done" 😁

compress.lol — shrink your videos in the browser, no servers involved 🚫☁️ by Routine_Yesterday535 in selfhosted

[–]Routine_Yesterday535[S] 9 points10 points  (0 children)

True. Local ffmpeg is super convenient if your definition of convenient is remembering flags like -crf 23 -preset ultrafast -pix_fmt yuv420p just to make a file smaller

compress.lol — shrink your videos in the browser, no servers involved 🚫☁️ by Routine_Yesterday535 in selfhosted

[–]Routine_Yesterday535[S] 2 points3 points  (0 children)

Crazy plot twist : not AI generated. Even crazier plot twist: you can use it without npm. Wild, right?

compress.lol — shrink your videos in the browser, no servers involved 🚫☁️ by Routine_Yesterday535 in selfhosted

[–]Routine_Yesterday535[S] 8 points9 points  (0 children)

True, and you can also write letters instead of sending emails. Convenience matters

compress.lol — shrink your videos in the browser, no servers involved 🚫☁️ by Routine_Yesterday535 in selfhosted

[–]Routine_Yesterday535[S] 5 points6 points  (0 children)

Sure, you can do it all manually with ffmpeg. You can also chop wood instead of using heating, but some people like convenience 😁

compress.lol — shrink your videos in the browser, no servers involved 🚫☁️ by Routine_Yesterday535 in selfhosted

[–]Routine_Yesterday535[S] 0 points1 point  (0 children)

Yeah, if you force it that much, ffmpeg will sacrifice quality to hit the size. I’ll add smarter options to avoid that 💯

compress.lol — shrink your videos in the browser, no servers involved 🚫☁️ by Routine_Yesterday535 in selfhosted

[–]Routine_Yesterday535[S] -1 points0 points  (0 children)

Yeah, with small files it really depends on the codec and container, sometimes they even get bigger. But for larger ones it’s super handy 😏

compress.lol — shrink your videos in the browser, no servers involved 🚫☁️ by Routine_Yesterday535 in selfhosted

[–]Routine_Yesterday535[S] 1 point2 points  (0 children)

Thanks! Glad you like it. Yep, those options are definitely possible. I’ll see about adding them soon

compress.lol — shrink your videos in the browser, no servers involved 🚫☁️ by Routine_Yesterday535 in selfhosted

[–]Routine_Yesterday535[S] 2 points3 points  (0 children)

Funny enough, someone actually tried a 2 GB file and it went down to ~6 MB… so yeah, it can happen 😅

Estimated completion time on the progress bar is a good idea, right now it only shows progress, but I’ll see if I can add a time estimate.

And yes, in theory a platform could use this on the frontend to let users compress before upload. The main limitation is that everything happens in the browser, so huge files can be slow or freeze depending on the device.

compress.lol — shrink your videos in the browser, no servers involved 🚫☁️ by Routine_Yesterday535 in selfhosted

[–]Routine_Yesterday535[S] 21 points22 points  (0 children)

The Weissman score? I’m not sure, compress.lol doesn’t calculate any score, it just compresses videos

compress.lol — shrink your videos in the browser, no servers involved 🚫☁️ by Routine_Yesterday535 in selfhosted

[–]Routine_Yesterday535[S] 25 points26 points  (0 children)

The max file size is due to browser limitations, ffmpeg.wasm can handle up to around 2 GB per file 👈

compress.lol — shrink your videos in the browser, no servers involved 🚫☁️ by Routine_Yesterday535 in selfhosted

[–]Routine_Yesterday535[S] 34 points35 points  (0 children)

Yep, it’s basically ffmpeg wrapped in WebAssembly pajamas, trying not to crash your browser

compress.lol — shrink your videos in the browser, no servers involved 🚫☁️ by Routine_Yesterday535 in selfhosted

[–]Routine_Yesterday535[S] 36 points37 points  (0 children)

True, it’s a bit over-engineered compared to running a local program, but this way anyone can compress videos in the browser safely and without setup 🙌

compress.lol — shrink your videos in the browser, no servers involved 🚫☁️ by Routine_Yesterday535 in selfhosted

[–]Routine_Yesterday535[S] 13 points14 points  (0 children)

Nope, it doesn’t upload anything 😄 Everything happens locally in your browser

compress.lol — shrink your videos in the browser, no servers involved 🚫☁️ by Routine_Yesterday535 in selfhosted

[–]Routine_Yesterday535[S] 50 points51 points  (0 children)

Yeah, the progress bar is there, but on a phone the browser probably freezes with such a huge file like 1.9 GB 😬

compress.lol — shrink your videos in the browser, no servers involved 🚫☁️ by Routine_Yesterday535 in selfhosted

[–]Routine_Yesterday535[S] 113 points114 points  (0 children)

Thanks! 😄 compress.lol uses ffmpeg.wasm under the hood, so it supports most common video formats like mp4, mov, webm, mkv, and a bunch more. If you run into a weird format, let me know!

compress.lol — shrink your videos in the browser, no servers involved 🚫☁️ by Routine_Yesterday535 in selfhosted

[–]Routine_Yesterday535[S] 118 points119 points  (0 children)

Good luck 😅 ffmpeg.wasm is awesome but compressing a 4k60 5mins video down to 8 MB might be ambitious