PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : mplayer kompilieren



fatso
20.08.05, 13:21
Ja, schon wieder ich ;) Aber wer nicht fragt bleibt dumm, oder wie war das noch gleich? Also erstmal vorweg, ich fahre Kubuntu 5.04 mit dem KDE 3.4.2 aufm 2.6.5.10er Kernel. Rechner ist ein i686, OS aber i386. Ich habe vergeblich versucht den mplayer zu kompilieren. Bei k3b ist es mir allerdings geglückt ;) Hier mal ein auszug aus dem was mich beschäftigt.

sing GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale

MPlayer 1.0pre7-3.3.5 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices (Family: 8, Stepping: 0)
Detected cache-line size is 64 bytes
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



Warning unknown option vo_dxr3_device at line 6
Warning unknown option font_encoding at line 30
Warning unknown option font_text_scale at line 31
Warning unknown option font_osd_scale at line 32
Warning unknown option font_blur at line 33
Warning unknown option font_outline at line 34
Warning unknown option font_autoscale at line 35
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
libpng warning: Incomplete compressed datastream in iCCP chunk
libpng warning: Profile size field missing from iCCP chunk
libpng warning: Incomplete compressed datastream in iCCP chunk
libpng warning: Profile size field missing from iCCP chunk
libpng warning: Incomplete compressed datastream in iCCP chunk
libpng warning: Profile size field missing from iCCP chunk
libpng warning: Incomplete compressed datastream in iCCP chunk
libpng warning: Profile size field missing from iCCP chunk
libpng warning: Incomplete compressed datastream in iCCP chunk
libpng warning: Profile size field missing from iCCP chunk
libpng warning: Incomplete compressed datastream in iCCP chunk
libpng warning: Profile size field missing from iCCP chunk
libpng warning: Incomplete compressed datastream in iCCP chunk
libpng warning: Profile size field missing from iCCP chunk
libpng warning: Incomplete compressed datastream in iCCP chunk
libpng warning: Profile size field missing from iCCP chunk
libpng warning: Incomplete compressed datastream in iCCP chunk
libpng warning: Profile size field missing from iCCP chunk
libpng warning: Incomplete compressed datastream in iCCP chunk
libpng warning: Profile size field missing from iCCP chunk
libpng warning: Incomplete compressed datastream in iCCP chunk
libpng warning: Profile size field missing from iCCP chunk


MPlayer interrupted by signal 11 in module: unknown
- MPlayer crashed by bad usage of CPU/FPU/RAM.
Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.


Falls jemand von euch mir weiterhelfen könnte wäre das sehr schön ;)

bussen
20.08.05, 17:16
Versuchs doch erst mal mit ner anderen Version von libpng

tooly
20.08.05, 18:43
Hallo,

mit welchen CLFAGS hast Du MPlayer übersetzt? MPlayer ist sehr kritisch gegenüber optimierungen.

mfg
tooly

fatso
21.08.05, 17:20
Also, ich bin relative unerfahren was das Kompilieren angeht. Ich habe versucht auf eine ältere Version von libpng umzusteigen, aber dann will mir der Synaptic sämtliche KDE Programme mit deinstallieren.

Was CFLAGS sind weiss ich leider nicht!

Ich habe um es einfach zu sagen die Codes von der mplayerhq seite sowie die fonts in die entsprechenden Ordner kopiert und dann ./configure --enable-gui, make & make install gemacht.

tooly
21.08.05, 17:26
Hallo fatso,

CLFAGS sind die compilerflags für den C Compiler mit denen Du ein Programm übersetzten läst. Welche CLFAGS gesetzt sind kannst Du mit echo $CLFAGS ansehen und mit unset CLFAGS alle löschen. Hier findest Du eine Anleitung wie Du MPlayer aus dem Sourcecode installieren kannst : http://www.lfs-matrix.de/blfs/view/svn/multimedia/mplayer.html

mfg
tooly

fatso
23.08.05, 12:16
So, ich bin jetzt schon etwas weiter gekommen. Das "make" macht er ohne Fehler. Leider spuckt er mir beim "make install" folgendes aus:

