osx-screencast
Easily create a screencast on OS X in a few commands
Easily create a screencast on OS X in a few commands. Inspired from this gist.
Usage
For an animated example visit the GitHub page on the links below.
The osx-screencast-record
command basically just opens up an application with open -a
defaulting to Quicktime Player
as the application that gets opened. The -a
or --application
can be used to override this values.
Record
Record your screen in the application you’ve chosen and save the file.
You will need to know the path to the file you’ve saved because it will be the source
of the osx-screencast-export
command.
Export
The osx-screencast-export
command wraps the use of ffmpeg
and convert
with default arguments. You can define the output fps for a video with the -f
or --fps
option. The default is 10
. The delay between each frame in the output can be defined in milliseconds with the -d
or --delay
option. The default is 5
. The output scale can be defined with the -s
or --scale
option. The default is 320:-1
. See this link for more information on ffmpeg
scaling.
api
osx-screencast
record
export
Links
- Source Code (GitHub)
- Author: Joseph Werle