Linux, programming, computers and life

March 21, 2007

mplayer configuration - some resources and my config file

Filed under: linux

It looks, that a lot of people wonder how to configure mplayer. I see a lot of enters to my short post (from google) about some mplayer configuration options. Here are some more resources to look at:

  • a post on ubuntuforums.org which has a lot of explanations
  • there’s example configuration file, usually at /etc/mplayer/example.conf
  • mplayer official docs in english (other languages)
  • my ~/.mplayer/config - nothing ingenious in there
    #======
    # Video
    #======

    # Set video driver.
    # vo=xv

    # Use double-buffering. (Recommended for xv with SUB/OSD usage)
    double=yes

    #======
    # Audio
    #======

    # Set audio driver.
    ao=alsa
    #==========
    # Subtitles
    #==========

    # VobSubs
    #========

    # Align subs. (-1: as they want to align themselves)
    spualign=-1

    # Anti-alias subs. (4: best and slowest)
    spuaa=4

    # Set language.
    slang=en,eng,heb,he,rus,ru

    # Text-based subtitles
    #=====================

    # Find subtitle files. (1: load all subs containing movie name)
    sub-fuzziness=1

    # Resample the font alphamap. (1: narrow black outline)
    ffactor=1

    # Set subtitle position. (100: as low as possible)
    subpos=100

    # Set subtitle alignment at its position. (2: bottom)
    subalign=2

    # Set font size. (2: proportional to movie width)
    subfont-autoscale=2

    # Set font blur radius. (default: 2)
    subfont-blur=2.0

    # Set font outline thickness. (default: 2)
    subfont-outline=2.0

    # Set autoscale coefficient. (default: 5)
    subfont-text-scale=4.4

    # OSD
    #====

    # Set autoscale coefficient. (default: 6)
    subfont-osd-scale=4.4

    #===========
    # Appearance
    #===========

    # Disable screensaver.
    stop-xscreensaver=yes


Enjoy :)

Technorati Tags: , , , ,

Get free blog up and running in minutes with Blogsome
Theme designed by Gary Rogers