# HG changeset patch # User gabucino # Date 1005657432 0 # Node ID 1a710f130a7f2e10c52317ebb85944c2383df9a9 # Parent 3065a3d96df0e45072c4aea47412bee116f5e60f TV input documentation begin (examples, options) diff -r 3065a3d96df0 -r 1a710f130a7f DOCS/documentation.html --- a/DOCS/documentation.html Tue Nov 13 12:44:32 2001 +0000 +++ b/DOCS/documentation.html Tue Nov 13 13:17:12 2001 +0000 @@ -114,6 +114,7 @@
2.4. MEncoder - An All-Purpose Encoder
+ + +This section is about how to enable watching/grabbing from V4L compatible +TV tuner.
+ ++
--enable-tv
flag to ./configure
,
+ and recompile.Available options
+
+ | on | ++ | use TV + input | +
+ | driver | ++ |
+ dummy - NULL TV input :) Used for testing only, generates dummy
+ input. + v4l - captures images from standard V4L interface (default + /dev/video0 ) |
+
+ | device | ++ | specify other
+ device than the default /dev/video0 |
+
+ | input | ++ | give from which
+ input of the TV tuner you which to grab from (e.g. television,
+ s-video, composite, ...) + Prints the available ones during init. |
+
+ | freq | ++ | specify the + frequency to set the tuner (e.g. 511.250) | +
+ | outfmt | ++ | in which output
+ format to display images (rgb32, rgb24, yv12,
+ uyvy) + The following option must have the same setting ! |
+
+ | vc | ++ | the same option
+ as before. You have to choose one, according to what you set the outfmt
+ option above : rawrgb32, rawrgb24, rawyv12, rawuyvy |
+
+ | width | ++ | + MANDATORY - the width of the output window, in pixels | +
+ | height | ++ | + MANDATORY - the height of the output window, in pixels | +
Examples
+ +
+Dummy output, to AAlib :)
+mplayer -tv on:driver=dummy:width=640:height=480
+Input from standard V4L
+mplayer -tv on:driver=v4l:width=800:height=600:device=/dev/video0:input=television:outfmt=yv12 -vc rawyv12 -vo xv
+