[MPlayer-users] No video on Edgy Kubuntu AMD64 Nvidia

John Brown johnbrown105 at hotmail.com
Sun Jan 21 16:40:12 CET 2007


Raena Lea-Shannon wrote:
>On Monday 15 January 2007 02:48, The Wanderer wrote:
>>Raena Lea-Shannon wrote:
>>>mplayer -vo help
>>>MPlayer dev-SVN-r21923-4.1.2 (C) 2000-2006 MPlayer Team
>>>CPU: AMD Athlon(tm) 64 Processor 3800+ (Family: 15, Model: 47, Stepping:
>>>2) CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
>>>Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
>>>Available video output drivers:
>>>         fbdev   Framebuffer Device
>>>         fbdev2  Framebuffer Device
>>>         cvidix  console VIDIX
>>>         null    Null video output
>>>         mpegpes Mpeg-PES to DVB card
>>>         yuv4mpeg        yuv4mpeg output for mjpegtools
>>>         tga     Targa output
>>>         pnm     PPM/PGM/PGMYUV file
>>>         md5sum  md5sum of each frame
>>Apparently you have none of the X11 development headers, the OpenGL
>>development headers, or the SDL development headers installed. Correct
>>that (particularly the first one) and recompile, and this list should
>>expand considerably.
>>
>>Either that, or you *do*
>
>I do.
>
>>have them but they are not being detected correctly; in that case, the 
>>contents of the relevant section of
>>configure.log would be appropriate.
>
>Here:
>##########################################
>
>============ Checking for X11 headers presence ============
>Result is: yes (using /usr/include)
>##########################################
>
>============ Checking for X11 ============
>
>#include <X11/Xlib.h>
>#include <X11/Xutil.h>
>int main(void) { (void) XCreateWindow(0,0,0,0,0,0,0,0,0,0,0,0); return 0; }
>
>cc -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer       -o 
>/tmp/
>mplayer-conf--8177.o /tmp/mplayer-conf--8177.c -I/usr/include -lXext -lX11 
>-lpth
>read
>
>ldd /tmp/mplayer-conf--8177.o
>         libXext.so.6 => /usr/lib/libXext.so.6 (0x00002abafcf18000)
>         libX11.so.6 => /usr/lib/libX11.so.6 (0x00002abafd029000)
>         libpthread.so.0 => /lib/libpthread.so.0 (0x00002abafd207000)
>         libc.so.6 => /lib/libc.so.6 (0x00002abafd31d000)
>         libXau.so.6 => /usr/lib/libXau.so.6 (0x00002abafd55e000)
>         libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00002abafd661000)
>         libdl.so.2 => /lib/libdl.so.2 (0x00002abafd766000)
>         /lib64/ld-linux-x86-64.so.2 (0x00002abafcdfb000)
>
>Result is: yes
>
>
>============ Checking for OpenGL ============
>
>#include <GL/gl.h>
>int main(void) { return 0; }
>
>cc -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer  
>-I/usr/includ
>e      -lXext -lX11  -lpthread  -o /tmp/mplayer-conf--8177.o 
>/tmp/mplayer-conf--
>8177.c -lGL -lm
>/tmp/mplayer-conf--8177.c:1:19: error: GL/gl.h: No such file or directory
>
>ldd /tmp/mplayer-conf--8177.o
>ldd: /tmp/mplayer-conf--8177.o: No such file or directory
>
>
>#include <GL/gl.h>
>int main(void) { return 0; }
>
>cc -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer  
>-I/usr/includ
>e      -lXext -lX11  -lpthread  -o /tmp/mplayer-conf--8177.o 
>/tmp/mplayer-conf--
>8177.c -lGL -lm -lpthread
>/tmp/mplayer-conf--8177.c:1:19: error: GL/gl.h: No such file or directory
>
>ldd /tmp/mplayer-conf--8177.o
>ldd: /tmp/mplayer-conf--8177.o: No such file or directory
>
>
>#include <GL/gl.h>
>int main(void) { return 0; }
>
>cc -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer  
>-I/usr/includ
>e      -lXext -lX11  -lpthread  -o /tmp/mplayer-conf--8177.o 
>/tmp/mplayer-conf--
>8177.c -lopengl32
>/tmp/mplayer-conf--8177.c:1:19: error: GL/gl.h: No such file or directory
>
>ldd /tmp/mplayer-conf--8177.o
>ldd: /tmp/mplayer-conf--8177.o: No such file or directory
>
>Result is: no
>#########################
>
>##########################################
>
>============ Checking for SDL ============
>./configure: 4622: sdl-config: not found
>./configure: 4622: sdl11-config: not found
>Result is: no
>##########################################

I posted a reply via gmane, but it has been over three hours, and I have not 
seen it? I wonder if they have disallowed gmane?

Perhaps you have already solved the problem, but:

To enable X11, you also need Xext. You can also install Xv to enable -vo xv, 
which I believe is preferred to x11. In all cases, you need to install the 
development packages also.

I think that those are enough, but there may be more. Configure.log does not 
always contain the reason for a failure, so you should redirect all the 
output of configure (including stderr) to a file. Look for messages 
indicating that a library is not found, then install it.

For example, the test for X11 looks like this on my machine:

============ Checking for X11 ============

#include <X11/Xlib.h>
#include <X11/Xutil.h>
int main(void) { (void) XCreateWindow(0,0,0,0,0,0,0,0,0,0,0,0); return 0; }


cc -W -Wall -Wno-unused-parameter -O2 -march=prescott -mtune=prescott -g3    
     -o /tmp/mplayer-conf--23596.o /tmp/mplayer-conf--23596.c -I/usr/include 
-lXext -lX11 -lpthread

If you do not have Xext, then there should be a message like '-lXext not 
found'. Now all you need to do is find out which package contains libXext. 
Many times the package name is the same as the library name. In any case, 
you can search for Xext in Synaptic, and pick the most likely candidate, 
which would be xext in this case.

I don't see an OpenGL development package in the Synaptic packages list, and 
I don't know where to get it, but you should at least be able to get Xv and 
X11 working.

_________________________________________________________________
FREE online classifieds from Windows Live Expo – buy and sell with people 
you know 
http://clk.atdmt.com/MSN/go/msnnkwex0010000001msn/direct/01/?href=http://expo.live.com?s_cid=Hotmail_tagline_12/06




More information about the MPlayer-users mailing list