Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


Top White Papers

More on LinuxToday


How to record audio from mic using FFmpeg aka audio grabbing

Aug 06, 2010, 20:18 (0 Talkback[s])

"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 recording.

"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."

Complete Story

Related Stories: