[FFmpeg-user] Check if external microphone is connected

Cecil Westerhof Cecil at decebal.nl
Wed Jan 1 15:37:29 CET 2014


I use:
    ffmpeg -y -f alsa -i plughw:1 -t 0.100 test.mp3

to check if the microphone of the web-cam can be used. Works
perfectly. I would like to do this also for the external microphone,
but when using:
    ffmpeg -y -f alsa -i hw:0,0,1 -t 0.100 test.mp3

this is successful, whether the external microphone is connected or
not. Is there a way to check for an external microphone?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof


More information about the ffmpeg-user mailing list