LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 951|回复: 4

终于装上了mplayer,,但是还有一个问题

[复制链接]
发表于 2007-11-10 20:48:42 | 显示全部楼层 |阅读模式
如题,我每次启动mplayer都提示"cannot prepare subtitle font."错误框,这是怎么回事。还有,我放电影的时候好卡呀,这是怎么了?
发表于 2007-11-10 21:06:12 | 显示全部楼层
找一个字体,拷贝或链接到.mplayer/subfont.ttf,试试
debian上装mplayer很方便,不管是apt还是编译安装
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-11-10 21:17:42 | 显示全部楼层
我按你的做了,还是不行。
  1. csdhn@Jack:~/.mplayer$ ls
  2. config  config~  gui.conf  gui.history  gui.pl  gui.url  [b]subfont.ttf[/b]
  3. csdhn@Jack:~/.mplayer$ gmplayer
  4. MPlayer 1.0rc1-4.1.2-DFSG-free (C) 2000-2006 MPlayer Team
  5. CPU: Intel(R) Pentium(R) III Mobile CPU      1200MHz (Family: 6, Model: 11, Stepping: 1)
  6. CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
  7. Compiled with runtime CPU detection.
  8. mplayer: could not connect to socket
  9. mplayer: No such file or directory
  10. Failed to open LIRC support. You will not be able to use your remote control.
  11. Selected font is not scalable. Using ppem=18.
  12. Selected font is fixed-width.
  13. Wrong bounding box, width <= 0 !
  14. Cannot prepare subtitle font.
复制代码
回复 支持 反对

使用道具 举报

发表于 2007-11-12 00:18:40 | 显示全部楼层
在/etc/mplayer/mplayer.conf加上这几行:

fontconfig = yes
font = "Sans"
subfont-text-scale = 3
subcp=cp936

或者修改font为指定的字体也行。

片子卡就加上 -framedrop 或者 -hardframedrop 。
回复 支持 反对

使用道具 举报

发表于 2007-11-12 08:27:30 | 显示全部楼层
试试把
~/.mplayer目录删除

至于播放卡的问题,也许换一个vo(视频输出驱动)就能够解决问题
回复 支持 反对

使用道具 举报

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

本版积分规则

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