Last active
February 11, 2022 23:33
-
-
Save matthewoestreich/517f911a566c62e81207c19024d82cd5 to your computer and use it in GitHub Desktop.
record screen on mac osx monterrey via ffmpeg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ffmpeg -f avfoundation -capture_cursor "1" -i "1" -pix_fmt yuv420p -r 25 out.mp4 | |
# CAPTURE CURSOR SHOULD BE SAME AS SCREEN INDEX | |
# USE THIS TO GET SCREEN INDEX: `ffmpeg -f avfoundation -list_devices true -i ""` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment