diff --git a/DOCS/documentation.html b/DOCS/documentation.html index ab14041235..0b5d4abd26 100644 --- a/DOCS/documentation.html +++ b/DOCS/documentation.html @@ -198,7 +198,8 @@
  • 2.5 TV input
  • @@ -942,10 +943,6 @@ It's a clear way for everyone to become root. TV tuner. See the man page for a description of TV options and keyboard controls.

    -

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

    - -

    2.5.1 Compilation

      @@ -957,28 +954,127 @@ controls.

      xawtv.
    -
    - 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.2 Usage tips

    +The full listing of the options is available on the manual page. Here +are just a few tips: -

    2.5.2 Examples

    + + +

    2.5.3 Examples

    Dummy output, to AAlib :)
        mplayer -tv on:driver=dummy:width=640:height=480 -vo aa

    Input from standard V4L
    -     mplayer -tv on:driver=v4l:width=640:height=480:outfmt=i420 -vc rawi420 -vo xv

    +     mplayer -tv +on:driver=v4l:width=640:height=480 -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

    + A more sophisticated example. This makes MEncoder capture the full + PAL image, crop the margins, and deinterlace the picture using + a linear blend algorithm. Audio is compressed with a constant + bitrate of 64kbps, using LAME codec. This setup is suitable for + capturing movies.
        mencoder -tv + on:driver=v4l:width=768:height=576 \
    +     -ovc lavc -lavcopts + vcodec=mpeg4:vbitrate=900 \
        -oac + mp3lame -lameopts cbr:br=64 \
        -vop + pp=lb,crop=720:540:24:18 -o output.avi

    + +
    + This will additionally rescale the image to 384x288 and compresses + the video with the bitrate of 350kbps in high quality mode. The + vqmax option looses the quantizer and allows the video compressor to + actualy reach so low bitrate even at the expense of the + quality. This can be used for capturing long TV series, where the + video quality isn't so important.
    + +     mencoder -tv on:driver=v4l:width=768:height=576 \
    +     -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=350:vhq:vqmax=31:keyint=300 \
    +     -oac mp3lame -lameopts cbr:br=48 \
    +     -vop scale=384:288,pp=tn/lb,crop=720:540:24:18 -sws 1 -o output.avi +

    + + It's also possible to specify smaller image dimensions in the + -tv option and omit the software scaling but this + approach uses the maximum available information and is a little more + resistant to noise. The bt8x8 chips can do the pixel averaging only + in the horizontal direction due to a hardware limitation. + +