From 34a000d83625f1a12ab6eea69b89728d3409c2cc Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 30 Mar 2020 21:21:30 +0200 Subject: output encoded video to stdout instead and add twitch stream script --- twitch-stream.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 twitch-stream.sh (limited to 'twitch-stream.sh') diff --git a/twitch-stream.sh b/twitch-stream.sh new file mode 100755 index 0000000..0be4d12 --- /dev/null +++ b/twitch-stream.sh @@ -0,0 +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" -- cgit v1.2.3-70-g09d2