From c42aa40033fd9d16e1da51cccc56b6063d6eec6e Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Sat, 20 Nov 2021 20:17:07 -0500 Subject: Add custom IDs, streaming script --- playbook/stream-desktop-and-audio.sh | 1 + 1 file changed, 1 insertion(+) create mode 100644 playbook/stream-desktop-and-audio.sh (limited to 'playbook') diff --git a/playbook/stream-desktop-and-audio.sh b/playbook/stream-desktop-and-audio.sh new file mode 100644 index 00000000..38f50025 --- /dev/null +++ b/playbook/stream-desktop-and-audio.sh @@ -0,0 +1 @@ + while 1; do ffmpeg -reconnect_at_eof 1 -reconnect_streamed 1 -loglevel 0 -ar 48000 -f alsa -channels 2 -sample_rate 48000 -i default -re -video_size 1280x720 -framerate 25 -f x11grab -i :0.0 -cluster_size_limit 2M -cluster_time_limit 5100 -content_type video/webm -c:v libvpx -b:v 1M -crf 30 -g 125 -deadline good -threads 4 -f webm $CONFALT; done -- cgit v1.2.3