From 2f9b955918f8efd9915dbd51bfe8be657cb337e3 Mon Sep 17 00:00:00 2001 From: Ramiro Polla Date: Fri, 30 Sep 2011 17:49:09 -0300 Subject: dshow: support choosing between devices with same name Signed-off-by: Michael Niedermayer --- doc/indevs.texi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'doc') 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 @@ -122,6 +130,12 @@ Open video device @var{Camera}: $ 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 -- cgit v1.2.3