From b5e6ef5a795f9ec428476d46fbf8b40fdcd87a19 Mon Sep 17 00:00:00 2001 From: gabucino Date: Sat, 23 Nov 2002 21:56:41 +0000 Subject: updates nvidia tv-out section etc git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8261 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/documentation.html | 32 +++++++++++++++++++++--------- DOCS/encoding.html | 52 ++++++++++++++++++++++++++++++++++++------------- DOCS/sound.html | 8 ++++---- DOCS/video.html | 34 ++++++++++++++++++++++++++++++++ 4 files changed, 100 insertions(+), 26 deletions(-) (limited to 'DOCS') diff --git a/DOCS/documentation.html b/DOCS/documentation.html index a1f783e0e0..c8ad86b83c 100644 --- a/DOCS/documentation.html +++ b/DOCS/documentation.html @@ -174,6 +174,7 @@
  • 2.3.1.5.2 Matrox G450/G550 cards
  • 2.3.1.5.3 ATI cards
  • 2.3.1.5.4 Voodoo 3
  • +
  • 2.3.1.5.5 nVidia
  • @@ -205,6 +206,7 @@
  • 2.4.5 Encoding with the libavcodec codec family
  • 2.4.6 Encoding from multiple input image files (JPEGs or PNGs)
  • 2.4.7 Extracting DVD subtitles to a Vobsub file
  • +
  • 2.4.8 Preserving aspect ratio
  • 2.5 TV input @@ -620,13 +622,15 @@ have problems with YV12 display, see S3 Xv section for details. Older, Trio cards have no, or slow hardware support.
  • -
  • nVidia cards: very bad choice for video playing (nVidia - does not think so). - nVidia's cards have very cheap and bad quality chips. Moreover, the - built-in nVidia driver in XFree86 does not support hardware YUV +
  • nVidia cards: may or may not be good choice for video playing. + If you do not have a GeForce2 (or newer) card, it's not likely to work + without bugs. + The built-in nVidia driver in XFree86 does not support hardware YUV acceleration on all nVidia cards. You have to download nVidia's - closed-source drivers from nVidia.com. See the nVidia Xv driver section for details.
  • + closed-source drivers from nVidia.com. See the + nVidia Xv driver section for + details. Please also check the nVidia + TV-out section if you wish to use a TV.
  • 3DLabs GLINT R3 and Permedia3: a VIDIX driver is provided (pm3_vid). Please see the VIDIX section for details.
  • @@ -721,6 +725,8 @@
  • If you have a V4L compatible TV tuner card, and wish to watch/grab and encode movies with MPlayer, read the TV input section.
  • +
  • There is a neat OSD Menu support ready to be used. Check the + OSD Menu section.
  • Then build MPlayer:

    @@ -952,19 +958,27 @@

    1.4.3 OSD menu

    -

    MPlayer has an OSD Menu interface, which is not only completely user - defined, but is displayed as OSD, on the currently played video!

    +

    MPlayer has a completely user definiable OSD Menu interface.

    Installation

      +
    1. compile MPlayer by passing the --enable-new-conf + --enable-menu parameters to ./configure
    2. +
    3. make sure you have an OSD font installed
    4. copy etc/menu.conf to your .mplayer directory
    5. copy etc/input.conf to your .mplayer directory, or to the system-wide MPlayer config dir (default: - /usr/local/share/mplayer)
    6. + /usr/local/etc/mplayer) +
    7. check and edit input.conf to enable menu movement + keys (it is described there).
    8. +
    9. start MPlayer by the following example:
      + $ mplayer -menu file.avi
    10. +
    11. push any menu key you defined
    +

    1.5 RTC

    diff --git a/DOCS/encoding.html b/DOCS/encoding.html index 17621ddfda..3008ee3ede 100644 --- a/DOCS/encoding.html +++ b/DOCS/encoding.html @@ -102,24 +102,22 @@

    2.4.2 Rescaling movies

    -

    Often the need to resize movie images' size emerges. Its reasons can be many, - examples are decreasing output file size, encoding SVCDs to DivX. Ripped DVDs - are mostly rescaled, for example a 4:3 DVD should be 640x480, especially - when you want it to fit to 1 CD, and have good quality at the same time. - SVCDs have 480x480 size, and their header contains the aspect ratio the - player should use (Ex.: 480x480 + 4:3 = 640x480). However when encoding to - AVI (DivX) files, you have be aware that AVI headers don't store this - value. Thus, the only solution is rescaling.

    +

    Often the need to resize movie images' size emerges. Its reasons can be + many: decreasing file size, network bandwidth, etc. Most people + even do rescaling when converting DVDs or SVCDs to DivX AVI. This is bad. + Instead of even you doing so, read the Preserving + aspect ratio section.

    The scaling process is handled by the 'scale' video filter: - -vop scale=X:Y. Its quality can be set with the + -vop scale=widht:height. Its quality can be set with the -sws option. If it's not specified, MEncoder will use 0: fast bilinear.

    -

    Usage:
    -     mencoder sample-svcd.mpg -ovc lavc -lavcopts - vcodec=mpeg4:more_options -vop scale=640:480 -oac copy -o - output.avi

    +
    Usage:
    + +

        mencoder input.mpg -ovc lavc -lavcopts + vcodec=mpeg4:more_options -vop scale=640:480 -oac copy -o + output.avi

    2.4.3 Stream copying

    @@ -268,5 +266,33 @@ Explanation of the process: -vobsuboutindex 0 -vobsuboutid fr -sid 1

    +

    2.4.8 Preserving aspect ratio

    + +

    DVDs and SVCDs (i.e. MPEG1/2) files contain an aspect ratio value, + which describes how should the player scale the video stream, so humans + won't have egg heads (ex.: 480x480 + 4:3 = 640x480). However when encoding + to AVI (DivX) files, you have be aware that AVI headers don't store this + value. Rescaling the movie is disgusting and time consuming, there + must be a better feature!

    + +

    There is.

    + +

    MPEG4 has an unique feature: the video stream can contain + its needed aspect ratio. Yes, just like MPEG1/2 files (DVD, SVCD). + Regretfully, there are no video players outside which support this + attribute. Except MPlayer.

    + +

    This feature can be used only with libavcodec's mpeg4 + codec. Keep in mind: although MPlayer will correctly play the created file, + other players will use the wrong aspect ratio.

    + +

    You seriously should crop the black bands over and below the movie image. + See TODO.

    + +
    Usage:
    + +

    $ mencoder sample-svcd.mpg -ovc lavc -lavcopts + vcodec=mpeg4:aspect=16.0/9.0 -vop crop=714:548:0:14 -oac copy -o output.avi

    + diff --git a/DOCS/sound.html b/DOCS/sound.html index 828aa959fa..8fb383fa4b 100644 --- a/DOCS/sound.html +++ b/DOCS/sound.html @@ -20,7 +20,7 @@ - + @@ -52,7 +52,7 @@ default). If you experience glitches, halts or anything out of the ordinary, try -ao sdl (NOTE: you need to have SDL libraries and header files installed). The SDL audio driver helps in a lot of cases - and also supports ESD, ARTS, and up/downsampling. (ESD is the sound daemon + and also supports ESD, ARTS. (ESD is the sound daemon from GNOME, ARTS is from KDE.)
  • If you have ALSA version 0.5, then you almost always have to use -ao alsa5 , since ALSA 0.5 has buggy OSS emulation code, and @@ -183,8 +183,8 @@

    MPlayer fully supports up/downsampling of the sound. This plugin can be used if you have a fixed frequency sound card or if you are stuck with an old sound card that is only capable of max 44.1kHz. - Limitations in your hardware are not auto detected, so you have to specify - the sample frequency explicitly. This plugin has one switch: + Whether is usage of this plugin is neccessary or not, is autodetected. + This plugin has one switch: fout which is used for setting the desired output sample frequency. It defaults to 48kHz, and is given in <Hz>.

    diff --git a/DOCS/video.html b/DOCS/video.html index c34559738e..b05a896628 100644 --- a/DOCS/video.html +++ b/DOCS/video.html @@ -1438,5 +1438,39 @@ for 16:9 TV: -vop lavc,expand=-1:576:-1:-1:1,scale=-1:0,dvbscale=1024

    Check this URL.

    + +

    2.3.1.5.5 nVidia

    + +

    First, you MUST download the closed-source drivers from + http://nvidia.com. I will not describe the + installation and configuration process because it does not cover the + scope of this documentation.

    + +

    After XFree86, XVideo, and 3D acceleration is properly working, + edit your card's Device section in the XF86Config file, + according to the following example (adapt for your card/TV):

    + +
    +Section "Device"
    +        Identifier      "GeForce"
    +        VendorName      "ASUS"   
    +        BoardName       "nVidia GeForce2/MX 400"
    +        Driver          "nvidia"
    +        #Option         "NvAGP" "1"
    +        Option          "NoLogo"   
    +        Option          "CursorShadow"  "on"
    +
    +        Option          "TwinView"
    +        Option          "TwinViewOrientation" "Clone"
    +        Option          "MetaModes" "1024x768,640x480"
    +        Option          "ConnectedMonitor" "CRT, TV"  
    +        Option          "TVStandard" "PAL-B"
    +        Option          "TVOutFormat" "Composite"
    +
    +EndSection
    +
    + +

    Of course the important thing is the TwinView part.

    + -- cgit v1.2.3
  • General:

      oss  OSS (ioctl) driver (supports hardware AC3 passthrough)
    sdlSDL driver (supports up/downsampling, ESD, ARTS etc)
    sdlSDL driver (supports ESD, ARTS etc)
    nasNAS (Network Audio System) driver
    alsa5native ALSA 0.5 driver
    alsa9native ALSA 0.9 driver (supports hardware AC3 passthrough)