Advertisement
Guest User

Streaming in loonix

a guest
Feb 26th, 2013
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.36 KB | None | 0 0
  1. #twitch.tv streaming command functionality
  2. streaming(){
  3.   INRES="640x480"
  4.   OUTRES="640x480"
  5.   FPS="30"
  6.   STREAM_KEY="YOUR_STREAM_KEY"
  7.   avconv -f x11grab -s $INRES  -r $FPS -i :0.0 -f alsa -ac 2 -i pulse -vcodec libx264 -s $OUTRES -acodec  libmp3lame  -ar 44100 -threads 4 -qscale 4 -b 1024k -bufsize 512k -f flv "rtmp://live.justin.tv/app/$STREAM_KEY"
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement