aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-01-31 16:38:06 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-01-31 22:13:08 +0100
commitb999774f0b11a402ad6b346fc8418e8bde7140d4 (patch)
treef91fe09f0c0a80bd9a82a72ba6718879552f41b6
parent349e7f423f19be98cd8b6f808e3c5174054ebedc (diff)
downloadffmpeg-b999774f0b11a402ad6b346fc8418e8bde7140d4.tar.gz
doc/indevs: document v4l2 options
Reviewed-By: Giorgio Vazzana <mywing81@gmail.com>
-rw-r--r--doc/indevs.texi69
1 files changed, 69 insertions, 0 deletions
diff --git a/doc/indevs.texi b/doc/indevs.texi
index 00996461a2..9deb214eb2 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/}.
+@subsection Options
+
+@table @option
+@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.
+
+@item channel
+Set the input channel number. Default to 0.
+
+@item video_size
+Set the video frame size. The argument must be a string in the form
+@var{WIDTH}x@var{HEIGHT} or a valid size abbreviation.
+
+@item pixel_format
+Select the pixel format (only valid for raw video input).
+
+@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.
+
+@item framerate
+Set the preferred video framerate.
+
+@item list_formats
+List available formats (supported pixel formats, codecs, and frame
+sizes) and exit.
+
+Available values are:
+@table @samp
+@item all
+Show all available (compressed and non-compressed) formats.
+
+@item raw
+Show only raw video (non-compressed) formats.
+
+@item compressed
+Show only compressed formats.
+@end table
+
+@item list_standards
+List supported standards and exit.
+
+Available values are:
+@table @samp
+@item all
+Show all supported standards.
+@end table
+
+@item timestamps, ts
+Set type of timestamps for grabbed frames.
+
+Available values are:
+@table @samp
+@item default
+Use timestamps from the kernel.
+
+@item abs
+Use absolute timestamps (wall clock).
+
+@item mono2abs
+Force conversion from monotonic to absolute timestamps
+@end table
+
+Default value is @code{default}.
+@end table
+
@section vfwcap
VfW (Video for Windows) capture input device.