转载时请注明出处和作者联系方式:http://blog.csdn.net/mimepp
作者联系方式:YU TAO <yut616 at sohu dot com>
环境:ubuntu
1、首先安装mplayer:
sudo apt-get install mplayer
2、下载支持rmvb的codec:all-20060501.tar.bz2
http://ftp.icm.edu.pl/packages/mplayer/releases/codecs/all-20060501.tar.bz2
或者在google上搜索:“all-20060501.tar.bz2 index of”,这样可以找到一个带“index of”一定能下载的连接。
3、安装codecs
4、测试
mplayer 神奇手机a.rmvb
图像和声音都连续、正常。
作者联系方式:YU TAO <yut616 at sohu dot com>
环境:ubuntu
1、首先安装mplayer:
sudo apt-get install mplayer
2、下载支持rmvb的codec:all-20060501.tar.bz2
http://ftp.icm.edu.pl/packages/mplayer/releases/codecs/all-20060501.tar.bz2
或者在google上搜索:“all-20060501.tar.bz2 index of”,这样可以找到一个带“index of”一定能下载的连接。
3、安装codecs
tar jxvf all - 20060501 .tar.bz2
mkdir / usr / lib / codecs /
cp all - 20060501 /* /usr/lib/codecs/
ln -s /usr/lib/codecs /usr/lib/win32
mkdir / usr / lib / codecs /
cp all - 20060501 /* /usr/lib/codecs/
ln -s /usr/lib/codecs /usr/lib/win32
4、测试
mplayer 神奇手机a.rmvb
图像和声音都连续、正常。
# mplayer 神奇手机a.rmvb
MPlayer 1 .0rc2 - 4.1 . 3 (C) 2000 - 2007 MPlayer Team
CPU: Intel(R) Celeron(R) CPU 1 .80GHz (Family: 15 , Model: 1 , Stepping: 3 )
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
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 神奇手机a.rmvb.
REAL file format detected.
Stream description: Audio Stream
Stream mimetype: audio / x - pn - realaudio
[real] Audio stream found, - aid 0
Stream description: Video Stream
Stream mimetype: video / x - pn - realvideo
[real] Video stream found, - vid 1
Stream mimetype: logical - fileinfo
VIDEO: [RV40] 80 0x448 24bpp 23.000 fps 0.0 kbps ( 0.0 kbyte / s)
Clip info:
name: ������a
author: ����ӰԷ - Yi.CooH
comment:
xscreensaver_disable: Could not find XScreenSaver window.
gnome_screensaver_control()[VO_XV] Could not grab port 65 .
==========================================================================
Opening video decoder: [realvid] RealVideo decoder
Selected video codec: [rv3040] vfm: realvid (Linux RealPlayer 10 RV30 / 40 decoder)
==========================================================================
==========================================================================
Forced audio codec: mad
Opening audio decoder: [ffmpeg] FFmpeg / libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 64.1 kbit / 4.54 % (ratio: 8010 -> 176400 )
Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio decoder)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le ( 2 bytes per sample)
Starting playback...
VDec: vo config request - 800 x 448 (preferred colorspace: Planar I420)
VDec: using Planar I420 as output csp (no 0 )
Movie - Aspect is 1.79 : 1 - prescaling to correct movie aspect.
VO: [xv] 80 0x448 => 80 0x448 Planar I420
No bind found for key ' MOUSE_BTN0 ' . - MOUSE_BTN0_DBL
No bind found for key ' MOUSE_BTN0_DBL ' . 0
No bind found for key ' MOUSE_BTN2 ' . 7 % 5 0
MPlayer 1 .0rc2 - 4.1 . 3 (C) 2000 - 2007 MPlayer Team
CPU: Intel(R) Celeron(R) CPU 1 .80GHz (Family: 15 , Model: 1 , Stepping: 3 )
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
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 神奇手机a.rmvb.
REAL file format detected.
Stream description: Audio Stream
Stream mimetype: audio / x - pn - realaudio
[real] Audio stream found, - aid 0
Stream description: Video Stream
Stream mimetype: video / x - pn - realvideo
[real] Video stream found, - vid 1
Stream mimetype: logical - fileinfo
VIDEO: [RV40] 80 0x448 24bpp 23.000 fps 0.0 kbps ( 0.0 kbyte / s)
Clip info:
name: ������a
author: ����ӰԷ - Yi.CooH
comment:
xscreensaver_disable: Could not find XScreenSaver window.
gnome_screensaver_control()[VO_XV] Could not grab port 65 .
==========================================================================
Opening video decoder: [realvid] RealVideo decoder
Selected video codec: [rv3040] vfm: realvid (Linux RealPlayer 10 RV30 / 40 decoder)
==========================================================================
==========================================================================
Forced audio codec: mad
Opening audio decoder: [ffmpeg] FFmpeg / libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 64.1 kbit / 4.54 % (ratio: 8010 -> 176400 )
Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio decoder)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le ( 2 bytes per sample)
Starting playback...
VDec: vo config request - 800 x 448 (preferred colorspace: Planar I420)
VDec: using Planar I420 as output csp (no 0 )
Movie - Aspect is 1.79 : 1 - prescaling to correct movie aspect.
VO: [xv] 80 0x448 => 80 0x448 Planar I420
No bind found for key ' MOUSE_BTN0 ' . - MOUSE_BTN0_DBL
No bind found for key ' MOUSE_BTN0_DBL ' . 0
No bind found for key ' MOUSE_BTN2 ' . 7 % 5 0