diff options
author | Thilo Borgmann <thilo.borgmann@mail.de> | 2014-04-02 22:24:36 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-02 22:40:32 +0200 |
commit | 4654774aaff572079e28505a3c6d0ac0c2ed670d (patch) | |
tree | 51e7e761ae2d7bcaf4b1563cce8b1321184eac7f /doc | |
parent | 23d1c75efa208bd0ca843e3ed26b6234bf9c5761 (diff) | |
download | ffmpeg-4654774aaff572079e28505a3c6d0ac0c2ed670d.tar.gz |
lavd/qtkit: Support choosing the input device by index or by name.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/indevs.texi | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/doc/indevs.texi b/doc/indevs.texi index 68905ae0b0..2de724d326 100644 --- a/doc/indevs.texi +++ b/doc/indevs.texi @@ -535,12 +535,29 @@ ffmpeg -f pulse -i default /tmp/pulse.wav QTKit input device. -The filename passed as input is unused. The default device will be chosen. +The filename passed as input is parsed to contain either a device name or index. +The device index can also be given by using -video_device_index. +A given device index will override any given device name. +If the desired device consists of numbers only, use -video_device_index to identify it. +The default device will be chosen if an empty string or the device name "default" is given. +The available devices can be enumerated by using -list_devices. @example ffmpeg -f qtkit -i "0" out.mpg @end example +@example +ffmpeg -f qtkit -video_device_index 0 -i "" out.mpg +@end example + +@example +ffmpeg -f qtkit -i "default" out.mpg +@end example + +@example +ffmpeg -f qtkit -list_devices true -i "" +@end example + @section sndio sndio input device. |