From f7f8ef174760d94088878ccf9db4fcada3c2aaf0 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 29 Aug 2020 07:30:43 +0200 Subject: Add script for streaming while saving a local copy of the video --- twitch-stream.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'twitch-stream.sh') diff --git a/twitch-stream.sh b/twitch-stream.sh index 7f9a037..325fd23 100755 --- a/twitch-stream.sh +++ b/twitch-stream.sh @@ -1,5 +1,4 @@ #!/bin/sh [ "$#" -ne 4 ] && echo "usage: twitch-stream.sh " && exit 1 -#ismv -sibs build --release && ./sibs-build/linux_x86_64/release/gpu-screen-recorder -w "$1" -c flv -f "$2" -a "$3" | ffmpeg -i pipe:0 -c:v copy -f flv -max_muxing_queue_size 4096 -- "rtmp://live.twitch.tv/app/$4" +./sibs-build/linux_x86_64/release/gpu-screen-recorder -w "$1" -c flv -f "$2" -a "$3" | ffmpeg -i pipe:0 -c:v copy -f flv -- "rtmp://live.twitch.tv/app/$4" -- cgit v1.2.3