You are not logged in.
I am using ffmpeg to stream my desktop(or a window rather) and I am using pulseaudio as my audio mixer. I cannot figure out a way to use the sound output (that goes through my speakers). It always records my microphone. Is there a way to change the audio source that ffmpeg uses from pulse? The specific audio code for ffmpeg that I am using is this: -f alsa -ac 2 -i pulse. Also if my args for ffmpeg look like they could be improved tell me! Here is the relevant code from the script I am using: ffmpeg -f x11grab -s $inres -r $fps -i :0.0+${cornerx},${cornery} -f alsa -ac 2 -i pulse -vcodec libx264 -s "$outres" -pix_fmt yuv420p -acodec libmp3lame -ar 44100 -threads 6 -qscale 5 -b 256k -f flv "rtmp://live.twitch.tv/app/$streamkey
Last edited by wolfo9999 (2013-07-14 03:59:18)
Offline