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

Forest Crossman cyrozap at gmail.com
Sun Oct 20 12:55:32 EEST 2019


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

diff --git a/doc/indevs.texi b/doc/indevs.texi
index 757fac91de..078f45497a 100644
--- a/doc/indevs.texi
+++ b/doc/indevs.texi
@@ -1086,6 +1086,57 @@ 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 an Apple iSight, using the shorter options.
+ at example
+ffmpeg -f libdc1394 -pix_fmt uyvy422 -s 320x240 -r 30 -i auto out.mkv
+ at end example
+
+ at item
+Grab and record the input of an Apple iSight, specifying the framerate
+as a ratio.
+ at example
+ffmpeg -f libdc1394 -pix_fmt uyvy422 -s 320x240 -r 30000:1000 -i auto out.mkv
+ at end example
+
+ at item
+Grab and record the input of an Apple iSight at a greater resolution but
+a lower framerate.
+ at example
+ffmpeg -f libdc1394 -pix_fmt uyvy422 -s 640x480 -r 15 -i auto out.mkv
+ at end example
+
+ at item
+Grab and record the input of a specific Apple iSight.
+ at example
+ffmpeg -f libdc1394 -pix_fmt uyvy422 -s 640x480 -r 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 -pix_fmt uyvy422 -s 640x480 -r 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