QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1631|回复: 7

mplayer 放wmv 一顿一顿的

[复制链接]
发表于 2006-5-18 18:16:05 | 显示全部楼层 |阅读模式
mplayer放wmv文件一顿一顿的,而用totem确很流畅。

请问是什么问题?
发表于 2006-5-18 18:20:03 | 显示全部楼层
看看 mplayer 的选项,可能选择的输出方式性能不够
回复

使用道具 举报

 楼主| 发表于 2006-5-18 21:38:28 | 显示全部楼层
[quote:3fc55f9232="jiangtao9999"]看看 mplayer 的选项,可能选择的输出方式性能不够[/quote]

我试了试-framedrop选项。没有改进
楼上的能不能具体点指点一下

这个是我播放的信息
Cache fill:  0.00% (0 bytes)    ASF file format detected.
VIDEO:  [WMV3]  320x240  24bpp  1000.000 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
name:
author:
copyright:
comments:
==========================================================================
Trying to force audio codec driver family libmad...
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 1 ch, s16le, 32.0 kbit/4.54% (ratio: 4003->88200)
Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
GetOutput r=0x0   size:230400  align:1
StreamCount r=0x0  1  1
Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 RGB565 RGB24 RGB32
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 320 x 240 (preferred csp: Packed YUY2)
VDec: using BGRA as output csp (no 3)
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 320x240 => 320x240 BGRA  [zoom]
SwScaler: using unscaled BGRA -> BGRA special converter
Selected video codec: [wmv9dmo] vfm:dmo (Windows Media Video 9 DMO)
==========================================================================
Building audio filter chain for 44100Hz/1ch/s16le -> 0Hz/0ch/??...
alsa-init: 1 soundcard found, using: default
alsa: 44100 Hz/1 channels/2 bpf/30104 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 44100Hz 1ch s16le (2 bps)
Building audio filter chain for 44100Hz/1ch/s16le -> 44100Hz/1ch/s16le...
Starting playback...
alsa-space: xrun of at least 0.070 msecs. resetting stream?,?% 0 0 97%
alsa-space: xrun of at least 0.074 msecs. resetting stream0.2% 12 0 97%
alsa-space: xrun of at least 0.075 msecs. resetting stream0.4% 12 0 96%
alsa-space: xrun of at least 0.078 msecs. resetting stream0.3% 13 0 96%
alsa-space: xrun of at least 0.071 msecs. resetting stream0.4% 13 0 95%
alsa-space: xrun of at least 0.072 msecs. resetting stream0.4% 20 0 94%
alsa-space: xrun of at least 0.071 msecs. resetting stream0.4% 26 0 94%
alsa-space: xrun of at least 0.075 msecs. resetting stream0.4% 26 0 92%
alsa-space: xrun of at least 0.071 msecs. resetting stream0.4% 34 0 92%
alsa-space: xrun of at least 0.072 msecs. resetting stream0.4% 40 0 91%
alsa-space: xrun of at least 0.074 msecs. resetting stream0.4% 48 0 91%
alsa-space: xrun of at least 0.071 msecs. resetting stream0.4% 52 0 91%
alsa-space: xrun of at least 0.076 msecs. resetting stream0.4% 57 0 90%
alsa-space: xrun of at least 0.075 msecs. resetting stream0.4% 57 0 89%
alsa-space: xrun of at least 0.073 msecs. resetting stream0.4% 57 0 89%
alsa-space: xrun of at least 0.074 msecs. resetting stream0.4% 58 0 89%
alsa-space: xrun of at least 0.074 msecs. resetting stream0.4% 60 0 88%
alsa-space: xrun of at least 0.074 msecs. resetting stream0.4% 62 0 88%
alsa-space: xrun of at least 0.071 msecs. resetting stream0.4% 64 0 87%
alsa-space: xrun of at least 0.073 msecs. resetting stream0.4% 66 0 86%
alsa-space: xrun of at least 0.075 msecs. resetting stream0.4% 68 0 85%
alsa-space: xrun of at least 0.074 msecs. resetting stream0.4% 70 0 84%
alsa-space: xrun of at least 0.075 msecs. resetting stream0.4% 72 0 83%
alsa-space: xrun of at least 0.074 msecs. resetting stream0.4% 74 0 83%
alsa-space: xrun of at least 0.074 msecs. resetting stream0.4% 76 0 83%
alsa-space: xrun of at least 0.093 msecs. resetting stream0.3% 78 0 83%
alsa-space: xrun of at least 0.081 msecs. resetting stream0.4% 78 0 82%
alsa-space: xrun of at least 0.074 msecs. resetting stream0.3% 79 0 82%
alsa-space: xrun of at least 0.073 msecs. resetting stream0.3% 81 0 82%
alsa-space: xrun of at least 0.075 msecs. resetting stream0.3% 83 0 81%
alsa-space: xrun of at least 0.072 msecs. resetting stream0.3% 85 0 81%
alsa-space: xrun of at least 0.076 msecs. resetting stream0.3% 91 0 80%
alsa-space: xrun of at least 0.075 msecs. resetting stream0.3% 98 0 80%
alsa-space: xrun of at least 0.078 msecs. resetting stream0.3% 109 0 79%
alsa-space: xrun of at least 0.075 msecs. resetting stream0.3% 117 0 78%
alsa-space: xrun of at least 0.075 msecs. resetting stream0.3% 123 0 78%
alsa-space: xrun of at least 0.080 msecs. resetting stream0.3% 127 0 77%
alsa-space: xrun of at least 0.074 msecs. resetting stream0.3% 128 0 77%
回复

使用道具 举报

发表于 2006-5-18 22:02:45 | 显示全部楼层
你用的是win32codec的解码还是libavcodec里面的解码?
回复

使用道具 举报

发表于 2006-5-19 10:11:48 | 显示全部楼层
mplayer -ao oss 试试
回复

使用道具 举报

 楼主| 发表于 2006-5-19 16:41:15 | 显示全部楼层
[quote:6859a6927b="Freezesnake"]你用的是win32codec的解码还是libavcodec里面的解码?[/quote]

我用的好像是win32的解码器
回复

使用道具 举报

 楼主| 发表于 2006-5-19 16:42:44 | 显示全部楼层
[quote:6ba3b029e8="hooey"]mplayer -ao oss 试试[/quote]


谢谢,用这个播放就不卡了

请问这个是什么原因?

麻烦解答一下,我也学习学习:)
回复

使用道具 举报

发表于 2006-5-19 18:42:19 | 显示全部楼层
-ao 是选择声音输出方式,一般有 oss 、 alsa 、arts 、esound

如果不明白,找些基础知识文看看。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-12-4 18:02 , Processed in 0.069643 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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