Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use FFmpeg under Windows 7 to stream live video. There are no problems with the camera, but for some reason I can't capture sound from the microphone (I've tested it, it works fine).

I use the -list_devices true command and my microphone is named Microphone (Realtek High Defini. But when I set the "audio" parameter to audio="Microphone (Realtek High Defini", an error occurs:

[NULL @ 036e2240] Unable to find a suitable output format for 'audio=Microphone
(Realtek High Defini'
audio=Microphone (Realtek High Defini: Invalid argument

Here are full commands I use:

ffmpeg -list_devices true -f dshow -i dummy


ffmpeg -f dshow -i video="FaceCam 1320" audio="Microphone (Realtek High Defini" -vcodec h264 -acodec libmp3lame -ac 2 -b:a 128k -ar 44100 -f flv rtmp://localhost/streamApp/cam1
share|improve this question
up vote 8 down vote accepted

Your input parameter is not right, FFmpeg parses your audio as the output file. Try adding a :-sign between your video and audio input.

ffmpeg -f dshow -i video="FaceCam 1320":audio="Microphone (Realtek High Defini" -vcodec h264 -acodec libmp3lame -ac 2 -b:a 128k -ar 44100 -f flv rtmp://localhost/streamApp/cam1

Take a look at the DirectShow FFmpeg wiki for more information about the right parameter settings.

share|improve this answer
This solves my problem. Thanks a lot! – JustLogin Apr 17 '13 at 8:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.