Install mplayer in ubuntu 9.10

来源:互联网 发布:大米线上销售数据 编辑:程序博客网 时间:2024/04/30 10:15

Preparation: Update source

                     sudo apt-get update

First Step: Install mplayer and mplayer-fonts

                 sudo apt-get install mplayer mplayer-fonts

 

Second Step: Configure mplayer

                      sudo cp /etc/mplayer/mplayer.conf /etc/mplayer/mplayer.conf_backup

                      sudo gedit /etc/mplayer/mplayer.conf

                      Here's my configuration as a reference for you:

                      vo=x11

                      vm=yes

                      zoom=yes

                      ao=pulse, alsa, sdl:aalib

                      af=lavcresample=44100

                      cache=8192

                      cache-min=20.0

                      cache-seek-min=50

 

Third Step: Install w32codecs

                  wget http://www.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz2

                  tar jxvf essential-20071007.tar.bz2

                  sudo mkdir /usr/lib/codecs

                  sudo mv essential*/* /usr/lib/codecs

Problem0: Error:opening/initializing the selected video_out (-vo) device

Solution: Open mplayer, right mouse click, "preferences"->"Video"->"Available Drivers", select "x11", ok, restart mplayer

Problem1: Error:could not open required directshow codec drvc.bundle/Contents/MacOS/drvc

Solution: Download drvc.dll in www.dlldll.com and move it to /usr/lib/codecs

 

 

原创粉丝点击