diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-06-03 10:28:26 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-06-03 10:28:26 +0200 |
commit | 04db56aa8fe16e0cfb6fdf8cda7b9f6051a095c3 (patch) | |
tree | 1b0edde52cd674788ca8985144fd377bf1ba5ca7 | |
parent | 8b64f915a7b5e600d44f7a825097e879e51afbf8 (diff) |
fix hls stream script
-rwxr-xr-x | scripts/youtube-hls-stream.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/youtube-hls-stream.sh b/scripts/youtube-hls-stream.sh index 747a310..2f1659e 100755 --- a/scripts/youtube-hls-stream.sh +++ b/scripts/youtube-hls-stream.sh @@ -2,4 +2,4 @@ [ "$#" -ne 3 ] && echo "usage: youtube-hls-stream.sh <window_id> <fps> <livestream_key>" && exit 1 active_sink="$(pactl get-default-sink).monitor" -gpu-screen-recorder -w "$1" -c hls -f "$2" -q high -a "$active_sink" -ac aac "https://a.upload.youtube.com/http_upload_hls?cid=$3©=0&file=stream.m3u8"
\ No newline at end of file +gpu-screen-recorder -w "$1" -c hls -f "$2" -q high -a "$active_sink" -ac aac -o "https://a.upload.youtube.com/http_upload_hls?cid=$3©=0&file=stream.m3u8"
\ No newline at end of file |