How can I record audio from the microphone with ffmpeg?

4

3

I need a way to record sounds from the microphone with ffmpeg. How can I do it ?

xRobot

Posted 2016-12-09T15:06:47.957

Reputation: 361

@duDE I used this code 'ffmpeg -f dshow -i audio="Microphone" output.mp3' but I get 'Could not find audio only device with name [Microphone] among source devices of type audio.' – xRobot – 2016-12-09T15:18:34.197

1You can list your devices with: ffmpeg -list_devices true -f dshow -i dummy – duDE – 2016-12-09T15:19:48.193

1@duDE - You should submit that as answer since it seems to answer the author's question. This comment is being submitted through the review of the question. – Ramhound – 2016-12-09T17:10:55.903

Answers

3

Please take a look at this Wiki: FFmpeg / Capture / Desktop

You can list your devices with:

ffmpeg -list_devices true -f dshow -i dummy

duDE

Posted 2016-12-09T15:06:47.957

Reputation: 14 097