make[1]: Leaving directory `/home/jan/anwendungen/mplayer/MPlayer-20050806/libdha'
make[1]: Entering directory `/home/jan/anwendungen/mplayer/MPlayer-20050806/vidix'
make[2]: Entering directory `/home/jan/anwendungen/mplayer/MPlayer-20050806/vidix/drivers'
mkdir -p /usr/local/lib/mplayer/vidix
install -m 755 -s -p *.so /usr/local/lib/mplayer/vidix
make[2]: Leaving directory `/home/jan/anwendungen/mplayer/MPlayer-20050806/vidix/drivers'
make[1]: Leaving directory `/home/jan/anwendungen/mplayer/MPlayer-20050806/vidix'
make install -C libavcodec/libpostproc
make[1]: Entering directory `/home/jan/anwendungen/mplayer/MPlayer-20050806/libavcodec/libpostproc'
install -d /usr/local/lib
install -m 755 libpostproc.so /usr/local/lib/libpostproc.so.0.0.1
ln -sf libpostproc.so.0.0.1 /usr/local/lib/libpostproc.so
ln -sf libpostproc.so.0.0.1 /usr/local/lib/libpostproc.so.0
install -d /usr/local/lib/pkgconfig
install -m 644 ../../libpostproc.pc /usr/local/lib/pkgconfig
install: cannot stat `../../libpostproc.pc': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/jan/anwendungen/mplayer/MPlayer-20050806/libavcodec/libpostproc'
make: *** [install] Fehler 2

Mag mir da nochmal jemand helfen? Wäre super nett.

GrafKox
23.08.05, 13:14
Warum willst Du unbedingt selbst kompilieren?
Passe doch einfach Deine Source-liste entsprechend an und lad das Ding runter.

Anbei meine Sourcelist:

#deb cdrom:[Ubuntu 5.04 _Hoary Hedgehog_ - Release i386 (20050407)]/ hoary main restricted

## Uncomment the following two lines to fetch updated software from the network
deb http://ftp.inf.tu-dresden.de/os/linux/dists/ubuntu hoary main restricted
deb-src http://de.archive.ubuntu.com/ubuntu hoary main restricted

## Uncomment the following two lines to fetch major bug fix updates produced
## after the final release of the distribution.
deb http://ftp.inf.tu-dresden.de/os/linux/dists/ubuntu hoary-updates main restricted
deb-src http://de.archive.ubuntu.com/ubuntu hoary-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://ftp.inf.tu-dresden.de/os/linux/dists/ubuntu hoary universe multiverse
deb-src http://de.archive.ubuntu.com/ubuntu hoary universe

deb http://security.ubuntu.com/ubuntu hoary-security main restricted
deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted

deb http://security.ubuntu.com/ubuntu hoary-security universe
deb-src http://security.ubuntu.com/ubuntu hoary-security universe

deb http://ubuntu-backports.mirrormax.net/ hoary-backports main universe multiverse restricted
deb http://ubuntu-backports.mirrormax.net/ hoary-extras main universe multiverse restricted

deb http://mirror.brianpuccio.net/ubuntu-backports-repository/ hoary-backports main universe multiverse restricted
deb http://mirror.brianpuccio.net/ubuntu-backports-repository/ hoary-extras main universe multiverse restricted

## The Opera Web Browser

deb http://deb.opera.com/opera/ stable non-free
deb http://deb.opera.com/opera/ testing non-free
deb http://deb.opera.com/opera/ unstable non-free

## neue KDE Versionen
deb http://kubuntu.org/hoary-kde342/ hoary-updates main

bussen
23.08.05, 13:45
Vesuch doch mal, den Xvid Codec zu disablen.

--diable Xvid , oder so aehnlich

fatso
04.09.05, 15:20
Weil die Versionen aus den repositories bei mir nich so laufen wie sie sollen, deshalb. Finde die Frage auch etwas überflüssig, dennoch danke für deinen Hinweis.

Ich habe den MPlayer jetzt nochmal komplett neu kompiliert und er läuft auch super. Nur der Gui macht mir Probleme. Wenn ich den Gui in der Console mit gmplayer starte bekomme ich folgenden Fehler:

libpng warning: Incomplete compressed datastream in iCCP chunk
libpng warning: Profile size field missing from iCCP chunk

Falls mir jemand helfen kann wäre das sehr nett. Und nein, ich will keinen anderen Player oder so. ;)

fatso
04.09.05, 16:14
So, ich habe nach Stunden endlich die Lösung gefunden. Es war die Gui!!! Ich verwende jetzt eine andere und es läuft einwandfrei. Manchmal ist die Lösung einfach zu einfach .... :ugly:

eikevons
05.09.05, 22:26
Hallo,

ich möchte nur erwähnen, dass man aus den MPlayer-Quellen ganz leicht ein *.deb Paket bauen kann. Alles dazu notwendige ist in den Quellen schon drin (/debian/ Verzeichnis mit den nötigen Dateien)!

cd MPlayer1.0pre7try2/
./configure --disable-runtime-cpudetection [...]
DEB_BUILD_OPTIONS="--disable-runtime-cpudetection [...]" fakeroot debian/rules binary
Das erstellt im übergeordneten Verzeichnis ein mplayer_*.deb. Das macht es einfacherer eine neue Version zu installieren. Das ./configure mach ich nur zur Sicherheit, damit man überprüfen kann, ob auch alles, was gewünscht wird, einkompiliert wird.

tschuess,
eike