编译mplayer后无声音无视频
Tofloor
poster avatar
173******23
deepin
2013-01-09 03:27
Author
如题,在Mplayer官网上下了源码自己编译。configure通过,make时报了一大堆警告,make install时没有问题。编译是在虚拟机下的,mandriva播放成功,debian/ubuntu下播放没有声音和图像。请问该怎么解决?
Reply Favorite View the author
All Replies
cxbii
deepin
2013-01-09 03:32
#1
播放器有了.但是解码器没有吧....
Reply View the author
173******23
deepin
2013-01-09 06:40
#2
下面是我在虚拟机里的debian6.0.6中编译源码包MPlayer-1.1第一步./configure的结果。可以帮我看一下吗?
Checking for cc version ... 4.4.5
Checking for working compiler ... yes
Detected operating system: Linux
Detected host architecture: i386
Checking for cross compilation ... no
Checking for host cc ... cc
Checking for CPU vendor ... GenuineIntel (6:37:5)
Checking for CPU type ...  Intel(R) Core(TM) i3 CPU       M 370  @ 2.40GHz
Checking for kernel support of mmx ... yes
Checking for kernel support of mmxext ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of sse2 ... yes
Checking for kernel support of ssse3 ... yes
Checking for kernel support of cmov ... yes
Checking for mtrr support ... yes
Checking for GCC & CPU optimization abilities ... native
Checking for byte order ... little-endian
Checking for extern symbol prefix ...  
Checking for assembler support of -pipe option ... yes
Checking for assembler (as ) ... ok
Checking for PIC ... no
Checking for .align is a power of two ... no
Checking for ebx availability ... yes
Checking for yasm ... yasm
Checking for bswap ... yes
Checking for xmm clobbers ... yes
Checking for Linux kernel version ... 2.6.32-5-686, ok
Checking for langinfo ... yes
Checking for language ... messages: en - man pages: en - documentation: en
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... restrict
Checking for __builtin_expect ... yes
Checking for kstat ... no
Checking for cbrtf ... yes
Checking for exp2 ... yes
Checking for exp2f ... yes
Checking for llrint ... yes
Checking for llrintf ... yes
Checking for log2 ... yes
Checking for log2f ... yes
Checking for lrint ... yes
Checking for lrintf ... yes
Checking for round ... yes
Checking for roundf ... yes
Checking for trunc ... yes
Checking for truncf ... yes
Checking for mkstemp ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes
Checking for netdb.h, struct addrinfo ... yes
Checking for netdb.h, getaddrinfo() ... yes
Checking for sockaddr_storage ... yes
Checking for struct ipv6_mreq ... yes
Checking for struct sockaddr_in6 ... yes
Checking for struct sockaddr sa_len ... no
Checking for arpa/inet.h ... yes
Checking for inet_pton() ... yes
Checking for inet_aton() ... yes
Checking for socklen_t ... yes
Checking for closesocket() ... no
Checking for networking ... yes
Checking for inet6 ... yes
Checking for gethostbyname2 ... yes
Checking for SCTP ... no
Checking for sys/poll.h ... yes
Checking for inttypes.h (required) ... yes
Checking for int_fastXY_t in inttypes.h ... yes
Checking for malloc.h ... yes
Checking for memalign() ... yes
Checking for posix_memalign() ... yes
Checking for alloca.h ... yes
Checking for fastmemcpy ... yes
Checking for hard-coded tables ... no
Checking for mman.h ... yes
Checking for dynamic loader ... yes
Checking for dynamic a/v plugins support ... no
Checking for pthread ... yes (using -lpthread)
Checking for rpath ... no
Checking for iconv ... yes
Checking for soundcard.h ... yes (sys/soundcard.h)
Checking for sys/dvdio.h ... no
Checking for sys/cdio.h ... no
Checking for linux/cdrom.h ... yes
Checking for dvd.h ... no
Checking for termcap ... no
Checking for termios ... yes (using termios.h)
Checking for shm ... yes
Checking for strsep() ... yes
Checking for vsscanf() ... yes
Checking for POSIX select() ... yes
Checking for audio select() ... yes
Checking for gettimeofday() ... yes
Checking for glob() ... yes
Checking for setenv() ... yes
Checking for setmode() ... no
Checking for sys/sysinfo.h ... yes
Checking for Apple IR ... yes
Checking for pkg-config ... yes
Checking for Samba support (libsmbclient) ... no
Checking for /dev/mga_vid ... no
Checking for tdfxfb ... no
Checking for s3fb ... no
Checking for wii ... no
Checking for tdfxvid ... no
Checking for xvr100 ... no
Checking for tga ... yes
Checking for md5sum support ... yes
Checking for yuv4mpeg support ... yes
Checking for bl ... no
Checking for DirectFB ... no
Checking for X11 headers presence ... no (check if the dev(el) packages are installed)
Checking for X11 ... no (check if the dev(el) packages are installed)
Checking for Xss screensaver extensions ... no
Checking for DPMS ... no
Checking for Xv ... auto
Checking for XvMC ... no
Checking for VDPAU ... auto
Checking for Xinerama ... auto
Checking for Xxf86vm ... auto
Checking for XF86keysym ... auto
Checking for DGA ... no
Checking for xmga ... no
Checking for 3dfx ... no
Checking for VIDIX ... yes
Checking for VIDIX PCI device name database ... yes
Checking for VIDIX dhahelper support ... no
Checking for VIDIX svgalib_helper support ... no
Checking for GGI ... no
Checking for GGI extension: libggiwmh ... no
Checking for AA ... no
Checking for CACA ... no
Checking for SVGAlib ... no
Checking for FBDev ... yes
Checking for DVB ... yes
Checking for PNG support ... no
Checking for MNG support ... no
Checking for JPEG support ... no
Checking for OpenJPEG (JPEG 2000) support ... no
Checking for PNM support ... yes
Checking for GIF support ... no
Checking for VESA support ... no
Checking for SDL ... no
Checking for OpenGL ... no
Checking for MatrixView ... no
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for IVTV TV-Out (pre linux-2.6.24) ... no
Checking for V4L2 MPEG Decoder ... yes
Checking for OSS Audio ... yes
Checking for aRts ... no
Checking for EsounD ... no
Checking for NAS ... no
Checking for pulse ... no
Checking for JACK ... no
Checking for OpenAL ... no
Checking for ALSA audio ... no
Checking for Sun audio ... no
Checking for VCD support ... yes
Checking for Blu-ray support ... no
Checking for dvdread ... yes (internal)
Checking for internal libdvdcss ... yes
Checking for libcdio ... no
Checking for cdparanoia ... no
Checking for bitmap font support ... yes
Checking for freetype >= 2.0.9 ... no
Checking for fontconfig ... no (FreeType support needed)
Checking for fribidi with charsets ... no
Checking for SSA/ASS support ... no (FreeType and FriBiDi support needed)
Checking for ENCA ... no
Checking for zlib ... no
Checking for bzlib ... no
Checking for RTC ... yes
Checking for liblzo2 support ... no
Checking for mad support ... no
Checking for Twolame ... no
Checking for Toolame ... no
Checking for OggVorbis support ... yes (internal Tremor)
Checking for libspeex (version >= 1.1 required) ... no
Checking for libgsm ... no
Checking for OggTheora support ... no
Checking for mp3lib support ... yes
Checking for mpg123 support ... no
Checking for liba52 support ... no
Checking for libmpeg2 support ... yes (internal)
Checking for libdca support ... no
Checking for libmpcdec (musepack, version >= 1.2.1 required) ... no
Checking for FAAC support ... no (in FFmpeg: no)
Checking for FAAD2 support ... no
Checking for LADSPA plugin support ... no
Checking for libbs2b audio filter support ... no
Checking for Win32 codecs ... yes
Checking for XAnim codecs ... yes (dynamic loader support needed)
Checking for RealPlayer codecs ... yes (dynamic loader support needed)
Checking for QuickTime codecs ... yes
Checking for Nemesi Streaming Media libraries ... no
Checking for LIVE555 Streaming Media libraries ... no
Checking for RTMPDump Streaming Media library ... no
Checking for FFmpeg ... yes
Checking for libpostproc ... yes
Checking for libopencore_amr narrowband ... no
Checking for libopencore_amr wideband ... no
Checking for libdv-0.9.5+ ... no
Checking for CrystalHD ... no
Checking for Xvid ... no
Checking for Xvid two pass plugin ... no
Checking for x264 ... no (in FFmpeg: no)
Checking for libdirac ... no
Checking for libschroedinger ... no
Checking for libvpx ... no
Checking for libnut ... no
Checking for zr ... no
Checking for libmp3lame ... no (in FFmpeg: no)
Checking for mencoder ... yes
Checking for UnRAR executable ... yes
Checking for TV interface ... yes
Checking for DirectShow TV interface ... auto
Checking for Video 4 Linux TV interface ... yes
Checking for Video 4 Linux 2 TV interface ... yes
Checking for Radio interface ... no
Checking for Capture for Radio interface ... no
Checking for Video 4 Linux 2 Radio interface ... auto
Checking for Video 4 Linux Radio interface ... auto
Checking for Video 4 Linux 2 MPEG PVR interface ... yes
Checking for ftp ... yes
Checking for vstream client ... no
Checking for OSD menu ... no
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for GUI ... no
Checking for automatic gdb attach ... no
Checking for compiler support for noexecstack ... yes
Checking for linker support for --nxcompat --no-seh --dynamicbase ... no
Checking for joystick ... no
Checking for lirc ... no
Checking for lircc ... no
Checking for DVD support (libdvdnav) ... yes (internal)
Checking for XML catalogs ... SGML catalog
Checking for XML chunked stylesheet ... not found, using default
Checking for XML monolithic stylesheet ... not found, using default
Checking for XML DTD ... docbookx.dtd
Checking for valid XSLT processor ... Found xsltproc but no stylesheets on your system.
xsltproc is unusable without stylesheets.
Creating config.mak
Creating config.h

