-
-
Save vido89/70e4e083c1f925480892a4e523450a1c to your computer and use it in GitHub Desktop.
Video Live Streaming with FFMpeg to Icecast2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Stream Desktop (1920x1200) at 25fps scaled down to 1280x800 | |
ffmpeg -video_size 1920x1200 -framerate 25 -f x11grab -i :0.0 -f webm -r 25 -s 1280x800 -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 icecast://source:supersecretpassword@host.example.com:8000/video.webm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment