Use the desktop
parameter to capture the entire Desktop (Default).
Works with both captura-cli start
and captura-cli shot
.
This is the default option, so is as good as not using this option.
e.g.
captura-cli start --source desktop
Use Left, Top, Width and Height resp. as comma separated values to represent the region to capture.
Works with both captura-cli start
and captura-cli shot
.
The dimensions of the region must be even. If not, they are decreased by 1 as required.
e.g.
captura-cli shot --source 100,100,300,400
Use screen:<index>
as the argument. index
is a zero-based index identifying the screen.
Works with both captura-cli start
and captura-cli shot
.
You can use captura-cli list
to check screen indices.
e.g.
captura-cli start --source screen:1
Use none
for No Video.
Available only with captura-cli start
.
Can be used for audio only recording.
e.g. Record only the speaker output.
captura-cli start --source none --speaker 0
Use win:<hWnd>
as the argument. hWnd
is handle of the window.
When using with captura-cli start
, the window handle must be in the captura-cli list
output.
You can use captura-cli list
to check visible window handles.
Use webcam
as the argument to capture only the webcam.
Can only work with captura-cli start
.
Use the --webcam
argument to set the webcam.
You can use captura-cli list
to check available webcams.
e.g.
captura-cli start --source webcam --webcam 0