I've been trying for the last hour or so to stream to Twitch.tv with desktop audio in the stream. Currently, I'm able to use this to get a video to display on Twitch:#! /bin/bashINRES=1280x800             # input resolutionOUTRES=640x480             # Output resolutionFPS=30                     # target FPSQUAL=medium                # one of the many FFMPEG presetsSTREAM_KEY=$(cat ~/.twitch_key)ffmpeg \    -f x11grab -s $INRES  -r $FPS -i :0.0 \    -f alsa -ac 2 -i pulse  \    -vcodec libx264 -s $OUTRES -preset $QUAL \    -acodec libmp3lame -ar 44100 -threads 6 -qscale 3 -b 712000  -bufsize 512k \    -f flv rtmp://live.justin.tv/app/$STREAM_KEYWhat I want this to do is along with my microphone, I need the audio that my computer is playing (e.g. the audio from a YouTube video) to upload to the stream as well.I'm also open to other options, but I haven't been able to find any as of yet.
Using FFMPEG to stream to Twitch.tv with desktop audio?
audio;ffmpeg;recording