LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: aaccdd

手把手教你编译安装MPlayer-1.0pre5

[复制链接]
发表于 2004-11-21 20:27:04 | 显示全部楼层
libpng成功安装(用源代码),结果搞mplayer时候,没说我要装libpng,却出现了:


X11 support required for GUI compilation

怎么回事?
发表于 2004-11-22 11:29:18 | 显示全部楼层
png格式的图像见过吗,估计就是那玩意

如果mplayer不能全屏怎么办
发表于 2004-11-23 12:06:14 | 显示全部楼层

无声无影

播放时出现:下列提示,刚装好只有声音,现在连声音都没了,能不能重装?
另外,~/.mplayer是什么目录?
CPU: Intel Celeron 2/Pentium III Tualatin 1201 MHz (Family: 6, Stepping: 1)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
针对有扩展指令集x86 CPU编译: MMX MMX2 SSE

Reading config file /usr/local/etc/mplayer/mplayer.conf
Reading config file /home/gabucino/.mplayer/i_did_not_RTFM_carefully_enough...: 没有那个文件或目录
Reading config file /root/.mplayer/config
Reading config file /home/gabucino/.mplayer/i_did_not_RTFM_carefully_enough...: 没有那个文件或目录
Reading config file /home/gabucino/.mplayer/i_did_not_RTFM_carefully_enough...: 没有那个文件或目录
Reading /root/.mplayer/codecs.conf: 73 audio & 180 video codecs
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
使用Linux的硬件RTC计时(1024Hz)
Input config file /root/.mplayer/input.conf parsed: 53 binds

