aboutsummaryrefslogtreecommitdiff
path: root/twitch-stream.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-08-29 07:30:43 +0200
committerdec05eba <dec05eba@protonmail.com>2020-08-29 07:30:43 +0200
commitf7f8ef174760d94088878ccf9db4fcada3c2aaf0 (patch)
treea18c4db9477c67a82225ecda65f1f253a13bcade /twitch-stream.sh
parent0780efe87d28765520e0d31eaba6fdabc91dd13e (diff)
Add script for streaming while saving a local copy of the video
Diffstat (limited to 'twitch-stream.sh')
-rwxr-xr-xtwitch-stream.sh3
1 files changed, 1 insertions, 2 deletions
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 <window_id> <fps> <audio_input> <livestream_key>" && 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"