1.4 KiB
GPU Screen Recorder
GPU Screen Recorder is a utility similar to Nvidia ShadowPlay.
Setup
GPU Screen Recorder can be installed on some distributions by installing the
gpu-screen-recorder-git
package.
An installation via git
is always possible.
Usage
The program features normal recording of the screen and recording in the so called replay mode. To start a simple screen recording run the following command.
gpu-screen-recorder -w $(xdotool selectwindow) -c mp4 -f 60 -a "$(pactl get-default-sink).monitor" -o test_video.mp4`
The window to record has to be selected first by clicking on it. The default audio device is already selected.
To stop the recording Ctrl-C
the previous command or use the command below.
killall -SIGINT gpu-screen-recorder
For the replay mode the recording can be started the following way.
gpu-screen-recorder -w $(xdotool selectwindow) -c mp4 -f 60 -a "$(pactl get-default-sink).monitor" -r 30 -o .`
In this case a replay will have the maximum length of 30 seconds (specified by
-r 30
).
It is also important to assign the -o
flag with a directory and not a file
anymore.
The last 30 seconds (replay) can then be sending a SIGUSR1 signal.
killall -SIGUSR1 gpu-screen-recorder