Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Screen recorder under 100 bytes: ffmpeg -video_size 1024x768 -framerate 25 -f x11grab -i :0.0+100,200 output.mp4


Per [1] That would be 39MB (uncompressed; probably about half that compressed) to include ffmpeg-darwin-arm64, since OS X doesn't ship with ffmpeg installed.

1: https://news.ycombinator.com/item?id=43839120


Screen recorder in under 100 bytes:

Open QuickTime and hit Command-Shift-N. Press record.


Screen recorder in 0 bytes: open camera app on phone and hit record.


Last time I checked, statically built ffmpeg was 100 MB, at least on Linux.


18.4MB compressed[1].

FWIW the transitive dependencies of the nixOS ffmpeg add up to 764MB, but dynamically linking is always much larger than statically linking, and that calculation will include more than just the shared-libraries.

Also note that he app includes an ffmpeg that is 39MB uncompressed.

1: https://johnvansickle.com/ffmpeg/ (based on the arm64 build, since TFA is an arm64 app).


you're not their target audience


does that work on MacOS?


Yes, but command is different: https://trac.ffmpeg.org/wiki/Capture/Desktop


No, but cmd+shift+5 does.


TIL




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: