@chapter Input Devices @c man begin INPUT DEVICES Input devices are configured elements in FFmpeg which allow to access the data coming from a multimedia device attached to your system. When you configure your FFmpeg build, all the supported input devices are enabled by default. You can list all available ones using the configure option "--list-indevs". You can disable all the input devices using the configure option "--disable-indevs", and selectively enable an input device using the option "--enable-indev=@var{INDEV}", or you can disable a particular input device using the option "--disable-indev=@var{INDEV}". The option "-devices" of the ff* tools will display the list of supported input devices. A description of the currently available input devices follows. @section alsa ALSA (Advanced Linux Sound Architecture) input device. To enable this input device during configuration you need libasound installed on your system. This device allows capturing from an ALSA device. The name of the device to capture has to be an ALSA card identifier. An ALSA identifier has the syntax: @example hw:@var{CARD}[,@var{DEV}[,@var{SUBDEV}]] @end example where the @var{DEV} and @var{SUBDEV} components are optional. The three arguments (in order: @var{CARD},@var{DEV},@var{SUBDEV}) specify card number or identifier, device number and subdevice number (-1 means any). To see the list of cards currently recognized by your system check the files @file{/proc/asound/cards} and @file{/proc/asound/devices}. For example to capture with @command{ffmpeg} from an ALSA device with card id 0, you may run the command: @example ffmpeg -f alsa -i hw:0 alsaout.wav @end example For more information see: @url{http://www.alsa-project.org/alsa-doc/alsa-lib/pcm.html} @section avfoundation AVFoundation input device. AVFoundation is the currently recommended framework by Apple for streamgrabbing on OSX >= 10.7 as well as on iOS. The older QTKit framework has been marked deprecated since OSX version 10.7. The filename passed as input is parsed to contain two input streams seperated by ":". The first entry selects the video input while the latter selects the audio input @option{"