# HG changeset patch # User diego # Date 1027337101 0 # Node ID f7cd3a7aaa1380f22ee86bd3c0c79ed8c08c56b7 # Parent 9c6ed4f15acc251c87dfebc0652bf43924022a54 Applied patch by Fabian Franz , adding a note to the TV section and correcting a keyboard control. Reviewed the TV section, realigned the table and reworded the entries. diff -r 9c6ed4f15acc -r f7cd3a7aaa13 DOCS/documentation.html --- a/DOCS/documentation.html Sun Jul 21 22:20:05 2002 +0000 +++ b/DOCS/documentation.html Mon Jul 22 11:25:01 2002 +0000 @@ -928,117 +928,114 @@

This section is about how to enable watching/grabbing from V4L compatible TV tuner.

-

THIS CODE IS CURRENTLY NOT-WORKED ON! Don't expect it to work without - tweaking/experimenting!

+

THIS CODE IS CURRENTLY NOT BEING WORKED ON! Do not expect it to work + without tweaking/experimenting!

2.5.2. Compilation

-

Hint : are the colors messed up? Then your tuner can't display - in YV12 colorspace. Try I420 (you must use the -vc rawi420 option too!), or YUY2, UYVY, RGB32 (this one - with -vo sdl) colorspaces. - You can specify these with the outfmt=YV12 option see below.

+

Hint: Are the colors messed up? Then your tuner cannot display + in YV12 colorspace. Try I420 (-vc rawi420) or YUY2, UYVY, RGB32 + (-vo sdl) colorspaces. + You can specify these with the outfmt=YV12 option, see below.

2.5.3. Available options

- + - + - + - + - + + v4l - Captures images from standard V4L interface (default + /dev/video0). - + - + - + - - + - + - + - + - + - + - + - + - + - + - + - + - + - +
  onon   use TV - inputUse TV input.
  noaudionoaudio   thanks, no soundNo sound, thanks.
  driverdriver dummy - NULL TV input :) Used for testing only, generates dummy input.
- v4l - captures images from standard V4L interface (default - /dev/video0)
  devicedevice   specify other - device than the default /dev/video0Specify a device other than the default /dev/video0.
  inputinput   give from which - input of the TV tuner you wish to grab from (e.g. television, - s-video, composite, ...)
+
Specify from which input of the TV tuner you wish to grab + (e.g. television, s-video, composite, ...)
Prints the available ones during init.
  freqfreq   specify the - frequency to set the tuner (e.g. 511.250)Specify the frequency to set the tuner to (e.g. 511.250).
  outfmtoutfmt   in which output - format should the tuner transport images to us (rgb32, rgb24, yv12, - uyvy, i420 (for i420 you have to pass the -vc rawi420 - option, because of a fourcc conflict))Specify the output format the tuner should use to transport images to us + (rgb32, rgb24, yv12, uyvy, i420 (for i420 + you have to pass the -vc rawi420 option, because of a fourcc + conflict)).
  widthwidth    the width of the output window, in pixelswidth of the output window in pixels
  heightheight    the height of the output window, in pixelsheight of the output window in pixels
  normnorm    available: PAL, SECAM, NTSCavailable: PAL, SECAM, NTSC
  channelchannel    set the tuner to the given channelSet the tuner to the given channel.
  chanlistchanlist    available: us-bcast, us-cable, europe-west, europe-east, etcavailable: us-bcast, us-cable, europe-west, europe-east, etc

2.5.4. Keyboard control

- +
  h or l  select previous/next channel
  h / k  select previous/next channel
nchange norm
bchange channel list
@@ -1053,6 +1050,14 @@     mplayer -tv on:driver=v4l:width=640:height=480:outfmt=i420 -vc rawi420 -vo xv

+

+Note:
+If you have a TV card with an external audio device and get only a black +screen, although input works with xawtv or similar, then try to use the +-noaudio option. For the example above this would be:
+    mplayer -tv on:noaudio:driver=v4l:width=640:height=480:outfmt=i420 -vc rawi420 -vo xv +

+

2.6. Video filters