summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2011-09-30 17:49:09 -0300
committerMichael Niedermayer <michaelni@gmx.at>2011-11-06 01:19:56 +0100
commit2f9b955918f8efd9915dbd51bfe8be657cb337e3 (patch)
tree1eac9950ae62b3c38f2df5d9ca4b9ab269a39233 /doc
parent68b531fe6aef7ef7f135bf33471990c19945a598 (diff)
dshow: support choosing between devices with same name
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc')
-rw-r--r--doc/indevs.texi14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/indevs.texi b/doc/indevs.texi
index 3aa8f2f8a2..90ae29c69e 100644
--- a/doc/indevs.texi
+++ b/doc/indevs.texi
@@ -104,6 +104,14 @@ If set to @option{true}, print a list of devices and exit.
If set to @option{true}, print a list of selected device's options
and exit.
+@item video_device_number
+Set video device number for devices with same name (starts at 0,
+defaults to 0).
+
+@item audio_device_number
+Set audio device number for devices with same name (starts at 0,
+defaults to 0).
+
@end table
@subsection Examples
@@ -123,6 +131,12 @@ $ ffmpeg -f dshow -i video="Camera"
@end example
@item
+Open second video device with name @var{Camera}:
+@example
+$ ffmpeg -f dshow -video_device_number 1 -i video="Camera"
+@end example
+
+@item
Open video device @var{Camera} and audio device @var{Microphone}:
@example
$ ffmpeg -f dshow -i video="Camera":audio="Microphone"