I am recording a Let's Play using ffmpeg on Arch Linux. I would like to have it record both the game's audio, and my mic. I am using PulseAudio for sound. I can get it to record the mic, or the game's audio, but not both. I need the output to be in a format suitable for YouTube (Video: h264, Audio: AAC).
How can I record both sources at once? I'm looking for a solution that either combines them into one audio track in the output file, or else gives me two audio output files and another program to combine them.
My current hack is to use gst-launch to send all mic input to speaker output, and because that is really distracting, turn the volume down to nothing on my headphones.