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

Forest Crossman cyrozap at gmail.com
Fri Oct 16 00:30:38 EEST 2020


Signed-off-by: Forest Crossman <cyrozap at gmail.com>
---
 doc/indevs.texi | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

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
 
+ at subsection Examples
+
+ at itemize
+
+ at item
+List all the connected IIDC cameras.
+ at example
+ffmpeg -sources libdc1394
+ at end example
+
+ at item
+Grab and record the input of an Apple iSight.
+ at example
+ffmpeg -f libdc1394 -pixel_format uyvy422 -video_size 320x240 -framerate 30 -i auto out.mkv
+ at end example
+
+ at item
+Grab and record the input of a specific Apple iSight, specified by its
+GUID.
+ at example
+ffmpeg -f libdc1394 -pixel_format uyvy422 -video_size 640x480 -framerate 15 -i 0x000a270004106ea3 out.mkv
+ at end example
+
+ at item
+Grab and record the second stream from a specific camera that has
+multiple units.
+ at example
+ffmpeg -f libdc1394 -pixel_format uyvy422 -video_size 640x480 -framerate 15 -i 0xfacade02bc394f15:1 out.mkv
+ at end example
+
+ at end itemize
+
 @section openal
 
 The OpenAL input device provides audio capture on all systems with a
-- 
2.20.1



More information about the ffmpeg-devel mailing list