How to record audio from mic using FFmpeg aka audio grabbing
Aug 06, 2010, 20:18 (0 Talkback[s])
How You Can Improve Your Machine Learning with Spark REGISTER >
"Recently a linuxer pointed out that in spite of the amazing and
widespread capabilities of FFmpeg, I have just been focused upon
its media conversion feature. If you take a look at all our
previous ffmpeg articles, the guy is right. So, from now we will
discuss other features of the superstar too, starting with audio
"Why don't you try out the command first and we will see later
how it actually works.
[shredder12]$ ffmpeg -f oss -i /dev/dsp audio.mp3
"Once you run this command you will see ffmpeg saving some data
in the file audio.mp3. What is it? Its actually recording all the
audio that is going through the device /dev/dsp. Try speaking
something on your microphone and play the file."