LinuxSir.cn,穿越时空的Linuxsir!

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

mplayer播放视频报"Your system is too SLOW to play this!"

[复制链接]
发表于 2006-12-1 00:10:31 | 显示全部楼层 |阅读模式
我的电脑的配置:
CPU: P4 1.8G
video card: nVidia Corporation NV17 [GeForce4 MX 440] 64MB
memory:512MB
os: debian unstable
mplayer version: 1.0rc (从源代码编译的)

当其他后台程序占用CPU大约40%时并且内存还剩300MB,用mplayer播放任何视频都会报"Your system is too SLOW to play this!",然后视频输出就会比音频慢一些,导致视频和音频不同步;

mplayer有什么优化可以解决这个问题阿?现在在Linux上看视频好不爽~~~

  1. debian:~# mplayer -v /root/Desktop/RozenMaiden04.rmvb
  2. MPlayer 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
  3. CPU: Intel(R) Pentium(R) 4 CPU 1.80GHz (Family: 15, Model: 1, Stepping:
  4. 3)
  5. CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
  6. Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
  7. get_path('codecs.conf') -> '/root/.mplayer/codecs.conf'
  8. Reading /root/.mplayer/codecs.conf: Can't open
  9. '/root/.mplayer/codecs.conf': No such file or directory
  10. Reading /var/mplayer1.0rc/etc/mplayer/codecs.conf: Can't open
  11. '/var/mplayer1.0rc/etc/mplayer/codecs.conf': No such file or directory
  12. Using built-in default codecs.conf.
  13. CommandLine: '-v' '/root/Desktop/RozenMaiden04.rmvb'
  14. init_freetype
  15. get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
  16. font: can't open file: /root/.mplayer/font/font.desc
  17. font: can't open file: /var/mplayer1.0rc/share/mplayer/font/font.desc
  18. Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
  19. Using nanosleep() timing
  20. get_path('input.conf') -> '/root/.mplayer/input.conf'
  21. Can't open input config file /root/.mplayer/input.conf: No such file or
  22. directory
  23. Can't open input config file /var/mplayer1.0rc/etc/mplayer/input.conf:
  24. No such file or directory
  25. Falling back on default (hardcoded) input config
  26. get_path('RozenMaiden04.rmvb.conf') ->
  27. '/root/.mplayer/RozenMaiden04.rmvb.conf'

  28. Playing /root/Desktop/RozenMaiden04.rmvb.
  29. get_path('sub/') -> '/root/.mplayer/sub/'
  30. [file] File size is 109150391 bytes
  31. STREAM: [file] /root/Desktop/RozenMaiden04.rmvb
  32. STREAM: Description: File
  33. STREAM: Author: Albeu
  34. STREAM: Comment: based on the code from ??? (probably Arpi)
  35. Checking for YUV4MPEG2
  36. ASF_check: not ASF guid!
  37. Checking for NuppelVideo
  38. Checking for REAL
  39. REAL file format detected.
  40. real: Header size: 18
  41. real: Header object version: 1
  42. real: File version: 0
  43. Chunk: PROP (504f5250) (size: 0x32, offset: 0x12)
  44. First index chunk offset: 0x67fa2d7
  45. First data chunk offset: 0x3f7
  46. Flags (9): [save allowed]
  47. Chunk: CONT (544e4f43) (size: 0x41, offset: 0x44)
  48. Chunk: MDPR (5250444d) (size: 0xa2, offset: 0x85)
  49. Found new stream (id: 0)
  50. Stream description: Audio Stream
  51. Stream mimetype: audio/x-pn-realaudio
  52. ==> Found audio stream: 0
  53. Found audio stream!
  54. version: 5
  55. header size: 68
  56. coded_frame_size: 371
  57. sub_packet_h: 1
  58. frame_size: 371
  59. sub_packet_size: 371
  60. samplerate: 44100, channels: 2
  61. audio fourcc: MP4A (4134504d)
  62. ======= WAVE Format =======
  63. Format Tag: 20557 (0x504D)
  64. Channels: 2
  65. Samplerate: 44100
  66. avg byte/sec: 8000
  67. Block align: 371
  68. bits/sample: 16
  69. cbSize: 0
  70. ==========================================================================
  71. ### skipping 0 bytes of codec info
  72. Chunk: MDPR (5250444d) (size: 0x70, offset: 0x127)
  73. Found new stream (id: 1)
  74. Stream description: Video Stream
  75. Stream mimetype: video/x-pn-realvideo
  76. ==> Found video stream: 1
  77. video fourcc: RV40 (30345652)
  78. H.263 ID: 40008000
  79. unknown id: 40008000
  80. ### skipping 0 bytes of codec info
  81. Chunk: MDPR (5250444d) (size: 0x256, offset: 0x197)
  82. Found new stream (id: 2)
  83. Stream mimetype: logical-fileinfo
  84. Got a logical-fileinfo chunk
  85. ### skipping 536 bytes of codec info
  86. Chunk: DATA (41544144) (size: 0x67f9eea, offset: 0x3ed)
  87. Packets in file: 65190
  88. Reading index table from index chunk (109028055)
  89. size: 117816 bytes
  90. entries: 8414
  91. stream_id: 0
  92. next_header_pos: 109145871
  93. Reading index table from index chunk (109145871)
  94. size: 4500 bytes
  95. entries: 320
  96. stream_id: 1
  97. next_header_pos: 109150371
  98. Reading index table from index chunk (109150371)
  99. size: 20 bytes
  100. entries: 0
  101. stream_id: 2
  102. next_header_pos: 0
  103. Auto-selected RM audio ID = 0
  104. Auto-selected RM video ID = 1
  105. VIDEO:  RV40 [40008000,01081020]  640x480  (aspect 0.00)  23.00 fps
  106. AUDIO:  MP4A [4134504D]
  107. VIDEO:  [RV40]  640x480  24bpp  23.000 fps    0.0 kbps ( 0.0 kbyte/s)
  108. [V] filefmt:11  fourcc:0x30345652  size:640x480  fps:23.00
  109. ftime:=0.0435
  110. Clip info:
  111. name: [X2][rozen-maiden_traumend][04][RV10]
  112. author: [X2]Wesley
  113. get_path('sub/') -> '/root/.mplayer/sub/'
  114. X11 opening display: :0.0
  115. vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
  116. vo: X11 running at 1152x864 with depth 24 and 32 bpp (":0.0" => local
  117. display)
  118. [x11] Detected wm supports NetWM.
  119. [x11] Detected wm supports FULLSCREEN state.
  120. [x11] Detected wm supports ABOVE state.
  121. [x11] Detected wm supports BELOW state.
  122. [x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
  123. Disabling DPMS
  124. DPMSDisable stat: 1
  125. ==========================================================================
  126. Opening video decoder: [realvid] RealVideo decoder
  127. realvideo codec id: 0x40008000  sub-id: 0x01081020
  128. opening shared obj '/usr/lib/win32/drvc.so'
  129. INFO: RealVideo codec init OK!
  130. Selected video codec: [rv3040] vfm: realvid (Linux RealPlayer 10 RV30/40
  131. decoder)
  132. ==========================================================================
  133. ==========================================================================
  134. Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
  135. dec_audio: Allocating 4608 bytes for input buffer.
  136. dec_audio: Allocating 49152 + 65536 = 114688 bytes for output buffer.
  137. FAAD: Decoder init done (0Bytes)!
  138. FAAD: Negotiated samplerate: 44100Hz  channels: 2
  139. FAAD: compressed input bitrate missing, assuming 128kbit/s!
  140. AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
  141. Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio)
  142. decoder)
  143. ==========================================================================
  144. Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
  145. [libaf] Adding filter dummy
  146. [dummy] Was reinitialized: 44100Hz/2ch/s16le
  147. [dummy] Was reinitialized: 44100Hz/2ch/s16le
  148. ao2: 44100 Hz  2 chans  s16le
  149. audio_setup: using '/dev/dsp' dsp device
  150. audio_setup: using '/dev/mixer' mixer device
  151. audio_setup: using 'pcm' mixer device
  152. audio_setup: sample format: s16le (requested: s16le)
  153. audio_setup: using 2 channels (requested: 2)
  154. audio_setup: using 44100 Hz samplerate (requested: 44100)
  155. audio_setup: frags:  32/32  (4096 bytes/frag)  free: 131072
  156. AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
  157. AO: Description: OSS/ioctl audio output
  158. AO: Author: A'rpi
  159. Building audio filter chain for 44100Hz/2ch/s16le ->
  160. 44100Hz/2ch/s16le...
  161. [dummy] Was reinitialized: 44100Hz/2ch/s16le
  162. [dummy] Was reinitialized: 44100Hz/2ch/s16le
  163. Starting playback...
  164. VDec: vo config request - 640 x 480 (preferred colorspace: Planar I420)
  165. Trying filter chain: vo
  166. VDec: using Planar I420 as output csp (no 0)
  167. Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
  168. VO Config (640x480->640x480,flags=4,'MPlayer',0x30323449)
  169. VO: [x11] 640x480 => 640x480 Planar I420  [zoom]
  170. VO: Description: X11 ( XImage/Shm )
  171. VO: Author: Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
  172. Sharing memory.
  173. SwScaler: using unscaled yuv420p -> rgb32 special converter
  174. *** [vo] Allocating mp_image_t, 640x480x12bpp YUV planar, 460800 bytes
  175. get_path('subfont.ttf') -> '/root/.mplayer/subfont.ttf'
  176. New_Face failed. Maybe the font path is wrong.
  177. Please supply the text font file (~/.mplayer/subfont.ttf).
  178. subtitle font: load_sub_face failed.
  179. A:   3.6 V:   2.6 A-V:  0.931 ct: -0.235  55/ 55 51% 97%  7.7% 50 0

  180.            ************************************************
  181.            **** Your system is too SLOW to play this!  ****
  182.            ************************************************

  183. Possible reasons, problems, workarounds:
  184. - Most common: broken/buggy _audio_ driver
  185.   - Try -ao sdl or use the OSS emulation of ALSA.
  186.   - Experiment with different values for -autosync, 30 is a good start.
  187. - Slow video output
  188.   - Try a different -vo driver (-vo help for a list) or try -framedrop!
  189. - Slow CPU
  190.   - Don't try to play a big DVD/DivX on a slow CPU! Try some of the
  191. lavdopts,
  192.     e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
  193. - Broken file
  194.   - Try various combinations of -nobps -ni -forceidx -mc 0.
  195. - Slow media (NFS/SMB mounts, DVD, VCD etc)
  196.   - Try -cache 8192.
  197. - Are you using -cache to play a non-interleaved AVI file?
  198.   - Try -nocache.
  199. Read DOCS/HTML/en/video.html for tuning/speedup tips.
  200. If none of this helps you, read DOCS/HTML/en/bugreports.html.

  201. A:   7.0 V:   5.6 A-V:  1.380 ct: -0.363 125/125 63% 62%  6.2% 118 0

  202. MPlayer interrupted by signal 2 in module: decode_video
  203. Uninit audio filters...
  204. [libaf] Removing filter dummy
  205. Uninit audio: faad
  206. FAAD: Closing decoder!
  207. Uninit video: realvid
  208. Successfully enabled DPMS
  209. vo: uninit ...
  210. debian:~#

