From c11306c5fdc7a772aad4063ee08a0bb413ae8e4b Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 11 Nov 2024 00:06:29 +0100 Subject: Add --list-capture-options option --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 3379c06..1ccbbad 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,12 @@ There is also a new alternative UI for GPU Screen Recorder in the style of Shado ## Recording Here is an example of how to record your monitor and the default audio output: `gpu-screen-recorder -w screen -f 60 -a default_output -o ~/Videos/test_video.mp4`. Yyou can stop and save the recording with `Ctrl+C` or by running `killall -SIGINT gpu-screen-recorder`. -You can see a list of monitor names to record if you use an invalid monitor name, for example: `gpu-screen-recorder -w invalid -f 60 -o video.mp4`. +You can see a list of capture options to record if you run `gpu-screen-recorder --list-capture-options`. This will list possible capture options and monitor names, for example:\ +``` + window + DP-1|1920x1080 +``` +in this case you could record a window or a monitor with the name `DP-1`. ## Streaming Streaming works the same as recording, but the `-o` argument should be path to the live streaming service you want to use (including your live streaming key). Take a look at `scripts/twitch-stream.sh` to see an example of how to stream to twitch. ## Replay mode -- cgit v1.2.3