aboutsummaryrefslogtreecommitdiff
path: root/scripts/replay.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-01-24 21:05:04 +0100
committerdec05eba <dec05eba@protonmail.com>2024-01-24 21:05:04 +0100
commitc70c0c18bd57bc139b993c2fdf09055cf8f0acda (patch)
tree6858c300a1934348dac5f2a644b4c69f73369687 /scripts/replay.sh
parentbbf509caf2dbf355ebc3d68ecc1b84e7669f195f (diff)
Add example scripts to save recording in application specific directory
Diffstat (limited to 'scripts/replay.sh')
-rwxr-xr-xscripts/replay.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/replay.sh b/scripts/replay.sh
index cf6c494..2781e1e 100755
--- a/scripts/replay.sh
+++ b/scripts/replay.sh
@@ -3,4 +3,4 @@
[ "$#" -ne 4 ] && echo "usage: replay.sh <window_id> <fps> <replay_time_sec> <output_directory>" && exit 1
active_sink="$(pactl get-default-sink).monitor"
mkdir -p "$4"
-gpu-screen-recorder -w "$1" -c mp4 -f "$2" -a "$active_sink" -r "$3" -o "$4"
+gpu-screen-recorder -w "$1" -c mkv -f "$2" -a "$active_sink" -r "$3" -o "$4"