Show HN: CompressX, my FFmpeg wrapper for macOS
170 points| hieu_dinh | 1 year ago |compressx.app | reply
For those who may not be familiar, FFmpeg is a powerful tool for converting, streaming, and recording audio and video content.
I started CompressX as a weekend project to serve my 9-5 jobs, primarily to compress demo videos for uploading to GitLab and sharing with my colleagues. It took me 2 weeks to make the first working version. I shared the demo on Twitter and the reaction was extraordinary. People loved it, they said that I was bringing the Pied Piper to life.
Four months later, I hit the $9,000 mark in revenue. I never expected to make a dime from this project, let alone eight thousand dollars. It's been a surreal experience, but it's also been incredibly rewarding.
I put a lot of time and effort into developing this tool, and it's amazing to see it paying off. It's been a great journey so far and I'm excited to see where it takes me next.
[+] [-] emmanueloga_|1 year ago|reply
"up to 90% file size reduction"
What's an example of an input video or image that would see its size reduced by 90% without loosing quality? Also, how do you come up with this percentage? I imagine median/average size reduction must be way lower than 90% in real life. What if anything happens if size reduction fails?
The app doesn't seem to allow selection of codec (from the video I imagine "format" refers to the container, like say, mp4). Do you always encode using the same codec? Which one? Which ffmpeg settings do you use to ensure good compression? Does the app generate a log of the ffmpeg command used?
Can you trim videos without re-encoding them? ("lossless cut")
[+] [-] j1elo|1 year ago|reply
[1]: https://github.com/mifi/lossless-cut
[2]: https://github.com/mifi/lossless-cut/issues/126
[+] [-] blopker|1 year ago|reply
ImageOptim is a good example of a nice UI on top of image compression libraries. Sadly, it hasn't been kept up to date. It's slower and compresses worse than what's possible now. It also doesn't support webp. For my own work, I made an open source clone[0] with the newest stuff in it. I use libcaesium, which is a Rust wrapper around all the compression libraries. Check out the source to see how easy it is.
[0]: https://github.com/blopker/alic
[+] [-] hieu_dinh|1 year ago|reply
[+] [-] orev|1 year ago|reply
Other low cost video devices (like dashcams) can use higher bitrates and lower compression modes simply because they don’t have the CPU power to use the most optimal settings while also being able to record real-time streams.
You can save a lot of space by re-encoding these types of files on a real computer.
[+] [-] jjice|1 year ago|reply
Is the ecosystem part of this? Is it that the application demographic leans towards MacOS? Is the dev and monetization experience better? I'm really curious if anyone know why I see so much good native indie software for MacOS specifically.
[+] [-] cjk2|1 year ago|reply
On Windows and Linux one minute you're constantly poked in the eye by fucked up scaling issues, different toolkit weirdness and quirks, various layers of abandoned shit going back 25 years and people with the design ability of a three legged goat with cataracts. It is fatiguing.
[+] [-] jwells89|1 year ago|reply
I can whip up a decent looking AppKit UI for a moderately complex desktop app that can handle the rigors of accessibility settings and internationalization in an afternoon without importing a single third party dependency. That’s hard to beat for indie dev projects.
[+] [-] jasonjmcghee|1 year ago|reply
[+] [-] hieu_dinh|1 year ago|reply
[+] [-] altcognito|1 year ago|reply
Probably a bit of hyperbole to put this into a category of "best looking software"
[+] [-] encom|1 year ago|reply
[+] [-] hvaoc|1 year ago|reply
I myself have this conflict to built something cross platform but then you don’t get well polished out of the box.
What do you folks think about this?
Any success with non macOS non tech savvy users buying your software as much as macOS users?
[+] [-] knubie|1 year ago|reply
[+] [-] tailspin2019|1 year ago|reply
And some developers are either pretty good UI designers too (it happens) or at the very least they have good taste for design. If you’re one of those people, it’s hard not to gravitate towards the Mac.
That and Apple care a lot about design too so as others have said, the platform is kind of setup for guiding you (mostly) towards making good decisions in that area.
[+] [-] icar|1 year ago|reply
[+] [-] threecheese|1 year ago|reply
[+] [-] ubanholzer|1 year ago|reply
[+] [-] kinduff|1 year ago|reply
[+] [-] ghusto|1 year ago|reply
[+] [-] hieu_dinh|1 year ago|reply
[+] [-] ta1243|1 year ago|reply
Do you work for microsoft?
[+] [-] PsyNyde|1 year ago|reply
[+] [-] sam0x17|1 year ago|reply
[+] [-] fancythat|1 year ago|reply
[+] [-] hieu_dinh|1 year ago|reply
[+] [-] zoobab|1 year ago|reply
[+] [-] alberth|1 year ago|reply
Since FFmpeg is GPL2, doesn’t that require CompressX to disclose its source code?
IANAL, apologies if I miss understand license requirements.
https://github.com/FFmpeg/FFmpeg?tab=License-1-ov-file
[+] [-] pelletier|1 year ago|reply
EDIT: seems like the user has to install ffmpeg separately, so seems like they are in the clear anyway? https://hieudinh.notion.site/How-to-setup-CompressX-93a89b07...
[+] [-] matthewfelgate|1 year ago|reply
[+] [-] tombert|1 year ago|reply
[+] [-] hieu_dinh|1 year ago|reply
[+] [-] minicoz|1 year ago|reply
if anyone wants to do the same stuff for free on windows (except image resizing)
I use FFMPEGBatchAVConverter
https://ffmpeg-batch.sourceforge.io/
Batch FFMPEG conversion (I usually go from h264 to HEVC with my NVIDIA GPU 3060Ti)
> ffmpeg -i file.mp4 -c:v hevc_nvenc -rc vbr -cq 24 -qmin 24 -qmax 24 -profile:v main10 -pix_fmt p010le -b:v 0K -c:a aac -map 0
and LosslessCut
https://github.com/mifi/lossless-cut for ffmpeg cutting and splicing p0rn scenes.
[+] [-] racl101|1 year ago|reply
Great looking app too.
[+] [-] hieu_dinh|1 year ago|reply
[+] [-] edyc5|1 year ago|reply
[+] [-] hieu_dinh|1 year ago|reply
[+] [-] throwaway598|1 year ago|reply
[+] [-] hieu_dinh|1 year ago|reply
[+] [-] brigadier132|1 year ago|reply
[+] [-] hieu_dinh|1 year ago|reply
[+] [-] pipeline_peak|1 year ago|reply
A lot of people would just go “look at this app I made by myself, it compresses files”
[+] [-] Cyph0n|1 year ago|reply
[+] [-] tombert|1 year ago|reply
[+] [-] egorfine|1 year ago|reply
Could you please share the marketing side? I'd love to start a side project as well but I have exactly zero ideas on how to get initial traction.
[+] [-] hieu_dinh|1 year ago|reply
[+] [-] m3kw9|1 year ago|reply
[+] [-] atonse|1 year ago|reply
[+] [-] mgrey|1 year ago|reply