diff mbox

[FFmpeg-devel,v2,4/5] doc/indevs: Add examples for libdc1394

Message ID ebee5397ad235d0b35a9a7abafb9e0e29c277b2a.1572226177.git.cyrozap@gmail.com
State New
Headers show

Commit Message

Forest Crossman Oct. 28, 2019, 1:37 a.m. UTC
Signed-off-by: Forest Crossman <cyrozap@gmail.com>
---
 doc/indevs.texi | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
diff mbox

Patch

diff --git a/doc/indevs.texi b/doc/indevs.texi
index 757fac91de..82609a38c9 100644
--- a/doc/indevs.texi
+++ b/doc/indevs.texi
@@ -1086,6 +1086,37 @@  Set the video size given as a string such as @code{640x480} or @code{hd720}.
 Default is @code{qvga}.
 @end table
 
+@subsection Examples
+
+@itemize
+
+@item
+List all the connected IIDC cameras.
+@example
+ffmpeg -sources libdc1394
+@end example
+
+@item
+Grab and record the input of an Apple iSight.
+@example
+ffmpeg -f libdc1394 -pixel_format uyvy422 -video_size 320x240 -framerate 30 -i auto out.mkv
+@end example
+
+@item
+Grab and record the input of a specific Apple iSight.
+@example
+ffmpeg -f libdc1394 -pixel_format uyvy422 -video_size 640x480 -framerate 15 -i 0x000a270004106ea3 out.mkv
+@end example
+
+@item
+Grab and record the second stream from a specific camera that has
+multiple units.
+@example
+ffmpeg -f libdc1394 -pixel_format uyvy422 -video_size 640x480 -framerate 15 -i 0xfacade02bc394f15:1 out.mkv
+@end example
+
+@end itemize
+
 @section openal
 
 The OpenAL input device provides audio capture on all systems with a