[FFmpeg-devel] [PATCH] doc/indevs: document v4l2 options

Stefano Sabatini stefasab at gmail.com
Thu Jan 31 16:38:29 CET 2013


---
 doc/indevs.texi |   69 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)

diff --git a/doc/indevs.texi b/doc/indevs.texi
index 0099646..2be2a7d 100644
--- a/doc/indevs.texi
+++ b/doc/indevs.texi
@@ -631,6 +631,75 @@ ffmpeg -f video4linux2 -input_format mjpeg -i /dev/video0 out.mpeg
 
 For more information about Video4Linux, check @url{http://linuxtv.org/}.
 
+ at subsection Options
+
+ at table @option
+ at item standard
+Set the standard. Must be the name of a supported standard. To get a
+list of the supported standards, use the @option{list_standards}
+option.
+
+ at item channel
+Set the input channel number. Default to 0.
+
+ at item video_size
+Set the video frame size. The argument must be a string in the form
+ at var{width}x at var{height} or a valid size abbreviation.
+
+ at item pixel_format
+Select the pixel format (only valid for raw video input).
+
+ at item input_format
+Set the preferred pixel format (for raw video) or a codec name.
+This option allows to select the input format, when several are
+available.
+
+ at item framerate
+Set the preferred video framerate.
+
+ at item list_formats
+List available formats (supported pixel formats, codecs, and frame
+sizes) and exit.
+
+Available values are:
+ at table @samp
+ at item all
+Show all available (compressed and non-compressed) formats.
+
+ at item raw
+Show only raw video (non-compressed) formats.
+
+ at item compressed
+Show only compressed formats.
+ at end table
+
+ at item list_standards
+List supported standards and exit.
+
+Available values are:
+ at table @samp
+ at item all
+Show all supported standards.
+ at end table
+
+ at item timestamps, ts
+Set type of timestamps for grabbed frames.
+
+Available values are:
+ at table @samp
+ at item default
+Use timestamps from the kernel.
+
+ at item abs
+Use absolute timestamps (wall clock).
+
+ at item mono2abs
+Force conversion from monotonic to absolute timestamps
+ at end table
+
+Default value is @code{default}.
+ at end table
+
 @section vfwcap
 
 VfW (Video for Windows) capture input device.
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list