Add nvidia-like instant replay option

This commit is contained in:
dec05eba
2020-08-28 05:04:16 +02:00
parent b2fc88336a
commit c1f5d7ee4d
3 changed files with 126 additions and 14 deletions

4
replay.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
[ "$#" -ne 5 ] && echo "usage: replay.sh <window_id> <fps> <audio_input> <replay_time_sec> <output_file>" && exit 1
sibs build --release && ./sibs-build/linux_x86_64/release/gpu-screen-recorder -w "$1" -c mp4 -f "$2" -a "$3" -r "$4" -o "$5"