LinuxSir.cn,穿越时空的Linuxsir!

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

是不是用ALSA驱动就没办法解决mplayer声音和画面不同步的问题??

[复制链接]
发表于 2004-4-7 19:46:29 | 显示全部楼层 |阅读模式
我用的是ALSA驱动。用mplayer放MP3还行。。可是一到放RM的时候。。。声音是跑的飞快。。。

我试过改输出为OSS。。可是一改。。完了。。立马没声音。。

是不是要改装OSS的驱动才行???
发表于 2004-4-7 19:54:19 | 显示全部楼层
好像不是这个问题吧?
你看一下终端输出的信息,
rm文件的视频是多少祯,
用-fps 选项指定祯数试一试。
 楼主| 发表于 2004-4-7 20:21:26 | 显示全部楼层
我用了下。。没什么效果啊!~~

mplayer -fps 60 /mnt/E/Downloads/mtv/GUNDAMSEED01-20/GUNDAMSEED01.rm
 楼主| 发表于 2004-4-7 22:07:33 | 显示全部楼层
郁闷啊。。除了上面两种方法还有别的吗??
哪位知道告诉下。。我实在是试不出来了!~~~

唉。。装了个这个还只可以听歌。。我还不如用XMMS了!!~
发表于 2004-4-7 22:56:43 | 显示全部楼层
试试这样:
$ mplayer -vc rv20win -fps 30 /mnt/E/Downloads/mtv/GUNDAMSEED01-20/GUNDAMSEED01.rm

-fps x (视频)-xrate y (音频)
x具体取多少自己尝试,一般的都是23-30左右
具体的看info
 楼主| 发表于 2004-4-7 23:00:43 | 显示全部楼层
好。我再试试!~~~
 楼主| 发表于 2004-4-7 23:25:14 | 显示全部楼层
...用了上面的命令。。放的只有声音没有图像了。。

我在弄弄看。。唉。。这个东西烦我几天了@~谢谢你!~
发表于 2004-4-7 23:32:05 | 显示全部楼层
把你的终端显示贴出来看看
 楼主| 发表于 2004-4-7 23:36:54 | 显示全部楼层
[root@localhost root]# mplayer -vc rv20win -fps 30 /mnt/E/Downloads/mtv/GUNDAMSEED01-20/GUNDAMSEED01.rm
MPlayer 0.92.1-3.2.3  (C) 2000-2003 MPlayer Team
CPU: Intel Celeron A Mendocino/Pentium II Dixon (Family: 6, Stepping: 5)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX

Reading config file /usr/local/etc/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
[cfg] read config file: /root/.mplayer/gui.conf
Reading config file /root/.mplayer/gui.conf
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0" => local display)
Reading /root/.mplayer/codecs.conf: 50 audio & 136 video codecs
font: can't open file: /root/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (7649 chars)
Using Linux hardware RTC timing (1024Hz).
Input config file /root/.mplayer/input.conf parsed: 52 binds
SKIN dir 1: '/root/.mplayer/Skin'
SKIN dir 2: '/usr/local/share/mplayer/Skin'

Playing /mnt/E/Downloads/mtv/GUNDAMSEED01-20/GUNDAMSEED01.rm
Cache fill: 11.38% (1908736 bytes)    REAL file format detected.
skip_str: 12 bytes skipped
skip_str: 20 bytes skipped
======= WAVE Format =======
Format Tag: 28515 (0x6F63)
Channels: 2
Samplerate: 44100
avg byte/sec: 64082
Block align: 930
bits/sample: 16
cbSize: 26
Unknown extra header dump: [ba] [0] [10] [0] [18] [0] [a2] [3] [10] [0] [1] [0] [0] [3] [8] [0] [0] [25] [0] [0] [0] [0] [0] [6] [0] [5]
skip_str: 12 bytes skipped
skip_str: 20 bytes skipped
skip_str: 0 bytes skipped
skip_str: 16 bytes skipped
Not audio/video stream or unsupported!
VIDEO:  RV40 [40002000,00081020]  640x480  (aspect 0.00)  30.00 fps
==========================================================================
Opening audio decoder: [realaud] RealAudio decoder
opening shared obj '/usr/local/lib/codecs/cook.so.6.0'
Audio codec: [24] 64 Kbps Stereo Music - RA8
Audio bitrate: 64.083 kbit/s (8010 bps)
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 8010->176400 (64.1 kbit)
Selected audio codec: [racook] afm:realaud (RealAudio COOK)
==========================================================================
==========================================================================
Forced video codec: rv20win
*** Try to upgrade /root/.mplayer/codecs.conf from etc/codecs.conf
*** If it still does not work, read DOCS/codecs.html!
Cannot find codec matching selected -vo and video format 0x30345652.
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
[pl_volnorm] Normalizer plugin in use.
AO: [plugin] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Video: no video
Starting playback...
A:  23.0  9.3% 91%
Exiting... (Exit)
发表于 2004-4-7 23:43:01 | 显示全部楼层
试试这样:
# mplayer -vc rv40win  /mnt/E/Downloads/mtv/GUNDAMSEED01-20/GUNDAMSEED01.rm
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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