Config files successfully generated by ./configure  !

  Install prefix: /usr/local
  Data directory: /usr/local/share/mplayer
  Config direct.: /usr/local/etc/mplayer

  Byte order: little-endian
  Optimizing for: native

  Languages:
    Messages/GUI: en
    Manual pages: en
    Documentation: en

  Enabled optional drivers:
    Input: dvdnav(internal) ftp pvr tv-v4l2 tv-v4l tv libdvdcss(internal) dvdread(internal) vcd dvb networking
    Codecs: ffmpeg(internal) qtx real xanim win32 libmpeg2(internal) mp3lib(internal) tremor(internal)
    Audio output: oss v4l2 mpegpes(dvb)
    Video output: v4l2 pnm mpegpes(dvb) fbdev cvidix yuv4mpeg md5sum tga

  Disabled optional drivers:
    Input: vstream radio tv-dshow librtmp live555 nemesi cddb cdda bluray smb
    Codecs: libvpx libschroedinger libdirac x264 xvid crystalhd libdv libopencore_amrwb libopencore_amrnb faad2 faac musepack libdca liba52 mpg123 libtheora libgsm speex toolame twolame libmad liblzo gif OpenJPEG
    Audio output: sun alsa openal jack pulse nas esd arts ivtv dxr2 sdl
    Video output: zr zr2 ivtv dxr3 dxr2 matrixview opengl sdl vesa gif89a jpeg mng svga caca aa ggi xvidix winvidix 3dfx xmga dga vdpau xvmc xv x11 directfb dfbmga bl xvr100 tdfx_vid wii s3fb tdfxfb mga

