MPlayerXP(1)

NAME
MPlayerXP - mplayer with extra performance

SYNOPSIS
mplayerxp <-options> streamname

DESCRIPTION
mplayerxp MPlayerXP is a branch of well known mplayer (http://mplayerhq.hu) (runs on many Unices, and non-x86 CPUs, see section 6). It plays most MPEG, AVI, MOV/QT and ASF/WMV files, supported by many native and Win32 DLL codecs. You can watch VideoCD, SVCD, DVD, and even DivX movies too. Unique big features of mplayer(xp) are VIDIX technology which provides direct access to BES of video cards. Due this feature MPlayerXP is first player under *nix BUSMASTERING - the case when decoded frames are transfered into videomemory without CPU usage. VESA Provides movie playback on every VESA compatible card, even without X!, and enables TV-out no many cards. Main difference of MPlayerXP from MPlayer is new thread-based core. This core was designed for DECODING AHEAD feature which provides EXTRA performance of movie playback. Several subtitles types are supported (curently 9 !) and the fonts are rendered with nice big antialiased shaded fonts ! Of course there is support for european/ISO 8859-1,2 (hungarian, english, czech, etc), cyrillic, korean fonts.

XP OPTIONS

-xp <0-4>
    start MPlayerXP in XP mode. You should get smoothness (fixed FPS on the screen) with UP systems and decoding speedup with SMP.
        0 : XP mode off
        1 : Decode video in separate thread
        2 : Decode audio and video in the same separate thread
        3 : As 2 plus audio playing in separate thread [default]
        4 : Decode video and audio and play audio in three different threads

-da_buffs
    Allows you specify number of buffers for decoding ahead. You can set it from 5 upto 64. 64 is default. (I recommend to use 10 buffers as minimum to avoid screen juddering and other negative factors). NOTE: (For both - UP and SMP) drivers which provide direct BES access will change it automatically but you may force this number to decrease number of buffers. From other side - than more buffers you are using than less number of delays you will have during decoding and you will be able to watch frame which take longer time to be decoded just in time.

AUDIO-VIDEO SYNCHRONIZATION
Introduction: Almost all movies consist from two independed streams (audio and video) at least. These streams have different bitrate and number of total frames per movie. To play them synchronously we need to have some control points when both audio and video should be presented simultaneously at the same moment of time. From historical reasons, mplayerxp had two methods of A-V synchronizations: so-called dapsync and so-called Arpi's method. But version 0.5 of mplayerxp introduces new PTS-based method of A-V synchronization.

  PTS-based method.
From point of player PTS-based synchronization is the best choise since player knows PTS of every audio and video packet and knows when they should be present. But there are some negative sides - movies which were produced with violating of all laws of video industry. For example, simplest merging of independed files into single one or dumping DVDs without PTS fixing :( But even in case of such movies there are chances to reach A-V synchronization within of short time. (Of course, if player won't sleep in case when audio PTS is already 0 but video PTS still much large than 0). Main positive side of this method is auto-convergence from point of synchronization.

  DAP and Arpi's methods.
Both methods are based of frame duration instead of PTS and that even worse - both methods handle PTS info for video part of movie only ignoring audio PTS. They assume that audio stream has constant bitrate and since audio frames can't be dropped and/or played faster or slower then player can use timer of audio card as the measure for video pts. Main negative side of this method is impossibility to detect A-V resync if it happens by some reasons (VBR audio as one of them) or when there exists drift between streams (due not a perfect hardware/drivers for example).

-pts
    use PTS based method of A/V synchronization. [default] in XP mode.

-force_pts_fix
    force PTS fixing for "bad" (see PTS-based method explanation above) files. Useful as "cure" tool during stream remuxing (see MUXING section below). Note: It's default mode during DVD riping/playback Note2: It's useful only with described above cases and is not acceptable in other cases. Note3: It may cause problems after seeking in some cases.

-force_pts_fix2
    [default] in XP mode for MPEG with -pts. Difference from the previous method is that PTS are not changed, instead are the frame duration temporarily used until both audio and video PTS has restarted from 0. This method does not have the problem after seeking but it can not be used together with -nopts and it is default off in that case. If -force_pts_fix is set than that method will be used even if -force_pts_fix2 is set to.

-nopts
    use Arpi's A/V sync method.

-nopts -dapsync
    use alternative A/V sync method. Where is it useful? (is not available in XP mode)

-frame_reorder
    [default] in XP mode. Useful with -pts in XP mode on some MPEG where the frames are not stored in order. The frames pts is reordered as they are add to buffer.

-delay <secs>
    audio delay in seconds (may be +/- float value)

-fps <value>
    force frame rate (if value is wrong in the header) (float number) (works with -nopts key only)

-mc <seconds/5frame>
    maximum sync correction per 5 frames (in seconds) (works with -nopts key only)

-noframedrop
    no frame dropping : every frame is played, audio and video may be out of sync [default]

-framedrop
    frame dropping : decodes all video frames, but skips displaying some ones (useful for slow cpu/systems)

-hardframedrop
    hardframe dropping : skips displaying and decoding of some frames Note: may produce image distortion with some codecs (useful for very slow cpu/systems)

-softsleep
    uses high quality software timers. Efficient as the RTC, doesn't need root, but requires more CPU.

-nortc
    Disables using of /dev/rtc (real-time clock - high precision x86 chip) to compute PTS.

BUS MASTERING OPTIONS (OR SPEEDUP)
Introduction: Many modern chips have the ability to act as a bus master. Bus mastering allows to transfer data from system memory to the frame buffer and vice versa with minimal CPU usage. When chip acts as a bus master then it frees CPU for other useful work and acts similar to second CPU on SMP. Performance is differ on slow and fast CPUs and on different chips but anyway bus mastering should povide speedup on any system.

-enable_bm
    Enables using of bus mastering if it's available for given OS/videocard. Note: 1. To use this feature you should load dhahelper (linux-kernel driver) which provides some function which are unavailable from user-space. 2. You need to use VIDIX. 3. VIDIX driver for your card should provide but card should support bus mastering. 4. You need to use XP mode.

Examlpe:

cd mplayerxp/libdha/dhahelper

make all install

modprobe dhahelper

mplayerxp -vo xvidix -xp -enable_bm -fs -zoom videoout.avi

  Another ways to speedup playback:
In general, there are two ways to increase performance of playback - 1. Using of additional hardware (most effective way) and 2. optimizing software to descrease number of cpu clocks required per frame playback (most difficult and limited way). Well, busmastering is one of ways to attract additional hardware. But not only video card may act as master. Almost all modern hardware is able to be master in system. You should spend your attention to investigate this quesion to have maximal performance of your system. Under linux exists generic way to attempt enable DMA transfer from HDD (CDROM,DVDROM) through hdparm utility:

hdparm -u1 -d1 -a8 /dev/hdX

where hdX is device with file or movie.

Examlpe:
    hdparm -u1 -d1 -a8 /dev/cdrom

Note:
    This command doesn't increase the speed of data transfer but frees CPU for other useful work.

  DMA for audio:
The best way to have DMA for audio stream is installing of SBLive! like cards which don't have on-board memory and always act as masters. In other case you should study options of your kernel drivers (OSS or ALSA) to find out way to enable data transfer from RAM into audio card without CPU usage.

  See also:
If you have very slow system (means: nothing helps) then please read also LongPlay description in POSTPROCESSING section

GENERAL OPTIONS

NOTE
    Every "flag" option has "noflag" pair, e.g. -fs opposite is -nofs

-vo <driver>[:<device>]
    select video output driver and optinaly device. "device" is valid with SDL and GGI too, it means sub-driver then (for example: -vo sdl:aalib). you can get the list of available drivers executing mplayerxp -vo help

-ao <driver>[:<device>]
    select audio output driver and optinaly device. "device" is valid with SDL too, it means sub-driver then (for example: -vo sdl:esd). If using OSS, you can specify which sound device to use like this : -ao oss:/dev/dsp1 (replaces the old -dsp option) you can get the list of available drivers executing mplayerxp -ao help

-lircconf <config file>
    specifies a configfile for LIRC (see http://www.lirc.org) if you don't like the default ~/.lircrc

-v  enable verbose output (more -v means more verbosity)

-benchmark
    Performs benchmarking. Currently it displays 3 characteristics of movie playback: MIN benchmark, AVE benchmark and MAX benchmark. You can estimate possibility of usage of -xp key: you should have no dropped frames if both MIN and AVE BENCH are less than 100%. Note: The more is the difference between MIN and MAX BENCHS, the better is the performance of new core. Note: If MIN BENCH is more than 100% then MPlayerXP will not help you! (Same as MPlayer).

-playlist <file>
    play files according to this filelist (1 file/row or Winamp or ASX format).

-ss <time>
    seek to given time position. For example :
        -ss 56 seeks to 56 seconds
        -ss 01:10:00 seeks to 1 hour 10 min

-loop <num>
    loops movie playback <num> times. 0 means forever.

-conf <path to input.conf file>
    get input bindings from an alternative input.conf file (default : ~/.mplayerxp/input.conf).

-speed <factor>
    Sets playback speed factor (default: 1.0)

-vc <name>
    force usage of a specific video codec, according to its name in codecs.conf, for example :
        -vc divx use VFW DivX codec
        -vc divxds use DirectShow DivX codec
        -vc ffdivx use libavcodec's DivX codec
        -vc ffmpeg12 use libavcodec's MPEG1/2 codec
        -vc divx4 use ProjectMayo's DivX codec See '-vc help' for FULL list !

-ac <name>
    force usage of a specific audio codec, according to its name in codecs.conf, for example :
        -ac mp3 use libmp3 MP3 codec
        -ac mp3acm use l3codeca.acm MP3 codec
        -ac ac3 use AC3 codec
        -ac hwac3 enable Hardware AC3 passthrough
        -ac vorbis use libvorbis
        -ac ffmp3 use ffmpeg's MP3 decoder (SLOW) See '-ac help' for FULL list !

AUDIO CODEC PARAMETERS
Currently only one codec supports parameters:
    -ac mp3 You may pass to it the value which will change mp3 scaling -ac mp3:scaler=<val> here <val> may accept any value in floating=point form. Example: mplayerxp -ac mp3:scaler=0.1 Why we need that? I've found out that many mp3 streams were badly coded (without volume decreasing before coding). During decoding of such streams all codecs produce extremely distorted output. This parameter helps us to descrease harmonical distortions during decoding of such streams. I've tested the maximal values of the signal of such stream and they were much large than 32767 (that is maximal value of 16-bit signed integer type) that don't allow us to have the right form of signal since the codec cuts out high part of the signal that produces harmonical distortions. This coeffecient allows us to decrease the volume before converting the signal from floating-point form (this is main form of signal within of the codec) into integer form. Thus scaler has the similar behaviour as volume control but works within of codec before point where distortions may have place. Important: volume control (instead of scaler) won't help with such streams since the signal is already distrorted within of the codec. Indeed, this parameter can't make absolutedly crystal clear sound from badly coded streams and they require more complex mathematical convertions but it helps a lot and significandly improves quality of such streams.

-vfm <video codec family>
    force usage of a specific codec FAMILY, and FALLBACK to default if failed. For example:
        -vfm vfw use VFW (Win32) codecs
        -vfm divx4 use DivX4 codec (YV12)
                       (same as -vc divx4 but fallback)
        -vfm dshow use DirectShow (Win32) codecs
        -vfm ffmpeg use libavcodec codecs
        -vfm xanim use XAnim codecs See -vc help for FULL list !

-afm <audio codec family>
    force usage of a specific audio format. For example:
        -afm mp3lib use mp3lib (mp2/mp3 only)
        -afm pcm suppose raw PCM audio
        -afm liba52 use liba52
        -afm dshow use DirectShow (Win32) codecs
        -afm alaw use aLaw/uLaw driver
        -afm libvorbis use libvorbis
        -afm ffmpeg use ffmpeg's MP3 decoder
                       (even mp1) See -ac help for FULL list !

-sb <byte position>
    seek to byte position

-slave
    This option switches on slave mode. This is intended for use of MPlayerXP as a backend to other programs. Instead of intercepting keyboard events, MPlayerXP will read simplistic command lines from its stdin. See section SLAVE MODE PROTOCOL for the syntax.

-include configfile
    specify config file to be parsed after the default

-z <0-9>
    specifies compression level for PNG output
              0 : no compression
              9 : max compression

-nodshow
    disables usage of DirectShow video codecs

-noxv (SDL only)
    disable XVideo hardware acceleration

-forcexv (SDL only)
    force using XVideo hardware acceleration

-forcegl (SDL only)
    force using OpenGL. (May help with cards which lack overlay/scaler but have powerful 3D-engine. Example: some SGI cards)

-config <config file>
    specifies where to search for config file

-frames number
    MPlayerXP plays <number> frames, then quits.

-cache <kbytes>
    This option specifies how much memory to use when precaching a file/URL. Especially useful on slow media with variable speed of data transfer (sharped CDROM for example or network). Default is 1MB. Note: This options will eat from 2% upto 25% of your CPU usage depending on bandwidth of input streams (it dramatically slowdowns DVD playback).

-use-stdin
    Forces reading of keyboard codes from STDIN instead of terminal's console.

DVD PLAYBACK
NOTE: These options are valid only with DVD support compiled in. NOTE: DVD playback sometimes requires deinterlacing '-vf pp=lb'

dvdnav://
    Provides graceful technology to playback whole DVD disk with correct chapter's order. It's enough to specify: mplayerxp dvdnav:// to run mplayerxp as dvdplayer. The key skipopening should remove timer's stalls during transfering of control between chapters. mplayerxp dvdnav://skipopening=on,T=1,C=2 Other example: mplayerxp dvdnav://@/dev/dvd2#skipopening=off,T=2,C=14 will play chapter 14 of title 2 from /dev/dvd2 with stalls during transfering of control between chapters.

dvdread://titleid,chapterid,angleid
    tell MPlayerXP which movies (marked with titleid) to play. For example sometimes '1' are trailers, and '2' is the real movie. chapterid is optional argument which specifies chapter of title for playback. angleid some DVD discs contain scenes that can be viewed from multiple angles. Examples can be found below.

-dvdauth <device>
    provides authentification of encrypted DVD disk with using of libcss

-dvdkey key
    key to decrypt stream encrypted with CSS. For example : -dvdkey F169072699 (this is NOT for DVD playing! For DVD use the dvdnav:// option!)

-csslib <path to libcss.so>
    This option is useful only if libcss.so can't be autodetected

-alang <audio stream language>
    Used when playing DVD disks. Expects a two-letter country code(s) as parameter, and always tries to play back audio streams those language matches the given code. For example: -alang hu,en will always try to play hungarian or if it's non-existant then english audio streams if there are any.

-slang <subtitle language>
    See the -sid option, but this one needs a two-letter parameter, a country code. Like: -slang hu,en will always select hungarian or if it's non existant then english subtitles, if there are any. For the list of available subtitles, use with the -v switch and look at the output.

-spuaa <mode> (OSD only)
    Antialiasing/scaling mode for DVD/VOBsub. A value of 16 may be added to <mode> in order to force scaling even when original and scaled frame size already match. This can be employed to e.g. smooth subtitles with gaussian blur. Available modes are:
        0 : none (fastest, very ugly)
        1 : approximate (broken?)
        2 : full (slow)
        3 : bilinear (default, fast and not too bad)
        4 : uses swscaler gaussian blur (looks very good)

-spualign <-1-2> (OSD only)
    Specify how SPU (DVD/VOBsub) subtitles should be aligned.
        -1 : original position
         0 : Align at top (original behavior, default).
         1 : Align at center.
         2 : Align at bottom.

-spugauss <0.0-3.0> (OSD only)
    Variance parameter of gaussian used by -spuaa 4. Higher means more blur (default: 1.0).

FRAME'S GEOMETRY CONTROL
-flip flip image (useful for example for old Indeo codecs). Supported only(?) by the 'sdl' and 'x11' outputs.

-aspect <ratio>
    set aspect ratio of movies. It's autodetected on MPEG files, and can't be autodetected on AVI files. Examples:
        -aspect 4:3 or -aspect 1.3333
        -aspect 16:9 or -aspect 1.7777

-monitoraspect <ratio>
    set aspect ratio of your screen. Examples:
        -monitoraspect 4:3 or 1.3333
        -monitoraspect 16:9 or 1.7777

-x <x>
    scale image to x width (if driver suppports)

-y <y>
    scale image to y height (if driver supports)

-xy <factor>
    scale image by <factor>

SCREEN CONTROL

-display <name>
    specify the hostname and display number of the X server you want to display on. For example : -display xtest.localdomain:0

-xineramascreen <screen number>
    in Xinerama configurations (i.e. a single desktop that spans across multiple displays) this option tells MPlayerXP which screen to display movie on. Range 0 - ...

-wid <window id>
    This tells MPlayerXP to use a X11 window, which is useful to embed MPlayerXP in a browser (with the plugger extension for instance)

-fsmode mode
    This option workarounds some problems when using specific windowmanagers and fullscreen mode. If you experience fullscreen problems, try changing this value between 0 and 7.
            -fsmode 0 new method
            -fsmode 1 ICCCWM patch
                           (for KDE2/icewm)
            -fsmode 2 old method
            -fsmode 3 ICCCWM patch
                           plus Motif method

-fs fullscreen playing (centers movie, makes black bands around it and uses SW scaler if there is no HW one available). Toggle it with the 'f' key (not all video outputs support it).

-vm try to change to a different video mode. dga2, x11 (XF86VidMode) and sdl output drivers support it.

-zoom
    Keeps aspect ratio on the screen [default]

-bpp <depth>
    use different color depth than autodetect. Not all -vo drivers support it (fbdev, dga2, svga, vesa).

-rootwin
    play movie in the root window (desktop background) instead of opening a new one. Works only with the xv and xmga drivers.

-screenw <pixels>
    If you use an output driver which can't know the resolution of the screen (fbdev/x11 and/or TVout) this is where you can specify the horizontal resolution.

-screenh <pixels>
    If you use an output driver which can't know the resolution of the screen (fbdev/x11 and/or TVout) this is where you can specify the vertical resolution.

  DRIVER SPECIFIC SCREEN CONTROL

-vo fbdev
    You may pass a several arguments to this driver. vidix forcing VIDIX usage. fbdev_name:fb_mode#modeconfig=value,hfreq=val,vfreq=val,dotclock=val Here: dev_name Specifies the framebuffer device to use. By default it uses /dev/fb0 . fb_mode Change videomode to the one that is labelled as <modename> in /etc/fb.modes . modeconfig Use this config file instead of the default /etc/fb.modes . Only valid for the fbdev driver. hfreq specifies horizontal monitor frequency. vfreq specifies vertical monitor frequency. dotclock specifies monitor's dotclock. Example: -vo fbdev:vidix or -vo fbdev:/dev/fb2/:800x600-56#modeconfig=/user/fbmodes.etc,dotclock=27778

-vo vesa
    You may specify several arguments for this driver: vidix to force vidix usage dga to force dga access nodga to disable dga access

-vo sdl
    You may force video driver through argument's line of this driver. Example: -vo sdl:ggi To force vidix usage please use -vo sdl:vidix

POSTPROCESSING
Introduction: Main goal of postprocessing is an attempt to improve the quality of the final image to smooth some flaws of decoders and/or restore brightness/color balance if it was lost during capturing/encoding. NOTE: You should have enough power CPU to apply postprocessing or have its hardware implementation in videocard.

  GENERIC
NOTE: Listed below options are implemented on software level and don't required special hardware.

-autoq <quality>
    dynamically changes the level of postprocess, depending on spare CPU time available. The number you specify will be the maximum level used. Usually you can use some big number. You may not use together with -vf pp but it's ok with it! Note: In XP mode it depends on tile of free buffers for decoding ahead. Example: -autoq 100 -vf pp=de Note: If you have not enough power CPU then it would be reasonable to limit -autoq with 1 or 2 only.

-sws <software scaler type>
    this option sets the quality (and speed, respectively) of the software scaler, with the -zoom option. For example with x11 or other outputs which lack hardware scaler. Possible settings are:
        0 - fast bilinear (default)
        1 - bilinear
        2 - bicubic (best quality)
        3 - ?
        4 - nearest neighbor (bad quality)
        5 - area averageing scaling support

  VIDEO EQUALIZING
NOTE: Every option in this section requires as an argument the number in range from -1000 to +1000 If your hardware supports video equalizing then these options will be passed into video hardware. Else MplayerXP will try to correct video image with using of software code. Note: Currently only dshow and divx4linux codecs support this feature.

-brightness
    Corrects brightness of video image (from black screen).

-saturation
    Corrects satuartion of video image (from grayscaled image).

-contrast
    Corrects contrast of video image (from black screen).

-hue
    Corrects hues of video image.

-red_intensity

-green_intensity

-blue_intensity
    Correct RGB intensity of video image. Example: mplayerxp -brightness 300 -contrast -237 -red_intensity 57 filename

  VIDEO POSTPROCESSING
Note: Video postprocessing was implemented as filters whcih can be chained to build complex effects.

-vf selects video filter. Video filters can be used for changing the properties of the video data before the image reaches the video card. The filters can also have arguments that changes their behaviour. Example: mplayerxp -vf mirror=x,swapuv,smartblur=1:1:1:1 media.avi would mirror image realtively line of horizont then swap U,V planes and apply bluring. The list of video filters: 1bpp Converts 1bpp bitmap into 8/15/16/32 bits YUV/BGR images aspect Resets displaysize/aspect. You may specify a several forms of aspect: 1 as X/Y 2 as constant 3 as string 'dvb'

    Example:

    mplayerxp -vf dsize=1.3 -fs movie.avi

    mplayerxp -vf dsize=4/3 movie.avi

    mplayerxp -vf dsize=dvb movie.avi delogo Simple logo remover. denoise3d Variable lowpass filter. Accepts 4 arguments: LumaSpac, LumaTmp, ChromaSpac, ChromaTmp You may specify any number of arguments from 0 upto 4. If you have specified 4 arguments then will be activated High-quality filter. If number of arguments < 4 then ordinal filter will be used. If you want to use high-quality filter with default parameters then call it as:

    mplayerxp -vf denoise3d=4:3:6:8 movie.avi dint Deinterlacer. You may specify from 2 to 5 arguments. If you have specified 2 arguments (sense and level) then drop-frame method will be used. If you have specified 5 arguments (treshold, map, ordr, sharp, twoway) then kernel deinterlacer will be used. Defaul values for drop-frame method are: 0.1 0.15. For kernel method are: 0 0 10 0 0 Example:

    mplayerxp -dint=0:0:10:0:0 movie.avi

    mplayerxp -dint movie.avi down3dright Converts stereo movie from top-bottom to left-right field eq Software equalizer. Accepts upto 8 arguments: gamma, contrast, brightness, saturation, red intensity, green intensity, blue intensity, gamma weight Default values are: 1.:1.:0.:1.:1.:1.:1.:1. expand Expands image height to move OSD out of picture. May accept 2 arguments: up slice height, down slice height. Will autodetect heigts of black area if no arguments specified. Example:

    mplayerxp -vf expand movie.avi format Forces(disallow) output format. To force output format you should specify its name as argument. To disallow output format you should specify '!' character before format name. Forcing example:

    mplayerxp -vf format=yuy2 movie.avi Disallowing example:

    mplayerxp -vf format=!yuy2 movie.avi il (De)interleaver. mirror Mirrors (flip) image vertically or horizontally. Takes 1 argument: x or y which indecates mirror direction. noise Noise generator. palette 8bpp indexed (using palette) -> BGR 15/16/24/32 conversion. panscan Truncates widescreen movies by given coefficient (and vice-versa).

    Examlpe: To convert widescreen movie 16:9 (1.85/1) to normal 4:3 (1.33/1) you need to specify 1.333333 as argument from the next computing:

    (4/3)*3=(12/9) then

    16/9 : 12/9 = 16 / 12 = 1.333333

    Example: mplayerxp -vf panscan=1.33333 movie.avi Examlpe: To convert normalscreen movie 4:3 (1.33/1) to widescreen one 16:9 (1.85/1) you need to specify 0.333333 as argument from the next computing:

    (4/3)*3=(12/9) then

    12/9 : 16/9 = 12 / 16 = 0.75

    Example: mplayerxp -vf panscan=0.75 movie.avi perspective Perspective correcture. Requires 9 arguments: 8 refs and 1 cubic decriptor pp Postprocessing. requires codec which provides quant-info. rectangle Draws rectangle. Accepts 4 arguments: width, height, x, y. rgb2bgr Fast 24/32bpp RGB<->BGR conversion. rotate Rotates image on 90, 180, 270 degrees. Accepts 1 argument number of desrees to rotate. scale Software scaling. Accepts 6 arguments: width, height, change framedroppng flag, param1, param2. Example:

    mplayerxp -vo scale=800:600:0:123456:123456 media.avi smartblur Smart bluring. Requires 8 argument: luma raduis lume strength luma preFilterRadius luma threshold chroma radius chroma strength chroma preFilterRadius chroma threshold. You may specify first 4 only. In this case chroma will have the same values as luma. If you specify preFilterRadius then will be activated 'smart adaptive blur' algorithm. If you specify threshold as 0 then will be activated 'box blur' algorithm. If preFilterRadius is ZERO and threshold is non ZERO will be activated 'smart blur' algorithm. softpulldown mpeg2 soft 3:2 pulldown. swapuv Swaps U,V planes. unsharp You may increase sharpness or increase bluring of picture. Requires complex number of arguments: c:XxY:A:l:XxY:A here c means chroma XxY specified matrix size A specified amount level. If A is negative value then bluring is applied. If A is possitive value then sharpness is applied. If A is ZERO then plane is untouched. You may specify different matrixes and levels for chroma and luma. Even more: apply sharpness for luma and bluring for chroma and vice-versa. Example:

    mplayerxp -vf unsharp=c:3x5:2:l3x7:-0.5 movie.avi

    Here chroma plane will be sharped in 4 times and luma plane will blured on 50%. yuvcsp Yuv colorspace converter. yuy2 Fast YV12/Y422p -> YUY2 conversion. yvu9 Fast YVU9->YV12 conversion.

  AUDIO POSTPROCESSING
Note: Regardless the fact that output bandwidth of audio is much less than video applying postprocessing to audio may load your CPU a lot.

-af selects audio filter. Audio filters can be used for changing the properties of the audio data before the sound reaches the sound card. The filters can also have arguments that changes their behaviour. Example: mplayerxp -af resample=48000:0:0,format=S32LE media.avi would set the output frequency of the resample plugin to 48000Hz and the output format of the format plugin to AFMT_S32_LE. The list of audio filters: center=<ch> Creates a center channel from the front channels. May currently be low quality as it does not implement a high-pass filter for proper extraction yet, but averages and halves the channels instead. The argument ch determines the channel number in which to insert the center channel. Channel number can be between 0 and 5 (default: 5). Observe that the number of channels will automatically be increased to ch if necessary. channels=<required number of channels>:<required number of routers>:<from:to routers> If your sound card driver doesn't support mono signal, this filter can be used to change the number of channels to stereo or more. Example 1: -af channels=6:4:0:0:0:1:0:2:0:3 media.avi would change the number of channels to 6 and set up 4 routes that copy channel 0 to channels 0 to 3. Channel 4 and 5 will contain silence. Example 2: -af channels=2:0 media.avi would change the number of channels to 2 and set up 0 routes. comp The compressor/expander audio filter. Unfortunatedly it's unfinished. crystality=<bext>:<echo>:<stereo>:<filter>:<feedback>:<threshold>:<harmonics> Most complex filter tries to patch mp3 format flaws by appliyng sound crystalization technology! This filter tries to restore lost bands of frequencies (above of 15KHz) after that slightly amplifies higher frequencies of sound. Adds "energy" and 3d stereo to the sound. This filter is still under development but ready for usage. bext specifies level of bandwidth extender ("exciter"). echo specifies level of 3d echo. stereo specifies level of extra stereo filter specifies level of pitch shifting (to play short fragments longer) feedback threshold specify levels of lowpass reverberation. harmonics specifies level of nonlinear extra even harmonics to reach "audiophile quality" (currently unimplemented). Default values are: af crystality=28:11:11:3:30:20:43 delay=<delay1>:<delay2>:<delay3> This filter delays the sound to the loudspeakers such that the sound from the different channels arrives at the listening position simultaneously. It is only useful if you have more than 2 loudspeakers. This filter has a variable number of parameters. Parameters are floating point numbers representing the delays in ms that should be imposed on the different channels. The minimum delay is 0ms and the maximum is 1000ms. Example: -af delay=10.5:10.5:0:0:7:0 media.avi would delay front left and right by 10.5ms, the two rear channels and the sub by 0ms and the center channel by 7ms. dyn=<gain> This filter compands dynamic range of the sound. Example: -af dyn=8 media.avi echo3d=<echos>:<level>:<feedback> The 3d echo filter performs effects of cathedral's hall sound. echos specifies number of echo (maximum 3). level feedback specify levels of loudness and reverb. -af echo=3:11:30 equalizer=<gain1>:<gain2>:...<gain10> The equalizer filter represents a 10 octave band graphic equalizer, implemented using 10 IIR band pass filters. This means that it works regardless of what type of audio is being played back. The center frequencies for the 10 bands are: 31.25 62.5 125 250 500 1000 2000 4000 8000 16000 This filter has 10 parameters which are floating point numbers between -12 and+12 representing the gain in dB for each frequency band. Example: -af equalizer=11:11:10:5:0:-12:0:5:12:12 media.avi would amplify the sound in the upper and lower frequency region while canceling it almost completely around 1kHz. export This audio filter exports the incoming signal to other processes using memory mapping (mmap()). Memory mapped areas contain a header: <int number of channels><int buffer size><unsigned long long counter to keep sync, it's updated every time new data is exported.> The rest is payload (non-interleaved) 16bit data. extrastereo=<mul> This audio filter (linearly) increases the difference between left and right channels (like the XMMS extrastereo plugin) which adds some sort of live effect to playback. This filter has one parameter: mul is the difference coefficient, an optional floating point number that defaults to 2.5. If you set it to 0.0, you will have mono sound (average of both channels). If you set it to 1.0, sound will be unchanged, if you set it to -1.0, left and right channels will be swapped. Usage : mplayerxp -af extrastereo media.avi mplayerxp -af extrastereo=3.45 media.avi ffenc=<codec>:<bitrate> This audio filter converts raw audio stream into compressed by selected codec. Compressed audio stream can be used for dumping into file. Usage : mplayerxp -ao null -af ffenc=mp3:128000,raw=1.mp3 cdda://1 To get list of available audio encoder please type: -af ffenc=help format=<required output format> If your sound card driver doesn't support signed 16bit int, this filter can be used to change the format to one which your sound card can understand. Example: -af format=S32LE gate The noise gate audio filter audio filter. Unfortunatedly it's unfinished. hrtf=<mode> Experimental audio filter that mixes 5.1 and 5.1 with matrix encoded rear channels into headphone signal using FIR filtering with HRTF (Head Related Transfer Function). Although it is not possible to exactly imitate a surround system, MPlayerXP's HRTF filter does provide more spatially immersive audio in 2-channel headphones. Regular downmixing simply combines all the channels into two; besides combining the channels, hrtf generates surround echoes, increases the stereo separation slightly, and alters the volume of some frequencies. Whether HRTF sounds better may be dependent on the source audio and a matter of personal taste, but it is definitely worth trying out. Mode Meaning: m - matrix decoding of the rear channel s - 2-channel matrix decoding 0 - no matrix decoding (default) To play a DVD with HRTF: mplayerxp -ao alsa -af hrtf dvdread://@/dev/sr0#1 hrtf only works well with 5 or 6 channels. Also, hrtf requires 48 kHz audio. DVD audio is already 48 kHz, but if you have a file with a different sampling rate that you want to play using hrtf you must resample it: mplayerxp filename -af resample=48000,hrtf karaoke Simple voice removal filter exploiting the fact that voice is usually recorded with mono gear and later 'center' mixed onto the final audio stream. Beware that this filter will turn your signal into mono. Works well for 2 channel tracks; do not bother trying it on anything but 2 channel stereo. lp=<faked out> (aka LongPlay) This filter fakes audio resampling. This trick helps to play sound longer if your card support a several sample rates. So if you have slow machine then you may avoid framedropping by playing movie longer. Althourgh you will have bassed sound. Note: You may also speedup playback by faking of highrated audio stream but it's not very useful Example: -af lp=32000 media.avi pan=<channels>:<in1>:<in2>...<out1>:<out2>...<out8> Use the pan filter to mix channels arbitrarily. It is basically a combination of the volume control and the channels filter. There are two major uses for this filter: Down-mixing many channels to only a few, stereo to mono for example. Varying the "width" of the center speaker in a surround sound system. This filter is hard to use, and will require some tinkering before the desired result is obtained. The number of options for this filter depends on the number of output channels: channels is an integer between 1 and 8 and is used for setting the number of input channels. This option is required, leaving it empty results in a runtime error. <in1>...<out8> are floating point values between 0 and 1. l[i][j] determines how much of input channel j is mixed into output channel i. Example 1: -af pan=1:0.5:0.5 -channels 1 media.avi would down-mix from stereo to mono. Example 2: -af pan=3:1:0:1:0.5:0.5 -channels 3 media.avi would give 3 channel output leaving channels 0 and 1 intact, and mix channels 0 and 1 into output channel 2 (which could be sent to a sub-woofer for example). raw=filename This audio filter stores audio stream into file in raw format. Usefull as satelite for ffenc filter. Usage : mplayerxp -ao null -af ffenc=mp3:128000,raw=1.mp3 cdda://1 Note: if filename ends with .wav then RIFF WAVE header will be added automatically. resample=<Frequency in Hz>:<sloppy>:<type> This filter can for example 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. sloppy This option can be used if the startup of the playback is extremely slow. It's enabled by default. type 0 - represents linear interpolation. 1 - represents resampling using a poly-phase filter-bank and integer processing. 2 - represents resampling using a poly-phase filter-bank and floating point processing. sinesuppress=<freq>:<delay> Remove a sine at the specified frequency. Useful to get rid of the 50/60hz noise on low quality audio equipment. It probably only works on mono input. <freq> The frequency of the sine which should be removed (in Hz) (default: 50) <delay> Controls the adaptivity (a larger value will make the filter adapt to amplitude and phase changes quicker, a smaller value will make the adaptation slower) (default: 0.0001). Reasonable values are around 0.001. sub=<cutoff freq>:<channel> This filter adds a sub woofer channel to the audio stream. The audio data used for creating the sub-woofer channel is an average of the sound in channel 0 and channel 1. The resulting sound is then low-pass filtered by a 4th order Butterworth filter with a default cutoff frequency of 60Hz and added to a separate channel in the audio stream. Warning: Disable this filter when you are playing DVDs with Dolby Digital 5.1 sound, otherwise this filter will disrupt the sound to the sub-woofer. This filter has two parameters: cutoff freq. is an optional floating point number used for setting the cutoff frequency for the filter in Hz. The valid range is 20Hz to 300Hz. For the best result try setting the cutoff frequency as low as possible. This will improve the stereo or surround sound experience. The default cutoff frequency is 60Hz. channel is an optional integer between 0 and 5 which determines the channel number in which to insert the sub-channel audio. The default is channel number 5. Observe that the number of channels will automatically be increased to given value if necessary. surround=<delay> Matrix encoded surround sound can be decoded by the surround filter. Dolby Surround is an example of a matrix encoded format. Many files with 2 channel audio actually contain matrixed surround sound. To use this feature you need a sound card supporting at least 4 channels. This filter has one parameter that is an optional floating point number between 0 and 1000 used for setting the delay time in ms for the rear speakers. The default value for delay is 20ms. Example: -af surround=15 -channels 4 media.avi would add surround sound decoding with 15ms delay for the sound to the rear speakers. volnorm This audio filter maximizes the volume without distorting the sound. Usage: mplayerxp -af volnorm media.avi volume=<volume>:<softclip> Software volume control is implemented by the volume audio filter. Use this filter with caution since it can reduce the signal to noise ratio of the sound. In most cases it is best to set the level for the PCM sound to max, leave this filter out and control the output level to your speakers with the master volume control of the mixer. In case your sound card has a digital PCM mixer instead of an analog one, and you hear distortion, use the MASTER mixer instead. If there is an external amplifier connected to the computer (this is almost always the case), the noise level can be minimized by adjusting the master level and the volume knob on the amplifier until the hissing noise in the background is gone. This filter has two options: volume <-200 - +60> is a floating point number between -200 and +60 which represents the volume level in dB. The default level is 0dB. softclip is a binary control that turns soft clipping on and off. Soft-clipping can make the sound more smooth if very high volume levels are used. Enable this option if the dynamic range of the loudspeakers is very low. Be aware that this feature creates distortion and should be considered a last resort.

DIRECT RENDERING
NOTE: Direct rendering is case when codec decodes to extrenal buffer. Main goal of direct rendering implementing is decoding directly into video memory but many VO drivers provide direct rendering into their temporary buffers to avoid multiple copying between buffers. Currently, only VIDIX provides real direct rendering into video memory.

-vaa_dr
    Enables direct rendering (by default)

-vaa_nodr
    Disables direct rendering. It's useful if MPlayerXP has some not fixed bugs only.

-nodouble
    disables doublebuffering. With the DGA driver this also disables OSD support but yields some speed gain.

-double
    enables doublebuffering. Double buffering is technology when video output is performed into separate video buffers. It supresses OSD flickering. When you specify -xp key it forces multibuffering mode and uses all available (video) memory to enable decoding ahead

-vsync
    forces video hardware to wait VSYNC signal before buffer switching in doublebuffered mode. This key is useful only to supressing screen juddering during buffer switching.

OSD CONTROL

-font <path to font.desc file>
    search for the OSD/SUB fonts in an alternative directory (default : ~/.mplayerxp/font/font.desc). For example:
        -font ~/.mplayerxp/arial-14/font.desc

-ffactor <number>
    resample alphamap of the font. Can be:
            0 plain white fonts
            0.75 very narrow black outline [default]
            1 narrow black outline
            10 bold black outline

-sub <subtitle file>
    use/display this subtitle file

-subfps <rate>
    specify frame/sec rate of subtitle file (float number) (ONLY for frame-based SUB files, i.e. NOT MicroDVD format!) (default: the same fps as the movie)

-subdelay <sec>
    delays subtitles by <sec> seconds. Can be negative.

-vobsub <vobsub file without extention>
    specify the VobSub files that are to be used for subtitle. This is the full pathname without extensions, i.e. without the ".idx", ".ifo" or ".sub".

-vobsubid <vobsub subtitle id>
    specify the VobSub subtitle id. Valid values range from 0 to 31.

-osdlevel <level>
    specifies which mode the OSD should start in (0 : none, 1 : seek, 2: seek+timer) (default = 2)

-subcp codepage
    If your system supports iconv(3), you can use this option to specify codepage of the subtitle. Examples:
            -subcp latin2
            -subcp cp1250

-unicode
    tells MPlayerXP to handle the subtitle file as UNICODE. Contrary: -nounicode

-utf8
    tells MPlayerXP to handle the subtitle file as UTF8.

SOUND CONTROL

-mixer <device>
    this option will tell MPlayerXP to use a different device for mixing than /dev/mixer.

-master
    obsoleted option, use Software audio mixer plugin instead (see DOCS).

-nosound
    don't play sound

-abs <bytes>
    sound card audio buffer size (in bytes, default: measuring)

-stereo mode
    select type of MP2/MP3 stereo output.
            Stereo 0
            Left channel 1
            Right channel 2

-channels n
    select number of audio output channels to be used
            Stereo 2
            Surround 4
            Full 5.1 6 Currently this option is only honoured for AC3 audio.

-srate <Hz>
    specifies Hz to playback audio on. Has effect on playback speed!

  DRIVER SPECIFIC SOUND CONTROL

-ao alsa
    Forces to put audio stream into ALSA (Advaced Linux Sound Architecture). You may pass a several arguments to this driver. alsa_device#mmap=value,noblock=val Here: alsa_device specifies non-default alsa device mmap sets mmap mode of soundcard access. noblock sets nonblock mode of soundcard access. Example: -ao alsa:hw:0,3#mmap=on,noblock=off configures alsa playback on third device of first soundcard in mmap block mode. -ao alsa:hw:0,-1 will show driver/soundcard #0 capabilities. -ao alsa:hw:2,-1 will show driver/soundcard #2 capabilities.

-ao oss
    Forces to put audio stream into OSS (Open Sound System). You may specify DSP defice as argument of this driver. Example: -ao oss:/dev/dsp2 also you may display capabilities of soundcard/driver capabilities as: -ao oss:/dev/dsp:-1

-ao sdl
    Forces to put audio stream into SDL (Simple Direct Layer). You may force audio driver through argument's line of this driver. Example: -ao sdl:esd

-ao null
    Forces to put audio stream into /dev/null. You may write audio stream into file instead of /dev/null by specifing filename and mode as arguments: Example: -ao null will use /dev/null. -ao null:@filename.raw:pcm will write audio bytes into file as PCM stream. -ao null:@filename.wav:wav will write audio bytes into file as RIFF WAV format.

STREAM CONTROL
Note: Almost all stream's driver support help on-demand. To get it please type stream://help. For example: dvdnav://help

file://filename
    play specified filename

http://URL
    play specified network location

cdda:// <track>
    play CD DA track from device instead of plain file

vcd:// <track>
    play Video CD track from device instead of plain file

vcdnav://
    play whole Video CD with using libvcd.so

dvd:// <track>
    play DVD track from device instead of plain file

dvdnav://
    play DVD with using of libdvdnav.so

dvdplay://
    play DVD with using of libdvdplay.so

tv:// <suboptions>
    This option enables the TV grabbing feature of MPlayerXP. This code is not tested!!!

oss://<@device>#<channels>,<samplerate>,<sampleformat>
    This option enables the OSS grabbing feature of MPlayerXP.

MOVIE PARSER OR DEMUXING

-aid <id>
    select audio channel [MPG: 0-31 AVI: 1-99 ASF: 0-127 VOB: 128-...]

-vid <id>
    select video channel [MPG: 0-15 AVI: -- ]

-sid <id>
    Turns on DVD subtitle displaying. Also, you MUST specify a number which corresponds to a DVD subtitle language (0-31). For the list of available subtitles, use with the -v switch and look at the output.

-ni force usage of non-interleaved AVI parser (fixes playing of some bad AVI files)

-idx
    rebuilds INDEX of the AVI, thus allowing seeking. Useful with broken/incomplete downloads, or badly created AVIs.

-noidx
    disregards INDEX of the AVI. Useful for files with broken index (desyncs, etc). Seeking will NOT be possible. You can fix the index permanently with MUXING , see below.

-forceidx
    force rebuilding of INDEX. Useful for files with broken index (desyncs, etc). Seeking will be possible. You can fix the index permanently with MUXING , see below.

MUXING
Introduction: This method was designed network as sucker and as facility to dump DVD into signle files but you may use it as "cure" tool in some cases (see -force_pts_fix for detail). Note: Also you may specify -ss and -frames options to proceed only part of source stream.

-dump @<type>:<sname/subtype>
    specifies dump type and stream name

  Dumping types

stream
    The most simplest method of stream copy. Dumps the stream into sname. Useful for example as network sucker. Example: -dump @stream:my_file.ext

raw dumps raw stream into file. You may specify which part of movie should be dumped. Examples: -dump @raw:audio
     - will dump audio data only in raw format into a_dump.raw -dump @raw:video
     - will dump video data only in raw format into v_dump.raw -dump @raw:sub
     - will dump subtitles only in raw format into s_dump.raw -dump @raw:filename.ext
     - will dump all streams in raw format into filename.ext

mpxp
    remulitplexes any stream which can be recognized by demuxer into the stream of MPXPAV64 format. (Most compact A-V container today) Examples: -dump @mpxp:filename.ext
     - will dump all streams in MPXPAV64 format into filename.ext -dump @mpxp:audio
     - will dump audio data only in MPXPAV64 format into a_dump.raw -dump @mpxp:video
     - will dump video data only in MPXPAV64 format into v_dump.raw -dump @mpxp:sub
     - will dump subtitles only in MPXPAV64 format into s_dump.raw

-lavf
    remulitplexes any stream which can be recognized by demuxer into any stream which is supported by libavformat library.
     Examples: -dump @lavf:avi
     - will dump all streams in AVI format into avs_dump.avi -dump @lavf:asf
     - will dump all streams in ASF format into avs_dump.asf Note: you have no possibility to write audio or video part of stream in this case.

KEYBOARD CONTROL

NOTE
    These keys may/may not work, depending on your output drivers and input demuxer.

  navigation keys

arrow_left/arrow_right
    seek backward/forward 10 seconds

arrow_up/arrow_down
    seek backward/forward 1 minute

pgup/pgdown
    seek backward/forward 10 minutes

[ / ]
    Decrease/increase playback speed by 10%

{ / }
    Halve/double current playback speed

backspace
    Resets playback speed to normal

  playlist navigation keys

< / >
    Go backward/forward in playlist

enter
    Go forward in playlist, even over the end

home/end
    Next/prevous playtree entry in parent list

ins/del
    (ASX only) next/prevous alternative source

  manual A-V synchronization keys

+/- adjust audio delay by +/- 0.1 second

z/x adjust subtitle delay by +/- 0.1 second

d   Toggle frame droping states: noframedrop/framedrop/hardframedrop

  general purposes keys

p   or SPACE pause movie (press any key)

q   stops stream reading than plays unfinished buffers and quits program ESC stop playing and quit program immediately

/ * decrease/increase volume

m   mute sound

o   toggle OSD: none / seek / seek+timer

r/t Move subtitles up/down

  special purposes keys
(the following keys are valid only when using -vo xv OR -vo [vesa|fbdev]:vidix OR -vo xvidix OR -vc divxds. The latter is slow!)

1/2 adjust contrast

3/4 adjust brightness

5/6 adjust hue

7/8 adjust saturation

s   grab screenshot

f   toggle fullscreen mode

a   Cycle through the available audio tracks

v   Cycle through the available video tracks

c   Cycle through the available subtitles

  TV purposes keys
These keys are only valid if MPlayerXP was compiled with TV input support

h/k select previous/next TV channel

n   Change norm

u   Change channel list

  DVDNAV purposes keys

W   Select upper button

Z   Select lower button

A   Select left button

D   Select right button

M   Select DVD's menu

S   Activate (press) selected button

b g i j l y
    Reserved keys

SLAVE MODE PROTOCOL
If the -slave switch is given, playback is controlled by a line-based protocol with the following tokens:

stop            pause playback
    play resume playback seek <NUM> continue at second NUM skip <NUM> skip NUM seconds (may be negative) quit exit MPlayerXP

FILES AND DIRECTORIES

CONFIG FILES
    Settings are stored system-wide in the /etc/mplayer.conf file, and per-user in $HOME/.mplayerxp/config. The directory $HOME/.mplayerxp and the 'config' are created if doesn't exist.

FONTS
    Fonts are searched in $HOME/.mplayerxp/font. There must be a font.desc file, and files with .RAW extension.

SUBTITLE FILES
    MPlayerXP currently supports 10 subtitle formats : MicroDVD, SubRip, unnamed, SAMI (smi), vplayer, RealMedia RT, ssa (Sub Station Alpha), AQT, VobSub, and our own: MPsub. Sub files are searched in this priority : (for example /mnt/cdrom/movie.avi)
        /mnt/cdrom/movie.sub
         (utf/UTF/sub/SUB/srt/SRT/smi/SMI/rt/RT/txt/TXT/ssa/SSA)
        $HOME/.mplayerxp/sub/movie.sub
         (utf/UTF/sub/SUB/srt/SRT/smi/SMI/rt/RT/txt/TXT/ssa/SSA)
        $HOME/.mplayerxp/default.sub

MRL
MPlayerXP supports MRL (media resource locator). This means that you may change default location of media resources through specifying them as arguments of protocol. Main concepts of MPlayerXP's MRL is: UPR://~user*pass@media_source:port#arg1=value1,arg2=value2,arg3=value3 Here: UPR is Unified Protocol Request user is username (maybe useful in rare cases) pass is user's password (maybe useful in rare cases) media_source is location of media source port is port of media source arg=value are plugin specific parameters Almost all stream plugins support MRL. Example: dvdread://@/tmp/dvd_image.udf#1,5-7

EXAMPLES

Quickstart DVD playing
    mplayerxp dvdnav://

Playing title2 of DVD from non default device
    mplayerxp dvdnav://@/dev/cdrom2#T=2

Play only chapters 5, 6, 7
    mplayerxp dvdread://1,5-7

Play only titles 1, 5, 7
    mplayerxp dvdread://@/dev/sr0#1 dvdread://@/dev/sr0#5 dvdread://@/dev/sr0#7

Play chapters 8, 9 from non default device
    mplayerxp dvdread://@/dev/dvd2#1,5-7

Multiangle DVD playing
    mplayerxp dvdread://1,1-0,2

Quickstart Video CD playing
    mplayerxp vcdnav://

Quickstart Video CD playing from cd_image
    mplayerxp vcdnav://@/tmp/cd_image.iso

Play track 2 of Video CD only from CD image
    mplayerxp vcd://@/tmp/cd_image.iso#2

Play track 3 of Video CD only
    mplayerxp vcd:///3

Stream from HTTP
    mplayerxp http://mplayerhq.hu/example.avi

Play 5th track from CDDA
    mplayerxp cdda://5

Convert subtitle to MPsub (to ./dump.mpsub)
    mplayerxp dummy.avi -sub source.sub -dumpmpsub

DVD ripping
    mplayerxp dvdnav:// -asfdump

Fixing PTS for some MPEGS
    mplayerxp file.mpg -asfdump -nopts

Clip creating
    mplayerxp file.ext -asfdump -ss 00:31:20 -frames 4672

Playing files with specific names
    mplayerxp file://--help

Capturing FM radio
    1. Select your favorite FM radio with fmio or other tools: fmio -d v4l -f 101.9 2. Save it as MP3 stream: mplayerxp oss:// -af ffenc=mp3:96000,raw=101_9-radio.mp3 -ao null Note: You need to have P2-400 or better to perform capturing in real-time mode. Less CPU burning mode: mplayerxp oss://2,32000,S16LE -af ffenc=mp3:96000,raw=1019.wav -ao null Unfortunatedly, on old Cel-266 is only way to perform real-time FM grabbing is storing uncompressed 32KHz stream into raw file: mplayerxp oss://2,32000,S16LE -af raw=1019.wav -ao null You may be happy with: mplayerxp oss://2,44100,S16LE -ao null:@1058.wav:wav

CDDA grabbing
    Using tradional mp3 codec: mplayerxp cdda://1 -af ffenc=mp3:256000,raw=1.mp3 -ao null You may increase quality with using other codecs: mplayerxp cdda://1 -af ffenc=ac3:320000,raw=1.ac3 -ao null

ENVIRONMENT VARIABLES
To have correct NLS support please check that your system have correctly defined variables:

LANG
    The POSIX method of locale definition (have main priority). Example for *nix: set LANG=ru_RU.KOI8-R

LANGUAGE
    The POSIX method of locale definition (have second priority after`LANG'). Example for win32: set LANGUAGE=ru_RU.CP1251

BUGS
Probably exist. E-Mail them to developers ;)

AUTHORS
See AUTHORS file. MPlayerXP is (C) 2002 Nick Kurshev <nickols_k@mail.ru> 2000-2002 Arpad Gereoffy <sendmail@to.mplayer-users> This manpage is written and maintained by Gabucino . and modified by Nick Kurshev.

STANDARD DISCLAIMER
Use only at your own risk! There may be errors and inaccuracies that could be damaging to your system or your eye. Proceed with caution, and although this is highly unlikely, the author doesn't take any responsibility for that!