video Player (Xine or MPlayer)
Hi List, I tried to compile and install the newest packages of Xine and MPlayer. In both cases I had some Errors. Did someone installed Xine or MPlayer with 64 bit processor with success? If so, wich version? I hope someone can help me. tia OLI PS: I need to watch dvds and avis. dvdcss, ... are no problem to compile and install ... but the kaffeine from SuSE will not play dvds ... :-(
I have, yes. 1.0pre3 SuSE 9.1 pro B-) On Thursday 06 May 2004 5:52 am, Tim Oliver Wagner wrote:
Hi List, I tried to compile and install the newest packages of Xine and MPlayer. In both cases I had some Errors.
Did someone installed Xine or MPlayer with 64 bit processor with success? If so, wich version?
I hope someone can help me.
tia
OLI
PS: I need to watch dvds and avis. dvdcss, ... are no problem to compile and install ... but the kaffeine from SuSE will not play dvds ... :-(
torsdagen den 6 maj 2004 14:52 skrev Tim Oliver Wagner:
Hi List, I tried to compile and install the newest packages of Xine and MPlayer. In both cases I had some Errors.
Me too, it seems to me, that MPlayer isn't very well suited for amd64 yet. All features are not available in 64-bit mode (loading win32-dlls, for example) and some things aren't available in 32-bit mode (I think there should be a package named ogg-devel-32bit, or something similar) but that's missing from my SuSE 9.0. :-(
Did someone installed Xine or MPlayer with 64 bit processor with success? If so, wich version?
I took the source for MPlayer, and compiled _both_ 32-bit and 64-bit executables :-) 32-bit is compiled like this: linux32 ./configure --as='as --32' --cc='cc -m32' make make install Then rename /usr/local/bin/mplayer to something like mplayer-32, and compile a 64-bit version like this: ./configure --with-x11libdir=/usr/X11R6/lib64 --enable-gui make make install Now you have two partially functioning MPlayers, and together they should have _most_ features available. A bit ugly, but should work... -- eMail: rap@ava-23.hut.fi Home: +358 9 87750100 Jorgen.Pihlflyckt@hut.fi Work: +358 9 4514777 WWW: http://pihlflyckt.hut.fi/ GSM: +358 40 5240412 -----------------------------------------------------------------------------
Am Donnerstag, 6. Mai 2004 19:55 schrieb Joergen Pihlflyckt:
Did someone installed Xine or MPlayer with 64 bit processor with success? If so, wich version?
thanks for the suggestion ... but its not working :-( ... but maybe you can help me a bit ... see below ... tia
I took the source for MPlayer, and compiled _both_ 32-bit and 64-bit executables :-)
32-bit is compiled like this: linux32 ./configure --as='as --32' --cc='cc -m32' make make install
here the installation works perfect, but if I play a film the video window looks very strange ... there big black bars ... and mplayer told me, that my system is maybe to slow ... I don't think so -> athlon XP 3000+ (64 bit)
Then rename /usr/local/bin/mplayer to something like mplayer-32, and compile a 64-bit version like this: ./configure --with-x11libdir=/usr/X11R6/lib64 --enable-gui make make install
Here the same error occurs like bevor ... maybe someone of you can tell me how to solve the problem ... I don't want to enable gui - therefor I didn't use the option --enable-gui ... the Output: ======= vo_gl.c: In function `preinit': vo_gl.c:373: warning: initialization discards qualifiers from pointer target type cc -c -I../libvo/ -I../../libvo -O4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I../osdep -I/usr/include/freetype2 -I/usr/X11/include -I/usr/include/directfb -DMPG12PLAY -o vo_gl2.o vo_gl2.c cc -c -I../libvo/ -I../../libvo -O4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I../osdep -I/usr/include/freetype2 -I/usr/X11/include -I/usr/include/directfb -DMPG12PLAY -o vo_aa.o vo_aa.c cc -c -I../libvo/ -I../../libvo -O4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I../osdep -I/usr/include/freetype2 -I/usr/X11/include -I/usr/include/directfb -DMPG12PLAY -o vo_fbdev.o vo_fbdev.c In file included from /usr/include/asm/pda.h:4, from /usr/include/asm-x86_64/thread_info.h:14, from /usr/include/asm/thread_info.h:4, from /usr/include/linux/thread_info.h:21, from ../osdep/kerneltwosix.h:4, from vo_fbdev.c:21: /usr/include/asm-x86_64/pda.h:26: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/asm-x86_64/pda.h:26: error: requested alignment is not a constant In file included from /usr/include/asm/processor.h:4, from /usr/include/linux/prefetch.h:13, from /usr/include/linux/list.h:7, from ../osdep/kerneltwosix.h:5, from vo_fbdev.c:21: /usr/include/asm-x86_64/processor.h:229: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/asm-x86_64/processor.h:229: error: requested alignment is not a constant make[1]: *** [vo_fbdev.o] Error 1 make[1]: Leaving directory `/usr/src/external/MPlayer-1.0pre4/libvo' make: *** [libvo/libvo.a] Fehler 2 tow@acer1501lmi:/usr/src/external/MPlayer-1.0pre4> tia OLI
torsdagen den 6 maj 2004 23:31 skrev Tim Oliver Wagner:
here the installation works perfect, but if I play a film the video window looks very strange ... there big black bars ... and mplayer told me, that my system is maybe to slow ... I don't think so -> athlon XP 3000+ (64 bit)
Hmm. Looks like the video overlay on your graphics card doesn't work... With "mplayer -vo help" you get a list of output devices that your MPlayer supports. What you want is "xv X11/Xv" If it's not there, configuration and compilation failed for some reason. In addition to this, you need an X-server with the video overlay enabled. The command "xvinfo" will tell you lots and lots of info about your cards video overlay capabilities. If it complains something about "No screens found", then your graphics card/X server combination does not support the X-video overlay properly, and you'll have to use standard the standard X11 output for MPlayer. You might also want to enable software scaling in order to get rid of the black borders with the "-zoom" option. Try to start MPlayer with something like "mplayer -vo x11 -zoom file.avi" but this will consume lots of CPU, and also hog your PCI/AGP bus :-(
the Output: ======= /usr/include/asm-x86_64/pda.h:26: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/asm-x86_64/processor.h:229: error: requested alignment is not a constant
Strange. This is something I never got, might we have different SuSE versions, perhaps? Mine is 9.0, i.e. not the newest one. -- eMail: rap@ava-23.hut.fi Home: +358 9 87750100 Jorgen.Pihlflyckt@hut.fi Work: +358 9 4514777 WWW: http://pihlflyckt.hut.fi/ GSM: +358 40 5240412
Am Freitag, 7. Mai 2004 15:43 schrieb Joergen Pihlflyckt:
torsdagen den 6 maj 2004 23:31 skrev Tim Oliver Wagner:
here the installation works perfect, but if I play a film the video window looks very strange ... there big black bars ... and mplayer told me, that my system is maybe to slow ... I don't think so -> athlon XP 3000+ (64 bit)
Hmm. Looks like the video overlay on your graphics card doesn't work...
With "mplayer -vo help" you get a list of output devices that your MPlayer supports. What you want is "xv X11/Xv" If it's not there, configuration and compilation failed for some reason.
Hi, I think thats really the problem ... I dont know why, but by ./configure the x11 support is listet, but not after installation. :-( Can you help me to solve this problem? Output configure: Video output: xvidix winvidix bl zr zr2 dxr3 dxr2 directx sdl png svga caca aa ggi xmga mga opengl dga xvmc xv x11 tdfx_vid tdfxfb 3dfx quartz Output mplayer -vo help: tow@acer1501lmi:~> mplayer -vo help MPlayer dev-CVS-040509-09:31-3.3.3 (C) 2000-2004 MPlayer Team CPU: Advanced Micro Devices Athlon 64 Clawhammer 797.9 MHz (Family: 8, Stepping: 8) Detected cache-line size is 64 bytes Cannot test OS support for SSE, disabling to be safe. CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2 Reading config file /usr/local/etc/mplayer/mplayer.conf: Datei oder Verzeichnis nicht gefunden Reading config file /home/tow/.mplayer/config Available video output drivers: fbdev Framebuffer Device fbdev2 Framebuffer Device jpeg JPEG file gif89a animated GIF output null Null video output pgm PGM file md5 MD5 sum mpegpes Mpeg-PES to DVB card yuv4mpeg yuv4mpeg output for mjpegtools (to "stream.yuv") vesa VESA VBE 2.0 video output directfb Direct Framebuffer Device dfbmga DirectFB / Matrox G200/G400/G450/G550 cvidix VIDIX tga Targa output tow@acer1501lmi:~>
In addition to this, you need an X-server with the video overlay enabled. The command "xvinfo" will tell you lots and lots of info about your cards video overlay capabilities. If it complains something about "No screens found", then your graphics card/X server combination does not support the X-video overlay properly, and you'll have to use standard the standard X11 output for MPlayer. You might also want to enable software scaling in order to get rid of the black borders with the "-zoom" option. Try to start MPlayer with something like "mplayer -vo x11 -zoom file.avi" but this will consume lots of CPU, and also hog your PCI/AGP bus :-(
mplayer -vo x11 don't work :-(. with option zoom it don't work to.
the Output: ======= /usr/include/asm-x86_64/pda.h:26: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/asm-x86_64/processor.h:229: error: requested alignment is not a constant
Strange. This is something I never got, might we have different SuSE versions, perhaps? Mine is 9.0, i.e. not the newest one.
My one is SuSE 9.1 ...
-- eMail: rap@ava-23.hut.fi Home: +358 9 87750100 Jorgen.Pihlflyckt@hut.fi Work: +358 9 4514777 WWW: http://pihlflyckt.hut.fi/ GSM: +358 40 5240412
Tim Oliver Wagner wrote:
Am Freitag, 7. Mai 2004 15:43 schrieb Joergen Pihlflyckt:
torsdagen den 6 maj 2004 23:31 skrev Tim Oliver Wagner:
here the installation works perfect, but if I play a film the video window looks very strange ... there big black bars ... and mplayer told me, that my system is maybe to slow ... I don't think so -> athlon XP 3000+ (64 bit)
Hmm. Looks like the video overlay on your graphics card doesn't work...
With "mplayer -vo help" you get a list of output devices that your MPlayer supports. What you want is "xv X11/Xv" If it's not there, configuration and compilation failed for some reason.
Hi, I think thats really the problem ... I dont know why, but by ./configure the x11 support is listet, but not after installation. :-(
Can you help me to solve this problem?
Output configure: Video output: xvidix winvidix bl zr zr2 dxr3 dxr2 directx sdl png svga caca aa ggi xmga mga opengl dga xvmc xv x11 tdfx_vid tdfxfb 3dfx quartz
Output mplayer -vo help: tow@acer1501lmi:~> mplayer -vo help MPlayer dev-CVS-040509-09:31-3.3.3 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon 64 Clawhammer 797.9 MHz (Family: 8, Stepping: 8) Detected cache-line size is 64 bytes Cannot test OS support for SSE, disabling to be safe. CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
Reading config file /usr/local/etc/mplayer/mplayer.conf: Datei oder Verzeichnis nicht gefunden Reading config file /home/tow/.mplayer/config Available video output drivers: fbdev Framebuffer Device fbdev2 Framebuffer Device jpeg JPEG file gif89a animated GIF output null Null video output pgm PGM file md5 MD5 sum mpegpes Mpeg-PES to DVB card yuv4mpeg yuv4mpeg output for mjpegtools (to "stream.yuv") vesa VESA VBE 2.0 video output directfb Direct Framebuffer Device dfbmga DirectFB / Matrox G200/G400/G450/G550 cvidix VIDIX tga Targa output
tow@acer1501lmi:~>
In addition to this, you need an X-server with the video overlay enabled. The command "xvinfo" will tell you lots and lots of info about your cards video overlay capabilities. If it complains something about "No screens found", then your graphics card/X server combination does not support the X-video overlay properly, and you'll have to use standard the standard X11 output for MPlayer. You might also want to enable software scaling in order to get rid of the black borders with the "-zoom" option. Try to start MPlayer with something like "mplayer -vo x11 -zoom file.avi" but this will consume lots of CPU, and also hog your PCI/AGP bus :-(
mplayer -vo x11 don't work :-(. with option zoom it don't work to.
the Output: ======= /usr/include/asm-x86_64/pda.h:26: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/asm-x86_64/processor.h:229: error: requested alignment is not a constant
Strange. This is something I never got, might we have different SuSE versions, perhaps? Mine is 9.0, i.e. not the newest one.
My one is SuSE 9.1 ...
-- eMail: rap@ava-23.hut.fi Home: +358 9 87750100 Jorgen.Pihlflyckt@hut.fi Work: +358 9 4514777 WWW: http://pihlflyckt.hut.fi/ GSM: +358 40 5240412
Maybe a rube question, but why does your output show a CPU speed of 797.9 MHz, instead of ~2200 MHz ?
Am Sonntag, 9. Mai 2004 14:05 schrieb William A. Mahaffey III:
Tim Oliver Wagner wrote:
Maybe a rube question, but why does your output show a CPU speed of 797.9 MHz, instead of ~2200 MHz ?
IMHO a reason of the speed step technology ...
Tim Oliver Wagner
Am Sonntag, 9. Mai 2004 14:05 schrieb William A. Mahaffey III:
Tim Oliver Wagner wrote:
Maybe a rube question, but why does your output show a CPU speed of 797.9 MHz, instead of ~2200 MHz ?
IMHO a reason of the speed step technology ...
It's called PowerNow! on AMD. With 9.1, just run powersave -f to get full speed. By default you have dynamic adjustment, Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
torsdag 06 maj 2004 13:52 skrev Tim Oliver Wagner:
Hi List, I tried to compile and install the newest packages of Xine and MPlayer. In both cases I had some Errors.
Did someone installed Xine or MPlayer with 64 bit processor with success? If so, wich version?
I hope someone can help me.
MPlayer doesn't work, there's some assembler code in it, that's 32bit specific. The xine, as distributed by suse is crippled ... but it doesn't mean, the source is. I just recompiled the source, with the proper "enableds" in the spec file, along with the proper libcss, dvdnav, etc libraries.
tia
OLI
PS: I need to watch dvds and avis. dvdcss, ... are no problem to compile and install ... but the kaffeine from SuSE will not play dvds ... :-(
Hello Örn,
Am Thu, 6 May 2004 22:18:57 +0200
schrieben Sie (Örn Hansen
The xine, as distributed by suse is crippled ... but it doesn't mean, the source is. I just recompiled the source, with the proper "enableds" in the spec file, along with the proper libcss, dvdnav, etc libraries.
I assume these are RPMs you have compiled, since you are talking about a spec file. Which sources did you take, the ones from the SuSE DVD? And have you considered sharing these RPMs, e.g. by offering to the Packman team to upload? The Packman people offer lots of RPMs for SuSE, including not-crippled xine, but so far not for the AMD64 platform. Maybe they'll put them up if someone (like you) sends them. I thought about doing this myself, but I'm far too inexperencied (inept :-)) in compiling, building RPMs etc. to actually attempt it. Regards Frank
lördag 08 maj 2004 16:46 skrev Frank Fabian:
Hello Örn,
I assume these are RPMs you have compiled, since you are talking about a spec file. Which sources did you take, the ones from the SuSE DVD? And have you considered sharing these RPMs, e.g. by offering to the Packman team to upload? The Packman people offer lots of RPMs for SuSE, including not-crippled xine, but so far not for the AMD64 platform. Maybe they'll put them up if someone (like you) sends them. I thought about doing this myself, but I'm far too inexperencied (inept :-)) in compiling, building RPMs etc. to actually attempt it.
Pacman has a lot of xine series, already precompiled ... although not for x86_64 platform, I think they can be compiled directly from the source. The reason I chose to do it this way ... was because of the inconsistancy in the naming of the libraries, between pacman and SuSE (xine-lib vs. libxine). It's not really a big trick, but xine as distributed by SuSE has all it needs. Except the proper plugins, if you have the plugins it's enough to install them alone. My personal preference would be to maintain SuSE naming, while adding "plugin" packages. This isn't the Pacman style, so I don't think they'd welcome my contribution as it would break their packaging conventions. Besides, I think the source as distributed by Pacman is directly compilable on 64bit platform, without much changes.
participants (7)
-
acsguy@wtp.net
-
Andreas Jaeger
-
Frank Fabian
-
Joergen Pihlflyckt
-
Tim Oliver Wagner
-
William A. Mahaffey III
-
Örn Hansen