



#MAC SCREEN CAPTURE COMMAND ARCHIVE#
I'm using this daily to create archive of GoToWebinar, but when next release of FFmpeg supports G2M4 codec, I won't bother anymore. If you don't mind to use GUI, then MPEG StreamClip (or QuickTime) serves also well. When you take a screenshot on your Mac using the Shift-Command-3 shortcut to capture the whole screen, or Shift-Command-4 to capture a portion of it the image files are saved straight to. Next step: multiplex audio and video to create mp4. I did not find nor compile SOX enabled for MPEG audio streams, hence using FLAC to save some space I'm using XLD to convert it to AAC-HE 16kbps, which is enough for voice. When you fire this command, the mouse pointer will turn into a cross-wire (interactive mode) and you can select an area on the screen and this file will be saved as myScreenCapture1 with jpg image format extension on the desktop. You can get an idea what the script is doing: record 3h capture, mono sound, every working day at 8AM Some Terminal Screen Capture Examples : screencapture -i /Desktop/myScreenCapture1.jpg. VLC -I dummy screen:// -screen-fps=25 -quiet -sout "#transcode" -run-time $TIME vlc://quitĠ 8 * * 1-5 ~/capture.sh 3 0 recording-name 1 It is quite flexible, but requires knowledge of Bash scripting (perhaps also Apple script) I found my inspiration in Diego Massanti's mkmp4 script.Ĭore processes to launch: rec -q -c $C -r 48000 -b 16 $AFILE trim 0 $HH:$MM:00 & I'm using SOX and VLC for capture, crontab for scheduling, XLD to create m4a and MP4Box for multiplexing.
