红联Linux门户
Linux帮助

mplayer报错

发布时间:2009-08-27 08:40:18来源:红联作者:yudun1989
这个mplayer是yum 安装的。安装之后首先显示cannot prepare subtitle font.然后等我从新安装了GUI,又报错说new_face failed,maybe the font path is wrong.please supply the test font file. 我按照网上的方法将字体文件拷进去cp /root/simsun.ttf /root/.mplayer/
 
  改名:
 
  mv /root/.mplayer/simsun.ttf /root/.mplayer/subfont.ttf 结果还是出现同样的错误
New_Face failed. Maybe the font path is wrong.please supply teh text font ~/.mplayer/subfont.ttf. 现在只能播放音乐,电影没有图像,只有声音。
文章评论

共有 1 条评论

  1. eku123 于 2009-08-27 09:04:48发表:

    1,cannot prepare subtitle font.
    #vim /etc/mplayer/mplayer.conf,将“fontconfig=yes”改为“fontconfig=no”

    2,new-face failed. Maybe the font path is wrong.
    #cp /usr/share/fonts/zh_CN/TrueType/zysong.ttf /home/xu/.mplayer/subfont.ttf

    3,没有图像
    (1)将mplayer-preferences-video设为x11
    (2)从http://www.mplayerhq.hu/MPlayer/releases/codecs/下载下面四个文件
    all-20071007.tar.bz2
    essential-amd64-20071007.tar.bz2
    windows-all-20071007.zip
    windows-essential-20071007.zip
    将上述4个文件解压到/usr/lib/codecs/下 ,注意是将解压后的文件放在以上目录,不是文件夹