LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: topgunal

mplayer怎么也装不上

[复制链接]
发表于 2005-12-7 17:54:09 | 显示全部楼层
兄弟我按说的作了,怎么出现在上面的问题,不解.!!!
发帖时间: 05-12-03, 23:59



我的系统是3.1
在干净的系统上编译MPLAYER需要如下LIB
apt-get -y install libpng-dev xlibs-dev libgtk1.2-dev

附带问个问题
我加了--enable-freetype编译的话
无法通过,何解?
最后都是去掉这个选项的
这样在播放某些字幕的时候不能调整字体

楼主的系统好干净呀
什么都没有

要的是xlibs-dev而不是xlibs
回复 支持 反对

使用道具 举报

发表于 2005-12-7 17:59:41 | 显示全部楼层
libasound2-dev
libfontconfig1-dev
libfreetype6-dev
再装这些开发包,那么编译出来的mplayer就基本完善了
回复 支持 反对

使用道具 举报

发表于 2005-12-7 19:43:20 | 显示全部楼层
Post by vbghost
兄弟我按说的作了,怎么出现在上面的问题,不解.!!!


你说的上面的问题是指下面的问题吗?
-----
下了源文件编译,老是到check X11处出错:
Checking for X11 headers presence ... not found (check if the dev(el) packages are installed)
Checking for X11 libs presence ... not found (check if the dev(el) packages are installed)
我怎么会没有xlibs呢?明明装了到阿
----
出现这个提示是因为没有安装xlibs-dev包,而不是xlibs包

我按照我楼上给的提示,安装好libfreetype6-dev后,基本完美了
全能通过
回复 支持 反对

使用道具 举报

发表于 2005-12-7 19:45:43 | 显示全部楼层
CVS的mplayer已经使用gtk-2.0了

  1. $ dpkg -s mplayer
  2. Package: mplayer
  3. Status: install ok installed
  4. Priority: optional
  5. Section: misc
  6. Installed-Size: 16754
  7. Maintainer: Dariush Pietrzak <eyck@ghost.anime.pl>
  8. Architecture: i386
  9. Version: 1.0cvs
  10. Depends: libaa1 (>= 1.2), libartsc0 (>= 1.4.3-1), libasound2 (>> 1.0.10), libatk1.0-0 (>= 1.9.0), libaudio2, libaudiofile0 (>= 0.2.3-4), libc6 (>= 2.3.5-1), libdivxdecore0 (>= 1:5.0.1), libdivxencore0 (>= 1:5.0.1), libesd0 (>= 0.2.35) | libesd-alsa0 (>= 0.2.35), libfontconfig1 (>= 2.3.0), libfreetype6 (>= 2.1.5-1), libgcc1 (>= 1:4.0.2), libglib2.0-0 (>= 2.8.0), libgtk2.0-0 (>= 2.6.0), libjack0.80.0-0 (>= 0.99.0), libjpeg62, liblame0 (>= 3.90-1), libmad0 (>= 0.15.1b), libncurses5 (>= 5.4-5), libpango1.0-0 (>= 1.8.2), libpng12-0 (>= 1.2.8rel), libsdl1.2debian (>> 1.2.7+1.2.8), libstdc++6 (>= 4.0.2-4), libsvga1, libungif4g (>= 4.1.3), libx11-6, libxext6, libxinerama1, libxt6, libxv1, libxxf86dga1, libxxf86vm1, zlib1g (>= 1:1.2.1), debconf, libconfhelper-perl
  11. Description: The Ultimate Movie Player
  12. MPlayer is a movie player for LINUX (runs on many other Unices, and non-x86 CPUs, see the ports section). It plays most MPEG, VOB, AVI, OGG/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, FLI, RM, NuppelVideo, yuv4mpeg, FILM, RoQ, PVA files,
  13. supported by many native, XAnim, RealPlayer, and Win32 DLL codecs. You can watch VideoCD, SVCD, DVD, 3ivx, RealMedia, and DivX movies too (and you don't need the avifile library at all!).
  14. .
  15. Another big feature of MPlayer is the wide range of supported output drivers.
  16. It works with X11, Xv, DGA, OpenGL, SVGAlib, fbdev, AAlib, DirectFB, but you can also use GGI and SDL (and this way all their drivers) and some lowlevel card-specific drivers (for Matrox, 3Dfx and Radeon, Mach64, Permedia3) too!
  17. Most of them supports software or hardware scaling, so you can enjoy movies in fullscreen.
  18. .
  19. MPlayer supports displaying through some hardware MPEG decoder boards, such as the DVB and DXR3/Hollywood+.
  20. .
  21. And what about the nice big antialiased shaded subtitles (10 supported types) with European/ISO 8859-1,2 (Hungarian, English, Czech, etc), Cyrillic, Korean fonts, and the onscreen display (OSD)?

复制代码

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2005-12-7 19:52:47 | 显示全部楼层
我是按照如下的方法安装的
很顺利
这个文档只是自己方便用的
所以CP的地方就没有标明出处了
见谅

=====


Install MPlayer 1.07 for debian 3.1
-----------------------------------
Mail2:info at workman.cn

      下载软件包
    http://www.mplayerhq.hu/homepage/design7/dload.html
      http://mplayer.ethz.ch/MPlayer/
      MPlayer-1.0pre7
      codes:all-20050412.tar.bz2
      windows-all-20050412.zip
      fonts:gb2312-ming.tar.bz2
      skin :standard-1.9.tar.bz2

      安装code
      tar vjxf all-20050412.tar.bz2
      mv all-20050412 /usr/lib/codes
      chmod 644 /usr/lib/codes/*
      chown root.root /usr/lib/codes/*

      unzip windows-all-20050412.zip
      mv windows-all-20050412 /usr/lib/win32
      chmod 644 /usr/lib/wincodes/*
      chown root.root /usr/lib/wincodes/*

      安装相关包
    apt-get install libpng-dev xlibs-dev libgtk1.2-dev libfreetype6-dev libasound2-dev libfontconfig1-dev

      安装MPlayer
      tar vjxf MPlayer-1.0pre7.tar.bz2
      cd MPlayer-1.0pre7
      ./configure --prefix=/usr/local/mplayer/ --enable-gui --with-codecsdir=/usr/lib/codes/ --with-win32libdir=/usr/lib/win32 --disable-gcc-checking --language=zh_CN --enable-freetype
      make
      make install

      设置(不知是否有必要)
    cd etc
      cp example.conf /usr/local/mplayer/etc/config
      cp codecs.conf /usr/local/mplayer/etc/

      安装字体
    tar vjxf gb2312-ming.tar.bz2
      mv gb2312-ming /usr/local/mplayer/share/mplayer/font/
      cd /usr/local/mplayer/share/mplayer/font/
      ln -s gb2312-ming font

      安装skin
      tar jxvf standard-1.9.tar.bz2
      mv standard /usr/local/mplayer/share/mplayer/Skin/default

      ln -s /usr/local/mplayer/bin/gmplayer /usr/bin/

      启动:gmplayer

      --==FAQ==--
    如加载中文字幕为乱码时:
    在属性设置--字幕和OSD选项里,选择Unicode 编码:None
      如果提示找不到中文字体的话,
    在字体选项卡里设置好/usr/local/mplayer/share/mplayer/font/路径
    选中16号字体便可

    如播放DVD或VCD时提示找不到/dev/dvd
      ln -s /dev/hdd /dev/dvd   (或ln -s /dev/hdc /dev/dvd)
      chmod 666 /dev/dvd
      
      rm文件不能拖动的问题
    启动的时候用如下命令
    gmplayer -idx
      便可用方向键拖动RM格式的电影了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表