From 066f2b652c25687dbb1e51c9baa5f4c62140cf07 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 31 Mar 2020 18:44:46 +0200 Subject: Allow setting container format and fps --- twitch-stream.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'twitch-stream.sh') diff --git a/twitch-stream.sh b/twitch-stream.sh index 0be4d12..3c10544 100755 --- a/twitch-stream.sh +++ b/twitch-stream.sh @@ -1,4 +1,4 @@ #!/bin/sh -[ "$#" -ne 2 ] && echo "usage: twitch-stream.sh " && exit 1 -sibs build --release && ./sibs-build/linux_x86_64/release/hardware-screen-recorder "$1" "dummy.h264" | ffmpeg -i pipe:0 -c:v copy -f flv "rtmp://live.twitch.tv/app/$2" +[ "$#" -ne 3 ] && echo "usage: twitch-stream.sh " && exit 1 +sibs build --release && ./sibs-build/linux_x86_64/release/hardware-screen-recorder "$1" h264 "$2" | ffmpeg -i pipe:0 -c:v copy -f flv "rtmp://live.twitch.tv/app/$3" -- cgit v1.2.3