heydemoura

jtvstreamer.sh

Oct 7th, 2011
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.31 KB | None | 0 0
  1. #!/bin/bash
  2. INRES="1280x720"
  3. OUTRES="640x480"
  4. FPS="60"
  5. QUAL="fast"
  6. STREAM_KEY="suastreamkeyaqui"
  7.  
  8. ffmpeg -f x11grab -s "$INRES" -r "$FPS" -i :0.0 \
  9. -f alsa -ac 2 -i pulse -vcodec libx264 -vpre "$QUAL" -s "$OUTRES" \
  10. -acodec libmp3lame -ab 128k -threads 0 \
  11. -f flv "rtmp://live.justin.tv/app/$STREAM_KEY"
  12.  
Add Comment
Please, Sign In to add comment