From 85cd5a9d113de506c0722acaada68af56c9f9642 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 19 Sep 2022 16:19:41 +0200 Subject: Move scripts to script dir, add youtube-hls-stream script, fix twitch stream script --- scripts/replay.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 scripts/replay.sh (limited to 'scripts/replay.sh') diff --git a/scripts/replay.sh b/scripts/replay.sh new file mode 100755 index 0000000..cf6c494 --- /dev/null +++ b/scripts/replay.sh @@ -0,0 +1,6 @@ +#!/bin/sh -e + +[ "$#" -ne 4 ] && echo "usage: replay.sh " && 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" -- cgit v1.2.3