[FFmpeg-cvslog] doc/indevs: itemize examples for the v4l2 device
Stefano Sabatini
git at videolan.org
Thu Jan 31 22:17:16 CET 2013
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Thu Jan 31 16:21:47 2013 +0100| [349e7f423f19be98cd8b6f808e3c5174054ebedc] | committer: Stefano Sabatini
doc/indevs: itemize examples for the v4l2 device
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=349e7f423f19be98cd8b6f808e3c5174054ebedc
---
doc/indevs.texi | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/doc/indevs.texi b/doc/indevs.texi
index 39204d8..0099646 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}:
+ at itemize
+ at 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
+ at end example
-# Grab and record the input of a video4linux2 device, leave the
-framerate and size as previously set.
+ at item
+Grab and record the input of a video4linux2 device, leave the
+framerate and size as previously set:
+ at example
ffmpeg -f video4linux2 -input_format mjpeg -i /dev/video0 out.mpeg
@end example
+ at end itemize
For more information about Video4Linux, check @url{http://linuxtv.org/}.
More information about the ffmpeg-cvslog
mailing list