1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-11-07 05:31:17 +01:00

gpu-screen-recorder/nvidia shadowplay: added

This commit is contained in:
2023-01-11 02:08:02 +01:00
parent 5384682935
commit 11be139b2a
4 changed files with 75 additions and 3 deletions

View File

@@ -0,0 +1,46 @@
# GPU Screen Recorder
[GPU Screen Recorder](https://git.dec05eba.com/gpu-screen-recorder/about/) is a
utility similar to [Nvidia ShadowPlay](/wiki/nvidia.md#screen-capture).
## Setup
GPU Screen Recorder can be installed on some distributions by installing the
`gpu-screen-recorder-git` package.
An installation via [git](https://git.dec05eba.com/gpu-screen-recorder/about/)
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.
```sh
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.
```sh
killall -SIGINT gpu-screen-recorder
```
For the replay mode the recording can be started the following way.
```sh
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.
```sh
killall -SIGUSR1 gpu-screen-recorder
```

View File

@@ -1,10 +1,10 @@
# NVidia
# Nvidia
NVidia is a vendor for graphics cards.
[Nvidia](/wiki/nvidia.md) is a vendor for graphics cards.
## Setup
For NVidia GPUs to work install the `nvidia` and the `nvidia-utils` package.
For Nvidia GPUs to work install the `nvidia` and the `nvidia-utils` package.
If you want to easily configure the monitors as described in a later section of
this file you can also install `nvidia-settings`.