diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-06-03 10:26:26 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-06-03 10:26:26 +0200 |
commit | 8b64f915a7b5e600d44f7a825097e879e51afbf8 (patch) | |
tree | e323a723eadb538a946d1873ada583397d0902da /scripts/twitch-stream.sh | |
parent | ac2add6f04a7b569cb679aa9caa504845441fdc6 (diff) |
Simplify hls script, set quality to high
Diffstat (limited to 'scripts/twitch-stream.sh')
-rwxr-xr-x | scripts/twitch-stream.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/twitch-stream.sh b/scripts/twitch-stream.sh index cd4737a..aaa5828 100755 --- a/scripts/twitch-stream.sh +++ b/scripts/twitch-stream.sh @@ -2,4 +2,4 @@ [ "$#" -ne 3 ] && echo "usage: twitch-stream.sh <window_id> <fps> <livestream_key>" && exit 1 active_sink="$(pactl get-default-sink).monitor" -gpu-screen-recorder -w "$1" -c flv -f "$2" -a "$active_sink" -o "rtmp://live.twitch.tv/app/$3" +gpu-screen-recorder -w "$1" -c flv -f "$2" -q high -a "$active_sink" -o "rtmp://live.twitch.tv/app/$3" |