diff mbox series

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

Message ID 20201015213039.1019624-5-cyrozap@gmail.com
State New
Headers show
Series libdc1394 enhancements
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished

Commit Message

Forest Crossman Oct. 15, 2020, 9:30 p.m. UTC
Signed-off-by: Forest Crossman <cyrozap@gmail.com>
---
 doc/indevs.texi | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
diff mbox series

Patch

diff --git a/doc/indevs.texi b/doc/indevs.texi
index 46203833e9..ca584f1d8e 100644
--- a/doc/indevs.texi
+++ b/doc/indevs.texi
@@ -1114,6 +1114,38 @@  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, specified by its
+GUID.
+@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