Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- avconv \
- -f x11grab \
- -s 1920x1080 \
- -r 30 \
- -i :0.0 \
- -an \
- -c:v libx264 \
- -preset veryfast \
- -pix_fmt yuv420p \
- -threads 2 \
- -b:v 1M \
- -f flv \
- 'rtmp://<ip>/live/<stream name>'
Add Comment
Please, Sign In to add comment