'config.h' and 'config.mak' contain your configuration options.
Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer
      compile *** DO NOT REPORT BUGS if you tweak these files ***

'make' will now compile MPlayer and 'make install' will install it.
Note: On non-Linux systems you might need to use 'gmake' instead of 'make'.

Please check MTRR settings at /proc/mtrr (see DOCS/HTML/en/video.html#mtrr)

Check config.log if you wonder why an autodetection failed (make sure
development headers/packages are installed).

NOTE: The --enable-* parameters unconditionally force options on, completely
skipping autodetection. This behavior is unlike what you may be used to from
autoconf-based configure scripts that can decide to override you. This greater
level of control comes at a price. You may have to provide the correct compiler
and linker flags yourself.
If you used one of these options (except --enable-menu and similar ones that
turn on internal features) and experience a compilation or linking failure,
make sure you have passed the necessary compiler/linker flags to configure.

If you suspect a bug, please read DOCS/HTML/en/bugreports.html.
Reply View the author
cxbii
deepin
2013-01-09 06:52
#3
汗....这输出...我还真没单独编译过mplayer
看到很多no.....感觉真的是解码器(插件)没有吧
mplayer在源上的啊,直接apt-get安装不好?
解码器.在ubntu上可以用软件中心安装那个什么附加的功能包
debian的直接网上搜索安装必须的解码器不就好了么
Reply View the author
173******23
deepin
2013-01-09 07:31
#4
汗....这输出...我还真没单独编译过mplayer
看到很多no.....感觉真的是解码器(插件)没有吧
mplayer在源上的啊,直接apt-get安装不好?
解码器.在ubntu上可以用软件中心安装那个什么附加的功能包
debian的直接网上搜索安装必须的解码器不就好了么
主要是想尝试一下手动编译,而且debian源里的MPlayer源太旧了,版本号记得是1.0rc3吧,官方已经出到1.1了……不过ubuntu的deb包不确定是否能直接在Debian上安装?
Reply View the author
cxbii
deepin
2013-01-09 07:38
#5
[quote]汗....这输出...我还真没单独编译过mplayer
看到很多no.....感觉真的是解码器(插件)没有吧
mplayer在源上的啊,直接apt-get安装不好?
解码器.在ubntu上可以用软件中心安装那个什么附加的功能包
debian的直接网上搜索安装必须的解码器不就好了么
主要是想尝试一下手动编译,而且debian源里的MPlayer源太旧了,版本号记得是1.0rc3吧,官方已经出到1.1了……不过ubuntu的deb包不确定是否能直接在Debian上安装?[/quote]
可能ubuntu的deb包不太合适debian啊,这个之前被说过的...虽然他们的关系..
编译东西我觉得那软件和内核练手好,特别是内核,这个资料多
Reply View the author
173******23
deepin
2013-01-09 07:50
#6
:shock: 手动编译还真是折腾人,没什么概念呢,只好慢慢摸索了……
Reply View the author
cxbii
deepin
2013-01-09 07:53
#7
:shock: 手动编译还真是折腾人,没什么概念呢,只好慢慢摸索了……
可是这样学到的东西才多啦
Reply View the author
loveline123
deepin
2013-01-22 05:39
#8
缺少编码和解码包……建议再去看看官方的文档
Reply View the author