播放 /01.rm.
Cache fill:  0.00% (0 bytes)    检测到REAL文件格式。
======= WAVE Format =======
Format Tag: 28515 (0x6F63)
Channels: 1
Samplerate: 22050
avg byte/sec: 32115
Block align: 558
bits/sample: 16
cbSize: 18
Unknown extra header dump: [5d] [0] [10] [0] [7] [0] [2e] [2] [8] [0] [1] [0] [0] [2] [2] [0] [0] [18]
===========================
Not audio/video stream or unsupported!
VIDEO:  RV20 [20201002,01A29838]  352x288  (aspect 0.00)  25.00 fps
Clip info:
name: 01-1
author: jiao cheng
copyright: 2000
==========================================================================
打开音频解码器: [realaud] RealAudio decoder
opening shared obj '/usr/lib/codecs/cook.so.6.0'
Audio codec: [7] 32 Kbps Voice
Audio bitrate: 32.041 kbit/s (4005 bps)
AUDIO: 22050 Hz, 1 ch, 16 bit (0x10), ratio: 4005->44100 (32.0 kbit)
Selected audio codec: [racook] afm:realaud (RealAudio COOK)
==========================================================================
Can't open /dev/fb0: 没有那个设备
[fbdev2] Can't open /dev/fb0: 没有那个设备
==========================================================================
打开视频解码器: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffrv20] vfm:ffmpeg (FFmpeg RV20 decoder)
==========================================================================
Checking audio filter chain for 22050Hz/1ch/16bit -> 22050Hz/2ch/16bit...
AF_pre: af format: 2 bps, 1 ch, 22050 hz, little endian signed int
AF_pre: 22050Hz 1ch Signed 16-bit (Little-Endian)
audio_setup: Can't open audio device /dev/dsp: 设备或资源忙
AO: [null] 22050Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 22050Hz/1ch/16bit -> 22050Hz/2ch/16bit...
开始播放...
VDec: vo配置要求 - 352 x 288 (选择 csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
电影宽高比未定义 - 无法使用预放大.
VO: [null] 352x288 => 352x288 Planar YV12  [fs]
[rv20 @ 0x852e814]messed up order, seeking?, skiping current b frame 27%
[rv20 @ 0x852e814]unknown bit4 set 0.088   23/ 23   7%  0%  1.1% 0 0 99%
[rv20 @ 0x852e814]illegal dc 128 at 5 7
[rv20 @ 0x852e814]ERROR at MB 5 7
Error while decoding frame!
[rv20 @ 0x852e814]HEADER ERRORct:  0.096   25/ 25   7%  0%  1.1% 0 0 98%
发表于 2004-11-23 12:07:10 | 显示全部楼层

无声无影

播放时出现:下列提示,刚装好只有声音,现在连声音都没了,能不能重装?
另外,~/.mplayer是什么目录?
CPU: Intel Celeron 2/Pentium III Tualatin 1201 MHz (Family: 6, Stepping: 1)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
针对有扩展指令集x86 CPU编译: MMX MMX2 SSE

Reading config file /usr/local/etc/mplayer/mplayer.conf
Reading config file /home/gabucino/.mplayer/i_did_not_RTFM_carefully_enough...: 没有那个文件或目录
Reading config file /root/.mplayer/config
Reading config file /home/gabucino/.mplayer/i_did_not_RTFM_carefully_enough...: 没有那个文件或目录
Reading config file /home/gabucino/.mplayer/i_did_not_RTFM_carefully_enough...: 没有那个文件或目录
Reading /root/.mplayer/codecs.conf: 73 audio & 180 video codecs
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
使用Linux的硬件RTC计时(1024Hz)
Input config file /root/.mplayer/input.conf parsed: 53 binds

播放 /01.rm.
Cache fill:  0.00% (0 bytes)    检测到REAL文件格式。
======= WAVE Format =======
Format Tag: 28515 (0x6F63)
Channels: 1
Samplerate: 22050
avg byte/sec: 32115
Block align: 558
bits/sample: 16
cbSize: 18
Unknown extra header dump: [5d] [0] [10] [0] [7] [0] [2e] [2] [8] [0] [1] [0] [0] [2] [2] [0] [0] [18]
===========================
Not audio/video stream or unsupported!
VIDEO:  RV20 [20201002,01A29838]  352x288  (aspect 0.00)  25.00 fps
Clip info:
name: 01-1
author: jiao cheng
copyright: 2000
==========================================================================
打开音频解码器: [realaud] RealAudio decoder
opening shared obj '/usr/lib/codecs/cook.so.6.0'
Audio codec: [7] 32 Kbps Voice
Audio bitrate: 32.041 kbit/s (4005 bps)
AUDIO: 22050 Hz, 1 ch, 16 bit (0x10), ratio: 4005->44100 (32.0 kbit)
Selected audio codec: [racook] afm:realaud (RealAudio COOK)
==========================================================================
Can't open /dev/fb0: 没有那个设备
[fbdev2] Can't open /dev/fb0: 没有那个设备
==========================================================================
打开视频解码器: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffrv20] vfm:ffmpeg (FFmpeg RV20 decoder)
==========================================================================
Checking audio filter chain for 22050Hz/1ch/16bit -> 22050Hz/2ch/16bit...
AF_pre: af format: 2 bps, 1 ch, 22050 hz, little endian signed int
AF_pre: 22050Hz 1ch Signed 16-bit (Little-Endian)
audio_setup: Can't open audio device /dev/dsp: 设备或资源忙
AO: [null] 22050Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 22050Hz/1ch/16bit -> 22050Hz/2ch/16bit...
开始播放...
VDec: vo配置要求 - 352 x 288 (选择 csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
电影宽高比未定义 - 无法使用预放大.
VO: [null] 352x288 => 352x288 Planar YV12  [fs]
[rv20 @ 0x852e814]messed up order, seeking?, skiping current b frame 27%
[rv20 @ 0x852e814]unknown bit4 set 0.088   23/ 23   7%  0%  1.1% 0 0 99%
[rv20 @ 0x852e814]illegal dc 128 at 5 7
[rv20 @ 0x852e814]ERROR at MB 5 7
Error while decoding frame!
[rv20 @ 0x852e814]HEADER ERRORct:  0.096   25/ 25   7%  0%  1.1% 0 0 98%
发表于 2004-11-24 22:00:06 | 显示全部楼层
帮帮忙!!
 楼主| 发表于 2004-11-25 11:18:26 | 显示全部楼层
1, ~为用户主目录,~/.mplayer即为/home/username/.mplayer
2,
Reading config file /home/gabucino/.mplayer/i_did_not_RTFM_carefully_enough...: 没有那个文件或目录

注消~/.mplayer/config的最后一行相关内容,那只是一个例子
3,
Can't open /dev/fb0: 没有那个设备
[fbdev2] Can't open /dev/fb0: 没有那个设备
=============================================

如果要使用framebuffer device,需要查看内核是否支持了,没有就重新编译一下,请搜索相关的贴子;否则,修改~/.mplayer/config,
注消 FBdev driver部分
4,
audio_setup: Can't open audio device /dev/dsp: 设备或资源忙
设备忙,退出其它程序重新运行
发表于 2004-11-25 21:54:34 | 显示全部楼层
aaccdd能不能上传了config文件,我没有呀,很着急的说
发表于 2004-11-25 22:58:21 | 显示全部楼层
最初由 ext3 发表
aaccdd能不能上传了config文件,我没有呀,很着急的说

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2004-11-26 21:09:35 | 显示全部楼层
/usr/include/gtk-1.2/gtk/gtktext.h:129: storage size of `point' isn't known
/usr/include/gtk-1.2/gtk/gtkfontsel.h:162: storage size of `filters' isn't known/usr/include/gtk-1.2/gtk/gtkhandlebox.h:75: storage size of `attach_allocation' isn't known
/usr/include/gtk-1.2/gtk/gtkhandlebox.h:76: storage size of `float_allocation' isn't known
/usr/include/gtk-1.2/gtk/gtkruler.h:89: storage size of `subdivide' isn't known
/usr/include/gtk-1.2/gtk/gtkrc.h:54: storage size of `fg' isn't known
/usr/include/gtk-1.2/gtk/gtkrc.h:55: storage size of `bg' isn't known
/usr/include/gtk-1.2/gtk/gtkrc.h:57: storage size of `base' isn't known
/usr/include/gtk-1.2/gtk/gtktext.h:144: storage size of `cursor_mark' isn't known
make: *** [mp_msg.o] Error 1

以上是make时出现的错误,怎么解决?
发表于 2004-11-27 17:20:11 | 显示全部楼层
我在输入configure命令后出现:
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... not found
Checking for gcc version ... not found
Checking for gcc-3.3 version ... not found
Checking for gcc-3.2 version ... not found
Checking for gcc-3.1 version ... not found
Checking for gcc3 version ... not found
Checking for gcc-3.0 version ... not found
Checking for cc version ... not found

*** Please downgrade/upgrade C compiler to version gcc-2.95.x or gcc-3.x! ***

You are not using a supported compiler. We do not have the time to make sure
everything works with compilers other than the ones we use.  Use either the
same compiler as we do, or use --disable-gcc-checking but DO *NOT* REPORT BUGS
unless you can reproduce them after recompiling with a 2.95.x or 3.x version!

Note for gcc 2.96 users: Some versions of this compiler are known to miscompile
mplayer and lame (which is used for mencoder).  If you get compile errors,
first upgrade to the latest 2.96 release (minimum 2.96-85) and try again.
If the problem still exists, try with gcc 3.x (or 2.95.x) *BEFORE* reporting
bugs!

        GCC 2.96 IS NOT AND WILL NOT BE SUPPORTED BY US !

    *** For details please read DOCS/HTML/en/users-vs-dev.html ***


Error: Bad gcc version

Check "configure.log" if you do not understand why it failed.
这是怎么一回事?我该怎么办?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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