

This input devices uses the Android Camera2 NDK API which isĪvailable on devices with API level 24+. Options sample_rate Set the sample rate in Hz. The files /proc/asound/cards and /proc/asound/devices.įor example to capture with ffmpeg from an ALSA device with To see the list of cards currently recognized by your system check The name of theĭevice to capture has to be an ALSA card identifier.ĬARD, DEV, SUBDEV) specify card number or identifier,ĭevice number and subdevice number (-1 means any). This device allows capturing from an ALSA device. To enable this input device during configuration you need The option "-devices" of the ff* tools will display theĪ description of the currently available input devicesĪLSA (Advanced Linux Sound Architecture) input device. The option "-enable-indev= INDEV", or you can disable a "-disable-indevs", and selectively enable an input device using You can disable all the input devices using the configure option You can list all available ones using the When you configure your FFmpeg build, all the supported inputĭevices are enabled by default. Input devices are configured elements in FFmpeg which enable accessing the dataĬoming from a multimedia device attached to your system. Libavutil/opt.h API for programmatic use. The FFmpeg tools, or by setting the value explicitly in the device Options may be set by specifying - option value in Private options, which are specific for that component. In addition each input or output device may support so-called Libavformat (see the ffmpeg-formats manual).

Input device is considered like a demuxer, and an output device like a muxer,Īnd the interface and generic device options are the same provided by The libavdevice library provides the same interface as libavformat. This document describes the input and output devices provided by the libavdevice
