Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- INRES="640x480" # input resolution
- OUTRES="640x480"
- FPS="20" # target FPS
- QUAL="normal" # one of the many FFMPEG preset
- STREAM_KEY=get_key_from_site #get your stream key
- ffmpeg -f x11grab -s "$INRES" -r "$FPS" -i :0.0 -f alsa -ac 2 -i hw:0,0 -vol 4096 -vcodec libx264 -vpre "$QUAL" -s "$OUTRES" -ar 44100 -acodec libmp3lame -ab 128k -threads 0 -f flv "rtmp://live.justin.tv/app/$STREAM_KEY flashver=FMLE/3.0\20(compatible;\20FMSc/1.0)"
Add Comment
Please, Sign In to add comment