LinuxSir.cn,穿越时空的Linuxsir!

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

我的mplayer怎么这么占cpu呢?

[复制链接]
发表于 2005-6-20 00:12:58 | 显示全部楼层 |阅读模式
我是用gmplayer mms://*********来看一个校园转播的。感觉机器不对,用top一看,发现root的X进程用了75%左右,gmplayer用了10%多。一关掉这两个都没了。怎么回事?难道mplayer就是这样的吗?还有下面是一些提示:

          ************************************************
           **** Your system is too SLOW to play this!  ****
           ************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
  - Try -ao sdl or use the OSS emulation of ALSA.
  - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
  - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
  - Don't try to play a big DVD/DivX on a slow CPU! Try -hardframedrop.
- Broken file
  - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
  - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
  - Try -nocache.

我的机器是Athlon64 3000+ 和512M内存,应该不弱吧?我不怎么会用命令行操作mplayer,请各位指点。
 楼主| 发表于 2005-6-20 00:46:49 | 显示全部楼层
我加了一个-vo xv(不知道从哪里查的),cpu占用率一下子降低到了8%,那个X进程的高占用率也没了,真爽。
这是不是就是利用了显卡的硬件加速?
回复 支持 反对

使用道具 举报

发表于 2005-6-20 03:59:38 | 显示全部楼层
mplayer -vo help.....nvidia的推荐用xvidix
命令行比gmplayer 好用多了
配置/etc/mplayer/mplayer.conf把默认配置都写上
mplayer /path/filename就可以了
回复 支持 反对

使用道具 举报

发表于 2005-6-20 13:46:33 | 显示全部楼层
我用这个
mplayer -ao sdl
回复 支持 反对

使用道具 举报

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

本版积分规则

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