LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: 炽天使

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

[复制链接]
 楼主| 发表于 2004-4-7 23:49:03 | 显示全部楼层
[root@localhost root]# mplayer -vc rv40win /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: 19.82% (3325952 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: rv40win
Opening video decoder: [realvid] RealVideo decoder
opening shared obj '/usr/local/lib/codecs/drv43260.dll'
Error: /usr/local/lib/codecs/drv43260.dll: 无法打开共享对象文件: 没有那个文件或 目录
opening win32 dll '/usr/local/lib/codecs/drv43260.dll'
Win32 LoadLibrary failed to load: /usr/local/lib/codecs/drv43260.dll, /usr/local/lib/codecs//usr/local/lib/codecs/drv43260.dll, /usr/lib/win32//usr/local/lib/codecs/drv43260.dll, /usr/local/lib/win32//usr/local/lib/codecs/drv43260.dll
Error loading dll
ERROR: Could not open required DirectShow codec drv43260.dll.
Read the RealVideo section of the DOCS!
VDecoder init failed
*** 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:  88.3 10.4% 68%
Exiting... (Exit)

...还是没用。。是不是我机子里没有上面说的那个文件?
发表于 2004-4-7 23:56:03 | 显示全部楼层
http://ftp3.mplayerhq.hu/MPlayer/releases/codecs/
下载realplayer9win32的codec包
解压后复制到
/usr/lib/win32/
然后再放,就应该可以了。
 楼主| 发表于 2004-4-7 23:57:28 | 显示全部楼层
我用的是第一个all in one的包。。是不是装的时候路径错了?
发表于 2004-4-7 23:59:01 | 显示全部楼层
没错,
allinone没有rp9win32的codec
 楼主| 发表于 2004-4-8 00:09:03 | 显示全部楼层
哦。。 我装了。。图像是出来了。。声音还是快。。。郁闷。。是不是我机子太差了啊!~~这东西对机子要求比win高吗?
发表于 2004-4-8 00:14:45 | 显示全部楼层
挂载的字幕有问题,时间段没设好
 楼主| 发表于 2004-4-8 00:17:44 | 显示全部楼层
我放的这个是已经内嵌了字幕的。。就是声音快。。图像慢。。置顶的里面说把声音改成OSS输出就行了。。我一改整个就没有声音了!~~~
发表于 2004-4-8 06:57:04 | 显示全部楼层
声音与图像不同步
好像与声音驱动没有太大关系吧
这时候再用调整视频祯数的方法
# mplayer -vc rv40win -fps 30 /mnt/E/Downloads/mtv/GUNDAMSEED01-20/GUNDAMSEED01.rm


另外建议使用mplayer1.0pre3版,
我用的是cvs
目前还没遇到不能放的rm/rmvb文件。
发表于 2004-4-8 20:51:17 | 显示全部楼层
mplayer -framedrop videofile
or
mplayer -hardframedrop videofile
发表于 2004-4-8 21:09:54 | 显示全部楼层
mplayer 放rm一拖动就有这个毛病,我用kaffeine(xine的一个图形前端),就没有这个问题了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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