SHARE
TWEET

Untitled

a guest May 6th, 2014 152 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #! /bin/bash
  2.  
  3. INRES="1920x1080"
  4. OUTRES="1280x720"
  5. FPS="30"
  6. STREAM_KEY="$(cat stream_key.txt)"
  7.  
  8. #old audio input
  9. #-f alsa -ac 2 -i hw:0,0
  10.  
  11. ffmpeg -f x11grab -s "$INRES" -r "$FPS" -i :0.0+1920,0 -f alsa -ac 2 -i pulse -vcodec libx264 -s $OUTRES -acodec libmp3lame -ar 44100 -threads 2 -qscale 6 -b 192k -f flv "rtmp://live.justin.tv/app/$STREAM_KEY"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top