Was anyone able to configure Mplayer with full screen on AMD64 processors? I am getting these errors when I run ./configure ============ 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 /tmp/mplayer-conf-19026-31791.c -o /tmp/mplayer-conf-18745-31791.o -I/usr/X11/include -L/usr/X11R6/lib -lXext -lX11 -lnsl /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libXe xt.so when searching for -lXext /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libXe xt.a when searching for -lXext /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: cannot find -lXext collect2: ld returned 1 exit status ldd /tmp/mplayer-conf-18745-31791.o ldd: /tmp/mplayer-conf-18745-31791.o: No such file or directory Result is: no ########################################## ============ Checking for Xv ============ Result is: no ##########################################
On Friday 26 August 2005 11:06, Mag Gam wrote:
Was anyone able to configure Mplayer with full screen on AMD64 processors? I am getting these errors when I run ./configure
Set the X11 library path to /usr/X11R6/lib64. There should be a configure option for that (try ./configure --help to check which one). Or build mplayer with 32 bits; I'd recommend this anyway; the 32 bit mplayer can use the Windows DLLs for wmv. -- Bernd Paysan "If you want it done right, you have to do it yourself" http://www.jwdt.com/~paysan/
Okay what are the flags for the 32bit mplayer? What libraries should I be using for that? rpm -qa | grep -i x11 xorg-x11-fonts-75dpi-6.8.2-30 xorg-x11-server-6.8.2-30 ghostscript-x11-8.15rc1-16 xorg-x11-driver-options-6.8.2-30 xorg-x11-server-glx-6.8.2-30 xorg-x11-fonts-100dpi-6.8.2-30 xorg-x11-6.8.2-30 xorg-x11-man-6.8.2-30 yast2-x11-2.11.4-8.2 xorg-x11-fonts-scalable-6.8.2-30 xorg-x11-Mesa-6.8.2-30 xorg-x11-Xvnc-6.8.2-30 emacs-x11-21.3-202 xorg-x11-devel-6.8.2-30 xorg-x11-libs-6.8.2-30.3 xorg-x11-devel-32bit-9.3-7 xorg-x11-libs-32bit-9.3-7.2 xorg-x11-Xvfb-6.8.2-30 xorg-x11-Mesa-32bit-9.3-7 xorg-x11-Mesa-devel-6.8.2-30 On 8/26/05, Bernd Paysan <bernd.paysan@gmx.de> wrote:
On Friday 26 August 2005 11:06, Mag Gam wrote:
Was anyone able to configure Mplayer with full screen on AMD64 processors? I am getting these errors when I run ./configure
Set the X11 library path to /usr/X11R6/lib64. There should be a configure option for that (try ./configure --help to check which one).
Or build mplayer with 32 bits; I'd recommend this anyway; the 32 bit mplayer can use the Windows DLLs for wmv.
-- Bernd Paysan "If you want it done right, you have to do it yourself" http://www.jwdt.com/~paysan/
On Friday 26 August 2005 13:33, Mag Gam wrote:
Okay what are the flags for the 32bit mplayer? What libraries should I be using for that?
Basic libraries look ok. To compile autoconf-based stuff with 32 bit, you need to run configure with CC="gcc -m32" ./configure so that configure uses the 32 bit flag for GCC. Easier: Get the mplayer rpms from packman. http://packman.links2linux.org/?action=128 -- Bernd Paysan "If you want it done right, you have to do it yourself" http://www.jwdt.com/~paysan/
Thanks for the quick reply! With CC="gcc -m32" ./configure, make give me this error dct.c registry.c res012.c sharedbook.c synthesis.c window.c 1>.depend make[2]: Leaving directory `/home/nganta/MPlayer-1.0pre7/tremor' make[1]: Leaving directory `/home/nganta/MPlayer-1.0pre7' gcc -m32 -c -I../libvo -I../../libvo -I/usr/X11/include -O4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I/usr/include/SDL -D_REENTRANT -I/usr/X11/include -o mplayer.o mplayer.c In file included from libmpdemux/dvbin.h:11, from mplayer.c:113: libmpdemux/dvb_defaults.h:73:10: warning: #warning No DVB-T country defined in dvb_defaults.h, defaulting to UK. Ignore this if using Satellite or Cable. gcc -m32 -c -I../libvo -I../../libvo -I/usr/X11/include -O4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I/usr/include/SDL -D_REENTRANT -I/usr/X11/include -o mp_msg.o mp_msg.c gcc -m32 -c -I../libvo -I../../libvo -I/usr/X11/include -O4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I/usr/include/SDL -D_REENTRANT -I/usr/X11/include -o cpudetect.o cpudetect.c {standard input}: Assembler messages: {standard input}:2506: Error: bad register name `%rbx' {standard input}:2508: Error: bad register name `%rbx' {standard input}:2530: Error: bad register name `%rbx' {standard input}:2532: Error: bad register name `%rbx' {standard input}:2590: Error: bad register name `%rbx' {standard input}:2592: Error: bad register name `%rbx' {standard input}:2637: Error: bad register name `%rbx' {standard input}:2639: Error: bad register name `%rbx' {standard input}:2662: Error: bad register name `%rbx' {standard input}:2664: Error: bad register name `%rbx' make: *** [cpudetect.o] Error 1 Also, I have tried the rpms from packman, and mplayers works! But mplayer -vo x11 vid.avi or mplayer -vo xv vid.avi does NOT have full screen modes.... Any ideas with this now? On 8/26/05, Bernd Paysan <bernd.paysan@gmx.de> wrote:
On Friday 26 August 2005 13:33, Mag Gam wrote:
Okay what are the flags for the 32bit mplayer? What libraries should I be using for that?
Basic libraries look ok. To compile autoconf-based stuff with 32 bit, you need to run configure with
CC="gcc -m32" ./configure
so that configure uses the 32 bit flag for GCC.
Easier: Get the mplayer rpms from packman.
http://packman.links2linux.org/?action=128
-- Bernd Paysan "If you want it done right, you have to do it yourself" http://www.jwdt.com/~paysan/
On Friday 26 August 2005 13:49, Mag Gam wrote:
Thanks for the quick reply!
With CC="gcc -m32" ./configure, make give me this error
You probably also need to override the config.guess output, looks like there's still a x86_64 assembler binary. CC="gcc -m32" ./configure --host=i686-unknown-linux-gnu might work.
Also, I have tried the rpms from packman, and mplayers works! But mplayer -vo x11 vid.avi or mplayer -vo xv vid.avi does NOT have full screen modes....
That depends on your graphics card, or the card driver. -- Bernd Paysan "If you want it done right, you have to do it yourself" http://www.jwdt.com/~paysan/
Nope that does not work either... CC="gcc -m32" ./configure --host=i686-unknown-linux-gnu Detected operating system: Linux Detected host architecture: x86_64 Checking for gcc -m32 version ... 3.3.5, ok Checking for host cc ... gcc -m32 Checking for assembler support of -pipe option ... yes Unknown parameter: --host=i686-unknown-linux-gnu On 8/26/05, Bernd Paysan <bernd.paysan@gmx.de> wrote:
On Friday 26 August 2005 13:49, Mag Gam wrote:
Thanks for the quick reply!
With CC="gcc -m32" ./configure, make give me this error
You probably also need to override the config.guess output, looks like there's still a x86_64 assembler binary.
CC="gcc -m32" ./configure --host=i686-unknown-linux-gnu
might work.
Also, I have tried the rpms from packman, and mplayers works! But mplayer -vo x11 vid.avi or mplayer -vo xv vid.avi does NOT have full screen modes....
That depends on your graphics card, or the card driver.
-- Bernd Paysan "If you want it done right, you have to do it yourself" http://www.jwdt.com/~paysan/
Here is what I have for a config script that worked for amd_64 SuSE 9.1 - 9.3 ./configure --libdir=/usr/lib64 --with-x11libdir=/usr/X11/lib64 --enable-runtime-cpudetection --disable-fbdev --enable-xv > conf.txt Hope this helps... B-)
On Friday 26 August 2005 14:57, Mag Gam wrote:
Nope that does not work either...
CC="gcc -m32" ./configure --host=i686-unknown-linux-gnu
Just looked, MPlayer's configure uses uname to get the architecture, and doesn't use the config.guess from autoconfig - and therefore also doesn't have the override parameters. A possibility would be to put a fake uname into some location that's before /bin in the path. -- Bernd Paysan "If you want it done right, you have to do it yourself" http://www.jwdt.com/~paysan/
On Friday 26 August 2005 12:49, Mag Gam wrote: <snip>
Also, I have tried the rpms from packman, and mplayers works! But mplayer -vo x11 vid.avi or mplayer -vo xv vid.avi does NOT have full screen modes....
Any ideas with this now?
Use mplayer -fs vid.avi Press the 'F' key to switch between Full Screen and window mode.
participants (4)
-
Bernd Paysan
-
Brad Bourn
-
Craig Fellows
-
Mag Gam