分类: LINUX
2010-04-05 21:17:11
[yorks@localhost font]$ mplayer the.pacific.pt.iv.720p.hdtv.x264-immerse.mkvbaidu,google,youdao后都无果,只好checkout mplayer的源代码下来自己编译。废话少说,开始吧.
MPlayer SVN-r29241-4.4.0 (C) 2000-2009 MPlayer Team
137 audio & 296 video codecs
Playing /Data/Software/up/the.pacific.pt.iv.720p.hdtv.x264-immerse.mkv.[mkv]
Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0[mkv]
Track ID 2: audio (A_AC3) "English", -aid 0, -alang eng[mkv]
Will play video track 1.Matroska file format detected.
VIDEO: [avc1] 1280x720 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
==============================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec familySelected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
===================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
MPlayer interrupted by signal 11 in module: init_audio_codec-
MPlayer crashed by bad usage of CPU/FPU/RAM.Recompile
MPlayer with --enable-debug and make a 'gdb' backtrace anddisassembly.
Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.-
MPlayer crashed. This shouldn't happen.It can be a bug in the
MPlayer code _or_ in your drivers _or_ in yourgcc version.
If you think it's MPlayer's fault, please readDOCS/HTML/en/bugreports.html and follow the instructions there.
We can't andwon't help unless you provide this information when reporting a possible bug.
[yorks@localhost SOURCE]$ svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
或者
[yorks@localhost SOURCE]$ wget -c
[yorks@localhost SOURCE]$ wget -c
[yorks@localhost SOURCES]$ tar xvf live.2010.04.01.tar.gz
[yorks@localhost SOURCES]$ cd live
[yorks@localhost live]$ ./genMakefiles linux
[yorks@localhost live]$ make
[yorks@localhost live]$ su -c cp -R '../live /usr/lib/'
[yorks@localhost SOURCES]$ wget -c
[yorks@localhost SOURCES]$ tar xvf all-20100303.tar.bz2 -C /home/yorks/bin/mplayer/codes/
[yorks@localhost SOURCES]$ tar xvf mplayer-checkout-snapshot.tar.bz2
[yorks@localhost SOURCES]$ cd mplayer-checkout-2010-04-04/
[yorks@localhost mplayer-checkout-2010-04-04]$ ./configure --enable-menu \
--enable-gui \
--prefix=/home/yorks/bin/mplayer \
--codecsdir=/home/yorks/bin/mplayer/codes/all-20100303 \
--language=zh_CN
注意这时候是否有下面一行显示:
Checking for LIVE555 Streaming Media libraries ... yes (using /usr/lib/live)
如果有,则说明live555安装成功,如果没有就要检查live555啦。
[yorks@localhost mplayer]$ pwd/home/yorks/bin/mplayer/share/mplayer
[yorks@localhost mplayer]$ cd skins/
[yorks@localhost skins]$ wget -c
[yorks@localhost skins]$ tar xvf Blue-1.7.tar.bz2
[yorks@localhost skins]$ mv Blue default
[yorks@localhost mplayer]$ pwd/home/yorks/bin/mplayer/share/mplayer
[yorks@localhost mplayer]$ ln -s /usr/share/fonts/zh_CN/TrueType/WenQuanYiZenHei.ttf subfont.ttf
[yorks@localhost mplayer]$ echo "fontconfig=0" >> ~/.mplayer/config
[yorks@localhost bin]$ pwd
/home/yorks/bin/mplayer/bin
[yorks@localhost bin]$ ./mplayer /Data/Software/up/the.pacific.pt.iv.720p.hdtv.x264-immerse.mkv
MPlayer SVN-r30994-4.4.0 (C) 2000-2010 MPlayer Team
正在播放 /Data/Software/up/the.pacific.pt.iv.720p.hdtv.x264-immerse.mkv。[mkv]
轨迹 ID 1: video (V_MPEG4/ISO/AVC), -vid 0[mkv]
轨迹 ID 2: audio (A_AC3) "English", -aid 0, -alang eng[mkv]
将播放视频轨迹 1。检测到文件格式 Matroska。VIDEO: [avc1] 1280x720 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
打开视频解码器: [ffmpeg] FFmpeg's libavcodec codec family
已选视频编解码器: [ffh264] vfm: ffmpeg (FFmpeg H.264)
=========================================================================
打开音频解码器: [ffmpeg] FFmpeg/libavcodec audio
decodersAUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
已选音频编解码器: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
[AO OSS] audio_setup:无法打开音频设备 /dev/dsp:Device or resource busy
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
开始播放...电影宽高比为 1.78:1 - 预放大到正确的电影宽高比。
VO: [xv] 1280x720 => 1280x720 Planar YV12 [zoom]
A: 3.0 V: 3.0 A-V: 0.001 ct: -0.001 0/ 0 79% 3% 1.3% 1 0
chinaunix网友2010-07-08 16:01:59
能不能把live.2010.04.01.tar.gz 和 all-20100303.tar.bz2 发给我下啊 我的qq是785517694 谢谢啊