复制代码
发表于 2006-12-1 08:55:02 | 显示全部楼层
显卡驱动没有装好吧,要不这种配置放准高清的rmvb都没有问题
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-1 09:46:38 | 显示全部楼层
video card: nVidia Corporation NV17 [GeForce4 MX 440] 64MB
os: debian unstable

如何知道自己有必要升级显卡驱动?
还有当我点击窗口最小化的时候,窗口消失得非常不流畅,总在屏幕上留下一些“黑框框”,
难道这也是显卡驱动没有装好的原因?
回复 支持 反对

使用道具 举报

发表于 2006-12-1 10:09:49 | 显示全部楼层
nv的显卡驱动太好装了,到nv下载就可以了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-1 10:21:21 | 显示全部楼层
Post by 超级用户
nv的显卡驱动太好装了,到nv下载就可以了

我怎么在网上搜到的都是用"apt-get install nvidia-glx nvidia-kernel-`uname -r`"安装nv显卡驱动?
哪种方法好呢?
回复 支持 反对

使用道具 举报

发表于 2006-12-1 10:53:15 | 显示全部楼层
1) 先试试xv驱动, mplayer -vo xv   ****.rmvb
2) 如果告诉你xv驱动不可用,那说明你没有装libxv的开发库
    a. apt-get install libxv-dev
    b. 重新编译mplayer,  在configure的时候带上 --enable-xv 选项。
回复 支持 反对

使用道具 举报

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

本版积分规则

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