.. _video_outputs: VIDEO OUTPUT DRIVERS ==================== Video output drivers are interfaces to different video output facilities. The syntax is: --vo= Specify a priority list of video output drivers to be used. If the list has a trailing ',' MPlayer will fall back on drivers not contained in the list. Suboptions are optional and can mostly be omitted. *NOTE*: See ``--vo=help`` for a list of compiled-in video output drivers. *EXAMPLE*: ``--vo=xmga,xv,`` Try the Matrox X11 driver, then the Xv driver, then others. ``--vo=directx:noaccel`` Uses the DirectX driver with acceleration features turned off. Available video output drivers are: xv (X11 only) Uses the XVideo extension to enable hardware accelerated playback. If you cannot use a hardware specific driver, this is probably the best option. For information about what colorkey is used and how it is drawn run MPlayer with ``-v`` option and look out for the lines tagged with ``[xv common]`` at the beginning. adaptor= Select a specific XVideo adaptor (check xvinfo results). port= Select a specific XVideo port. ck= Select the source from which the colorkey is taken (default: cur). cur The default takes the colorkey currently set in Xv. use Use but do not set the colorkey from MPlayer (use the ``--colorkey`` option to change it). set Same as use but also sets the supplied colorkey. ck-method= Sets the colorkey drawing method (default: man). man Draw the colorkey manually (reduces flicker in some cases). bg Set the colorkey as window background. auto Let Xv draw the colorkey. x11 (X11 only) Shared memory video output driver without hardware acceleration that works whenever X11 is present. xover (X11 only) Adds X11 support to all overlay based video output drivers. Currently only supported by tdfx_vid. Select the driver to use as source to overlay on top of X11. vdpau (X11 only) Uses the VDPAU interface to display and optionally also decode video. Hardware decoding is used with ``--vc=ffmpeg12vdpau``, ``--vc=ffwmv3vdpau``, ``--vc=ffvc1vdpau``, ``--vc=ffh264vdpau`` or ``--vc=ffodivxvdpau``. sharpen=<-1-1> For positive values, apply a sharpening algorithm to the video, for negative values a blurring algorithm (default: 0). denoise=<0-1> Apply a noise reduction algorithm to the video (default: 0, no noise reduction). deint=<-4-4> Select deinterlacing mode (default: -3). Positive values choose mode and enable deinterlacing. Corresponding negative values select the same deinterlacing mode, but do not enable deinterlacing on startup (useful in configuration files to specify what mode will be enabled by the "D" key). All modes respect ``--field-dominance``. 0 same as -3 1 Show only first field, similar to ``--vf=field``. 2 Bob deinterlacing, similar to ``--vf=tfields=1``. 3 motion adaptive temporal deinterlacing. May lead to A/V desync with slow video hardware and/or high resolution. 4 motion adaptive temporal deinterlacing with edge-guided spatial interpolation. Needs fast video hardware. chroma-deint Makes temporal deinterlacers operate both on luma and chroma (default). Use no-chroma-deint to solely use luma and speed up advanced deinterlacing. Useful with slow video memory. pullup Try to apply inverse telecine, needs motion adaptive temporal deinterlacing. hqscaling=<0-9> 0 Use default VDPAU scaling (default). 1-9 Apply high quality VDPAU scaling (needs capable hardware). fps= Override autodetected display refresh rate value (the value is needed for framedrop to allow video playback rates higher than display refresh rate, and for vsync-aware frame timing adjustments). Default 0 means use autodetected value. A positive value is interpreted as a refresh rate in Hz and overrides the autodetected value. A negative value disables all timing adjustment and framedrop logic. composite-detect NVIDIA's current VDPAU implementation behaves somewhat differently under a compositing window manager and does not give accurate frame timing information. With this option enabled, the player tries to detect whether a compositing window manager is active. If one is detected, the player disables timing adjustments as if the user had specified fps=-1 (as they would be based on incorrect input). This means timing is somewhat less accurate than without compositing, but with the composited mode behavior of the NVIDIA driver there is no hard playback speed limit even without the disabled logic. Enabled by default, use no-composite-detect to disable. queuetime_windowed= and queuetime_fs= Use VDPAU's presentation queue functionality to queue future video frame changes at most this many milliseconds in advance (default: 50). See below for additional information. output_surfaces=<2-15> Allocate this many output surfaces to display video frames (default: 3). See below for additional information. Using the VDPAU frame queueing functionality controlled by the queuetime options makes MPlayer's frame flip timing less sensitive to system CPU load and allows MPlayer to start decoding the next frame(s) slightly earlier which can reduce jitter caused by individual slow-to-decode frames. However the NVIDIA graphics drivers can make other window behavior such as window moves choppy if VDPAU is using the blit queue (mainly happens if you have the composite extension enabled) and this feature is active. If this happens on your system and it bothers you then you can set the queuetime value to 0 to disable this feature. The settings to use in windowed and fullscreen mode are separate because there should be less reason to disable this for fullscreen mode (as the driver issue shouldn't affect the video itself). You can queue more frames ahead by increasing the queuetime values and the output_surfaces count (to ensure enough surfaces to buffer video for a certain time ahead you need at least as many surfaces as the video has frames during that time, plus two). This could help make video smoother in some cases. The main downsides are increased video RAM requirements for the surfaces and laggier display response to user commands (display changes only become visible some time after they're queued). The graphics driver implementation may also have limits on the length of maximum queuing time or number of queued surfaces that work well or at all. dga (X11 only) Play video through the XFree86 Direct Graphics Access extension. Considered obsolete. sdl (SDL only, buggy/outdated) Highly platform independent SDL (Simple Directmedia Layer) library video output driver. Since SDL uses its own X11 layer, MPlayer X11 options do not have any effect on SDL. Note that it has several minor bugs (``--vm``/``--no-vm`` is mostly ignored, ``--fs`` behaves like ``--no-vm`` should, window is in top-left corner when returning from fullscreen, panscan is not supported, ...). driver= Explicitly choose the SDL driver to use. (no-)forcexv Use XVideo through the sdl video output driver (default: forcexv). (no-)hwaccel Use hardware accelerated scaler (default: hwaccel). direct3d (Windows only) (BETA CODE!) Video output driver that uses the Direct3D interface (useful for Vista). directx (Windows only) Video output driver that uses the DirectX interface. noaccel Turns off hardware acceleration. Try this option if you have display problems. corevideo (Mac OS X 10.4 or 10.3.9 with QuickTime 7) Mac OS X CoreVideo video output driver device_id= Choose the display device to use for fullscreen or set it to -1 to always use the same screen the video window is on (default: -1 - auto). shared_buffer Write output to a shared memory buffer instead of displaying it and try to open an existing NSConnection for communication with a GUI. buffer_name= Name of the shared buffer created with shm_open as well as the name of the NSConnection MPlayer will try to open (default: "mplayerosx"). Setting buffer_name implicitly enables shared_buffer. fbdev (Linux only) Uses the kernel framebuffer to play video. Explicitly choose the fbdev device name to use (e.g. ``/dev/fb0``). fbdev2 (Linux only) Uses the kernel framebuffer to play video, alternative implementation. Explicitly choose the fbdev device name to use (default: ``/dev/fb0``). vesa Very general video output driver that should work on any VESA VBE 2.0 compatible card. (no-)dga Turns DGA mode on or off (default: on). neotv_pal Activate the NeoMagic TV out and set it to PAL norm. neotv_ntsc Activate the NeoMagic TV out and set it to NTSC norm. lvo Activate the Linux Video Overlay on top of VESA mode. svga Play video using the SVGA library.