ffmpeg get all sound devices(input/output)

17,177

arecord is the command-line sound recorder and player for the ALSA soundcard driver which is available on Linux.

On Windows you can list the dshow devices with:

ffmpeg -list_devices true -f dshow -i dummy

See the Windows section of https://trac.ffmpeg.org/wiki/Capture/Desktop

Share:
17,177
Abanoub
Author by

Abanoub

I am (Polyglot/Full-Stack) Developer able to build a Web/Mobile presence from the ground up - from concept, navigation, layout and programming to UX. Skilled at writing well-designed, testable and efficient code using current best practices in development. Fast learner, hard worker and team player who is proficient in an array of languages and tools. My formal field of study was on the English language at The Higher Institute of Language, however I have spent several thousands of hours over the past 10 years practicing and mastering a variety of programming languages. Programming is both my passion and my career choice - for this reason I can offer my dedication and passion in software engineering on a variety of platforms in your projects.

Updated on June 04, 2022

Comments

  • Abanoub
    Abanoub almost 2 years

    I have downloaded the static build of ffmpeg for Windows and am trying to get all my sound devices (input/output) I have googled and found this command to retrieve audio devices , but when I use it ffmpeg arecord -l, it shows this error

    Unrecognized option 'l'.
    Error splitting the argument list: Option not found
    

    what am missing here?

    • rogerdpack
      rogerdpack over 8 years
      what operating system?
    • aergistal
      aergistal over 8 years
      arecord is a separate command, you do just arecord -l.
  • Chenming Zhang
    Chenming Zhang about 5 years
    how about linux? i end up with Unknown input format: 'dshow'
  • aergistal
    aergistal about 5 years
    @ChenmingZhang trac.ffmpeg.org/wiki/Capture/ALSA for example. You can find the supported devices in the documentation: ffmpeg.org/ffmpeg-devices.html
  • Chris Stryczynski
    Chris Stryczynski almost 4 years
    Unrecognized option 'list_devices'. Error splitting the argument list: Option not found
  • Keith Bennett
    Keith Bennett over 3 years
    "avfoundation" can be used instead of "dshow" on Mac OS, but I'm still looking for what I can use on Linux.