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

Forest Crossman cyrozap at gmail.com
Mon Oct 28 03:37:29 EET 2019


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

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
 
+ 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.
+ 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.23.0



More information about the ffmpeg-devel mailing list