Created
March 6, 2018 01:49
-
-
Save ephesus/fbd28ab7f4d123954c36209bfebd7d54 to your computer and use it in GitHub Desktop.
Record video on macbook pro/air with ffmpeg
This file contains 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 | |
# record video on os x | |
# full resolution isn't smooth, and my new macbook has a shitty (not HD?) isight camera | |
ffmpeg -f avfoundation -video_size 640x480 -framerate 30 -i "0:0" out-`date +%y%m%d%H%M%S`.mp4 | |
#ffmpeg -f avfoundation -video_size 640x480 -framerate 30 -i "0:0" out-`date +%y%m%d%H%M%S`.mp4 | |
#ffmpeg -f avfoundation -video_size 640x480 -pix_fmt yuv422p -framerate 30 -i "0:0" out-`date +%y%m%d%H%M%S`.mp4 | |
#list devices | |
#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