We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Linux and macOS users can optionally provide a display or input device number as input:
ScreenRecorder::Desktop.new(input: ':7', output: 'recording.mkv')
Defaults
Linux - :0
:0
macOS - 1
1
Run command echo $DISPLAY on Linux and ffmpeg -f avfoundation -list_devices true -i "" on macOS to get a list of available inputs.
echo $DISPLAY
ffmpeg -f avfoundation -list_devices true -i ""