LinuxSir.cn,穿越时空的Linuxsir!

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

Mplayer播放高分辨率avi文件问题

[复制链接]
发表于 2006-4-20 15:45:11 | 显示全部楼层 |阅读模式
播放一个400M+长度为20+分钟的avi文件,mplayer启动后瞬间退出,看起来似乎和该影片分辨率有关,是1280x720的,会不会是mplayer不支持这样的分辨率的影片呢。
这个问题该怎么解决呢。。

[maplerian@belldandy ~]$ mplayer \[maplesnow\&ppx\]\[BLACK\ LAGOON\]\[02\]\[jap_chn\]\[XviD\]\(50845E7F\).avi
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale

MPlayer dev-CVS--4.1.0 (C) 2000-2006 MPlayer Team
CPU: Intel Pentium M Dothan (Family: 6, Stepping: 8)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1

Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing [maplesnow&ppx][BLACK LAGOON][02][jap_chn][XviD](50845E7F).avi.
AVI file format detected.
VIDEO:  [XVID]  1280x720  24bpp  120.000 fps  2167.1 kbps (264.5 kbyte/s)
Clip info:
Software: VirtualDubMod 1.5.10.1 (build 2366/release)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 224.0 kbit/14.58% (ratio: 28000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 1280 x 720 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1280x720 => 1280x720 Planar YV12
aspect: Warning: no suitable new res found!
[mpeg4 @ 0x86d73ac]frame skip 8t:  0.002   4/  4 ??% ??% ??,?% 3 0
[mpeg4 @ 0x86d73ac]frame skip 8t:  0.006   8/  8 ??% ??% ??,?% 7 0
X11 error: BadAlloc (insufficient resources for operation)?,?% 12 0


MPlayer interrupted by signal 6 in module: vo_check_events
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.
发表于 2006-4-20 16:52:41 | 显示全部楼层
Post by cc0219

X11 error: BadAlloc (insufficient resources for operation)?,?% 12 0

显卡显存不够?换成mplayer -vo x11看看。

刚才把片子搞下来看了一下,在我机器上是没有问题的,可惜我的屏幕分辨率只有1024x768,片头感觉不错,hehe
回复 支持 反对

使用道具 举报

发表于 2006-4-20 17:18:50 | 显示全部楼层
楼主应该把硬件信息贴出来,否则就一个log,不大容易看出更多的问题
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-20 18:28:13 | 显示全部楼层
OK,机子是HP的笔记本,nx6120,915GM集成显卡,动态显存,液晶屏最高分辨率就支持1024x768
回复 支持 反对

使用道具 举报

发表于 2006-4-21 10:18:30 | 显示全部楼层
915应该能够支持到这么高的分辨率的overlay,xv怎么会不能用?
安装了显卡驱动没有?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-21 19:37:31 | 显示全部楼层
xv可以用啊,平时放的时候就是用xv的,就是这个文件不行
我试了用x11,能够播放了了,但是即使全屏了也只显示一部分影像,因为片子本身的分辨率就有
1280x720的,我液晶屏幕最高就支持1024x768
回复 支持 反对

使用道具 举报

发表于 2006-4-21 22:43:42 | 显示全部楼层
可能是显卡的overlay支持不了这么高的分辨率输出。
x11的话,在config文件里加上zoom=yes就可以放缩到全屏幕。
或者可以用gl2的vo。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-23 09:53:20 | 显示全部楼层
恩,用x11再zoom=yes的话可以正常播放了。
呵呵,影片过分清晰也不好啊
谢谢了
回复 支持 反对

使用道具 举报

发表于 2006-4-23 12:05:29 | 显示全部楼层
x11的输出可能会导致亮度、色彩等不能实时调整。
可以加入vf=eq2=x:x来解决。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-24 13:28:27 | 显示全部楼层
呵呵,恩。谢谢了。
mplayer还是大有研究的。
回复 支持 反对

使用道具 举报

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

本版积分规则

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