diff options
author | 4censord <mail@4censord.de> | 2023-10-15 15:44:33 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-10-15 18:10:15 +0200 |
commit | 3ae89c8d7c25f23a70bdec34c6e43cfe916f2d0c (patch) | |
tree | edb0223a1b837c5723d75c43f8450c0ad0fd2813 /README.md | |
parent | cf7b5e0904c145500961a1279beb806b96e0d53f (diff) |
Add the ability to save replays into folders by date
This adds a new flag, '-mf' with a boolean argument
If this is set, replays are organized in folders by date.
With this, replays are saved like:
$output_folder/2023-10-15/Replay_15-39-28.mp4
instead of all into the same folder.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -83,6 +83,7 @@ Here is an example of how to record all monitors and the default audio output: ` 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 Run `gpu-screen-recorder` with the `-c mp4` and `-r` option, for example: `gpu-screen-recorder -w screen -f 60 -r 30 -c mp4 -o ~/Videos`. Note that in this case, `-o` should point to a directory (that exists).\ +If `-mf yes` is set, replays are save in folders based on the date. To save a video in replay mode, you need to send signal SIGUSR1 to gpu screen recorder. You can do this by running `killall -SIGUSR1 gpu-screen-recorder`.\ To stop recording, send SIGINT to gpu screen recorder. You can do this by running `killall gpu-screen-recorder` or pressing `Ctrl-C` in the terminal that runs gpu screen recorder.\ The file path to the saved replay is output to stdout. All other output from GPU Screen Recorder is output to stderr. |