diff options
Diffstat (limited to '2021/playbook/stream-desktop-and-audio.sh')
-rw-r--r-- | 2021/playbook/stream-desktop-and-audio.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/2021/playbook/stream-desktop-and-audio.sh b/2021/playbook/stream-desktop-and-audio.sh new file mode 100644 index 00000000..d3a7e6f8 --- /dev/null +++ b/2021/playbook/stream-desktop-and-audio.sh @@ -0,0 +1 @@ + while true; do ffmpeg -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 |