summaryrefslogtreecommitdiff
path: root/doc/indevs.texi
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-01-31 16:21:47 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-01-31 22:13:08 +0100
commit349e7f423f19be98cd8b6f808e3c5174054ebedc (patch)
treeb8153eafae0ed074e58479b481109452f67b44f5 /doc/indevs.texi
parentd2ccab5f8a5f9121200b85c2fd8ef35916b1bf62 (diff)
doc/indevs: itemize examples for the v4l2 device
Diffstat (limited to 'doc/indevs.texi')
-rw-r--r--doc/indevs.texi14
1 files changed, 10 insertions, 4 deletions
diff --git a/doc/indevs.texi b/doc/indevs.texi
index 39204d80c0..00996461a2 100644
--- a/doc/indevs.texi
+++ b/doc/indevs.texi
@@ -612,16 +612,22 @@ boot time, unaffected by NTP or manual changes to the clock). The
@option{-timestamps abs} or @option{-ts abs} option can be used to force
conversion into the real time clock.
-Some usage examples of the video4linux2 devices with @command{ffmpeg}
+Some usage examples of the video4linux2 device with @command{ffmpeg}
and @command{ffplay}:
+@itemize
+@item
+Grab and show the input of a video4linux2 device:
@example
-# Grab and show the input of a video4linux2 device.
ffplay -f video4linux2 -framerate 30 -video_size hd720 /dev/video0
+@end example
-# Grab and record the input of a video4linux2 device, leave the
-framerate and size as previously set.
+@item
+Grab and record the input of a video4linux2 device, leave the
+framerate and size as previously set:
+@example
ffmpeg -f video4linux2 -input_format mjpeg -i /dev/video0 out.mpeg
@end example
+@end itemize
For more information about Video4Linux, check @url{http://linuxtv.org/}.