18

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

4
  • @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
    Commented Dec 9, 2016 at 15:18
  • 1
    You can list your devices with: ffmpeg -list_devices true -f dshow -i dummy Commented Dec 9, 2016 at 15:19
  • 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
    Commented Dec 9, 2016 at 17:10

1 Answer 1

4

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

You can list your devices with:

ffmpeg -list_devices true -f dshow -i dummy

3
  • 6
    ` libpostproc 55. 7.100 / 55. 7.100 Unrecognized option 'list_devices'. Error splitting the argument list: Option not found`
    – chovy
    Commented Dec 29, 2020 at 15:51
  • Unrecognized option 'list_devices'.
    – chovy
    Commented May 25, 2023 at 10:17
  • Thanks for sharing tip. For my computer (Windows OS): "ffmpeg.exe -f gdigrab -framerate 30 -offset_x 0 -offset_y 0 -video_size 1920x1080 -audio "Microphone Array (Realtek High Definition Audio)" show_region 1 -i desktop output.mkv" inducing error of "Unrecognized option 'audio'"...Any suggestion?
    – Cloud Cho
    Commented Jul 1, 2023 at 19:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .