summaryrefslogtreecommitdiff
path: root/doc/indevs.texi
diff options
context:
space:
mode:
authorJonas Lindgren <jonas.lindgren@gmail.com>2015-03-06 23:02:34 +0100
committerLuca Barbato <lu_zero@gentoo.org>2015-03-06 23:06:20 +0100
commitcecf45b2bfbb85e9e59f355428fbd4d8cbc652a8 (patch)
tree92c6d3a0e4e515c6b8c7b80c375abb9bc45cfc11 /doc/indevs.texi
parent9731cf4001377fa2f75c279072cc2b0cbd57bf8e (diff)
doc: Add -list_formats all example for video4linux2
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'doc/indevs.texi')
-rw-r--r--doc/indevs.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/indevs.texi b/doc/indevs.texi
index e514b63af2..30427905ff 100644
--- a/doc/indevs.texi
+++ b/doc/indevs.texi
@@ -271,6 +271,9 @@ supported using @command{-list_formats all} for Video4Linux2 devices.
Some usage examples of the video4linux2 devices with avconv and avplay:
@example
+# List supported formats for a video4linux2 device.
+avplay -f video4linux2 -list_formats all /dev/video0
+
# Grab and show the input of a video4linux2 device.
avplay -f video4linux2 -framerate 30 -video_size hd720 /dev/video0