Back to Captura

Verb: start

docs/Cmdline/Verb-Start.md

8.0.02.5 KB
Original Source

Verb: start

Starts Recording.

There are two modes.

When Length is specified, recording runs until specified Length. When Length is not specified, press q to quit message is displayed.

ArgumentDescription
--cursorInclude cursor
--keysInclude keystrokes
--clicksInclude mouse clicks
--delayDelay before starting recording (in ms)
-t or --lengthLength of recording (in s)
--sourceThe source to record from. See here.
--micThe microphone index to use. (-1 = none (Default)) (0 is first device).
--speakerThe speaker output index to use. (-1 = none (Default)) (0 is first device).
--webcamWebcam to use. (-1 = none (Default)) (0 is first webcam).
-r or --framerateFrame Rate (Default is 10).
--encoderThe video encoder to use. See below.
--vqVideo Quality (1 to 100) (Default is 70).
--aqAudio Quality (1 to 100) (Default is 50).
-f or --fileOutput file path.
-yOverwrite existing file.
--replayReplay recording. Specify duration in seconds as parameter. e.g. --replay 20.

e.g. Record 10 seconds with cursor and keystrokes and audio from first speaker output.

captura-cli start --length 10 --cursor --keys --speaker=0

Using the Encoder argument

By default, SharpAvi Motion JPEG encoder is used.

SharpAvi

Use sharpavi:<index> as argument. index is a zero-based index identifying the encoder.

You can use captura-cli list to check encoder indices.

e.g.

captura-cli start --encoder sharpavi:0

Media Foundation

Use mf as argument.

e.g.

captura-cli start --encoder mf

FFmpeg

Use ffmpeg:<index> as argument. index is a zero-based index identifying the encoder.

You can use captura-cli list to check encoder indices.

e.g.

captura-cli start --encoder ffmpeg:0

Stream

Use stream:<url> as argument. url is the rtmp url of the streaming service.

e.g. Stream to Twitch

captura-cli start --encoder stream:rtmp://live.twitch.tv/app/TWITCH_KEY

Steps

Use steps:video and steps:images as encoder for Steps recording mode.

Record steps to video (avi)

captura-cli start --encoder steps:video

Record steps to a folder containing images (png)

captura-cli start --encoder steps:images