Guest User

start-stream.sh

a guest
May 27th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.22 KB | None | 0 0
  1. #!/bin/bash
  2. avconv \
  3.   -f x11grab \
  4.   -s 1920x1080 \
  5.   -r 30 \
  6.   -i :0.0 \
  7.   -an \
  8.   -c:v libx264 \
  9.   -preset veryfast \
  10.   -pix_fmt yuv420p \
  11.   -threads 2 \
  12.   -b:v 1M \
  13.   -f flv \
  14.   'rtmp://<ip>/live/<stream name>'
Add Comment
Please, Sign In to add comment