Sida 3 av 3

Re: Hur klickar man på play m.m. mplayer

Postat: 20 jul 2009, 07:16
av Sid
kör en

Kod: Markera allt

./configure --enable-gui --enable-menu --enable-dvdnav
och ge mig output

Re: Hur klickar man på play m.m. mplayer

Postat: 20 jul 2009, 07:20
av xtr3m3
Har kört det hur många gånger som helst så en gång till skadar väl inte :)

Kod: Markera allt

x-inimus@servern:~/MPlayer-1.0rc2$ ./configure --enable-gui --enable-menu --enable-dvdnav
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 4.3.3, ok 
Checking for host cc ... cc 
Checking for cross compilation ... no 
Checking for CPU vendor ... GenuineIntel (15:2:9) 
Checking for CPU type ...  Intel(R) Pentium(R) 4 CPU 2.66GHz 
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 cmov ... yes 
Checking for mtrr support ... yes 
Checking for GCC & CPU optimization abilities ... native 
Checking for assembler support of -pipe option ... yes 
Checking for compiler support of named assembler arguments ... yes 
Checking for assembler (as ) ... ok 
Checking for .align is a power of two ... no 
Checking for Linux kernel version ... 2.6.28-13-generic, ok 
Checking for -lposix ... no 
Checking for -lm ... yes 
Checking for langinfo ... yes 
Checking for language ... using en (man pages: 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 posix4 ... no 
Checking for lrintf ... yes 
Checking for mkstemp ... yes 
Checking for nanosleep ... yes 
Checking for socklib ... yes 
Checking for inet_pton() ... yes (using )
Checking for network ... yes 
Checking for inttypes.h (required) ... yes 
Checking for int_fastXY_t in inttypes.h ... yes 
Checking for word size ... 32 
Checking for malloc.h ... yes 
Checking for memalign() ... yes 
Checking for alloca.h ... yes 
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 w32threads ... no (using pthread instead)
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 ... yes (using -lncurses)
Checking for termios ... yes (sys/termios.h)
Checking for shm ... yes 
Checking for strsep() ... yes 
Checking for vsscanf() ... yes 
Checking for swab() ... yes 
Checking for POSIX select() ... yes 
Checking for gettimeofday() ... yes 
Checking for glob() ... yes 
Checking for setenv() ... yes 
Checking for sys/sysinfo.h ... yes 
Checking for pkg-config ... yes 
Checking for Samba support (libsmbclient) ... yes 
Checking for tdfxfb ... no 
Checking for s3fb ... no 
Checking for tdfxvid ... no 
Checking for xvr100 ... no 
Checking for tga ... yes 
Checking for md5sum support ... yes 
Checking for bl ... no 
Checking for DirectFB ... yes (1.0.1)
Checking for X11 headers presence ... yes 
Checking for X11 ... yes 
Checking for DPMS ... yes (using Xdpms 4)
Checking for Xv ... yes 
Checking for XvMC ... no 
Checking for Xinerama ... yes 
Checking for Xxf86vm ... yes 
Checking for XF86keysym ... yes 
Checking for DGA ... yes (using DGA 2.0)
Checking for 3dfx ... no 
Checking for OpenGL ... yes 
Checking for VIDIX ... yes (internal)
Checking for /dev/mga_vid ... no 
Checking for xmga ... no 
Checking for GGI ... yes 
Checking for GGI extension: libggiwmh ... no 
Checking for AA ... yes 
Checking for CACA ... yes 
Checking for SVGAlib ... yes 
Checking for FBDev ... yes 
Checking for DVB ... no 
Checking for DVB HEAD ... yes 
Checking for zr ... no 
Checking for PNG support ... yes 
Checking for JPEG support ... yes 
Checking for PNM support ... yes 
Checking for GIF support ... yes 
Checking for broken giflib workaround ... disabled 
Checking for VESA support ... no 
Checking for SDL ... yes (using sdl-config)
Checking for NAS ... yes 
Checking for DXR2 ... no 
Checking for DXR3/H+ ... yes 
Checking for IVTV TV-Out ... yes 
Checking for V4L2 MPEG Decoder ... yes 
Checking for OSS Audio ... yes 
Checking for aRts ... no 
Checking for EsounD ... yes 
Checking for esd_get_latency() ... yes 
Checking for Polyp ... no 
Checking for JACK ... yes 
Checking for OpenAL ... yes 
Checking for ALSA audio ... yes (using alsa 1.0.x and alsa/asoundlib.h)
Checking for Sun audio ... no 
Checking for VCD support ... yes 
Checking for dvdread ... yes (internal)
Checking for internal libdvdcss ... yes 
Checking for cdparanoia ... yes 
Checking for libcdio ... auto (using cdparanoia)
Checking for bitmap font support ... yes 
Checking for freetype >= 2.0.9 ... yes 
Checking for fontconfig ... yes 
Checking for SSA/ASS support ... yes 
Checking for fribidi with charsets ... yes 
Checking for ENCA ... yes 
Checking for zlib ... yes 
Checking for RTC ... yes 
Checking for liblzo2 support ... yes 
Checking for mad support ... yes 
Checking for Twolame ... yes 
Checking for Toolame ... no (disabled by twolame)
Checking for OggVorbis support ... yes (internal Tremor)
Checking for libspeex (version >= 1.1 required) ... yes 
Checking for OggTheora support ... yes 
Checking for internal mp3lib support ... yes 
Checking for internal liba52 support ... yes 
Checking for libdca support ... yes 
Checking for internal libmpeg2 support ... yes 
Checking for libmpcdec (musepack, version >= 1.2.1 required) ... yes 
Checking for FAAC (AAC encoder) support ... yes (in libavcodec: yes) 
Checking for FAAD2 (AAC) support ... yes (internal floating-point)
Checking for LADSPA plugin support ... yes 
Checking for Win32 codecs ... yes (using /usr/local/lib/codecs)
Checking for XAnim codecs ... yes (using /usr/local/lib/codecs)
Checking for RealPlayer codecs ... yes (using /usr/local/lib/codecs)
Checking for QuickTime codecs ... yes 
Checking for Nemesi Streaming Media libraries ... no 
Checking for LIVE555 Streaming Media libraries ... yes (using distribution version)
Checking for FFmpeg libavutil ... yes (static)
Checking for FFmpeg libavcodec ... yes (static)
Checking for FFmpeg libavformat ... yes (static)
Checking for FFmpeg libpostproc ... yes (static)
Checking for libamr narrowband ... no 
Checking for libamr wideband ... no 
Checking for libdv-0.9.5+ ... yes 
Checking for XviD ... yes 
Checking for XviD two pass plugin ... yes 
Checking for x264 ... yes (in libavcodec: yes) 
Checking for libnut ... no 
Checking for libmp3lame (for mencoder) ... yes 
Checking for mencoder ... yes 
Checking for fastmemcpy ... yes 
Checking for UniquE RAR File Library ... yes 
Checking for TV interface ... yes 
Checking for Video 4 Linux TV interface ... yes 
Checking for Video 4 Linux 2 TV interface ... yes 
Checking for TV teletext interface ... yes 
Checking for Radio interface ... no 
Checking for Capture for Radio interface ... no 
Checking for Video 4 Linux 2 Radio interface ... no 
Checking for Video 4 Linux Radio interface ... no 
Checking for Video 4 Linux 2 MPEG PVR interface ... yes 
Checking for audio select() ... yes 
Checking for ftp ... yes 
Checking for vstream client ... no 
Checking for byte order ... little-endian 
Checking for OSD menu ... yes 
Checking for Subtitles sorting ... yes 
Checking for XMMS inputplugin support ... no 
Checking for inet6 ... yes 
Checking for gethostbyname2 ... yes 
Checking for GUI ... yes
Checking for XShape extension ... yes 
Checking for GTK+ version ... 2.16.1 
Checking for glib version ... 2.20.1 
Checking for automatic gdb attach ... no 
Checking for compiler support for noexecstack ... yes 
Checking for joystick ... no 
Checking for lirc ... yes 
Checking for lircc ... no 
Checking for color console output ... no 
Checking for DVD support (libdvdnav) ... yes 
Creating config.mak
Creating config.h

Config files successfully generated by ./configure --enable-gui --enable-menu --enable-dvdnav !

  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  

  Enabled optional drivers:
    Input: dvdnav ftp pvr tv-teletext tv-v4l2 tv-v4l tv live555 cddb cdda libdvdcss(internal) dvdread(internal) vcd dvb smb network 
    Codecs: x264 xvid libdv libavcodec qtx real xanim win32 faad2 faac musepack libmpeg2 libdca liba52 mp3lib libtheora speex tremor(internal) twolame libmad liblzo gif 
    Audio output: alsa openal jack esd oss v4l2 ivtv nas sdl mpegpes(dvb) 
    Video output: v4l2 ivtv dxr3 sdl gif89a pnm jpeg png mpegpes(dvb) fbdev svga caca aa ggi xvidix cvidix opengl dga xv x11 xover dfbmga directfb md5sum tga 
    Audio filters: ladspa 
  Disabled optional drivers:
    Input: vstream radio nemesi 
    Codecs: libamr_wb libamr_nb toolame 
    Audio output: sun polyp arts dxr2 
    Video output: dxr2 vesa zr zr2 xmga mga winvidix 3dfx xvmc bl xvr100 tdfx_vid s3fb tdfxfb 
    Audio filters: 

'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 configure.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-gui 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.

Re: Hur klickar man på play m.m. mplayer

Postat: 20 jul 2009, 07:23
av Sid
Ja det ser väl bra ut. make då?

Re: Hur klickar man på play m.m. mplayer

Postat: 20 jul 2009, 07:23
av xtr3m3

Kod: Markera allt

x-inimus@servern:~/MPlayer-1.0rc2$ make
./version.sh `cc -dumpversion`
cc -I./libavcodec -I./libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I. -I./libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/usr/include/directfb -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT    -I/usr/include/freetype2 -I/usr/include -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include -I/usr/include -DDVDNAV_USES_EXTERNAL_DVDREAD   -c -o mplayer.o mplayer.c
In file included from mplayer.c:173:
stream/stream_dvdnav.h:4:20: error: dvdnav.h: No such file or directory
In file included from mplayer.c:173:
stream/stream_dvdnav.h:18: error: expected specifier-qualifier-list before 'dvdnav_t'
In file included from mplayer.c:793:
cfg-mplayer.h:64: warning: redundant redeclaration of 'enqueue'
mplayer.c:230: warning: previous definition of 'enqueue' was here
mplayer.c: In function 'parse_cfgfiles':
mplayer.c:815: warning: ignoring return value of 'write', declared with attribute warn_unused_result
mplayer.c: In function 'main':
mplayer.c:2503: warning: format not a string literal and no format arguments
mplayer.c:2664: warning: passing argument 2 of 'guiGetEvent' from incompatible pointer type
make: *** [mplayer.o] Fel 1

Re: Hur klickar man på play m.m. mplayer

Postat: 20 jul 2009, 07:29
av Sid

Kod: Markera allt

sudo aptitude install libdvdnav-dev

Re: Hur klickar man på play m.m. mplayer

Postat: 20 jul 2009, 07:34
av xtr3m3
Funkar ändå inte.

Re: Hur klickar man på play m.m. mplayer

Postat: 20 jul 2009, 07:35
av xtr3m3
make och make install:

Kod: Markera allt

x-inimus@servern:~/MPlayer-1.0rc2$ make
./version.sh `cc -dumpversion`
cc -I./libavcodec -I./libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I. -I./libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/usr/include/directfb -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT    -I/usr/include/freetype2 -I/usr/include -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include -I/usr/include -DDVDNAV_USES_EXTERNAL_DVDREAD   -c -o mplayer.o mplayer.c
In file included from mplayer.c:173:
stream/stream_dvdnav.h:4:20: error: dvdnav.h: No such file or directory
In file included from mplayer.c:173:
stream/stream_dvdnav.h:18: error: expected specifier-qualifier-list before 'dvdnav_t'
In file included from mplayer.c:793:
cfg-mplayer.h:64: warning: redundant redeclaration of 'enqueue'
mplayer.c:230: warning: previous definition of 'enqueue' was here
mplayer.c: In function 'parse_cfgfiles':
mplayer.c:815: warning: ignoring return value of 'write', declared with attribute warn_unused_result
mplayer.c: In function 'main':
mplayer.c:2503: warning: format not a string literal and no format arguments
mplayer.c:2664: warning: passing argument 2 of 'guiGetEvent' from incompatible pointer type
make: *** [mplayer.o] Fel 1
x-inimus@servern:~/MPlayer-1.0rc2$ make install
install -d /usr/local/bin
install -d /usr/local/share/mplayer
install -d /usr/local/share/man/man1
install -d /usr/local/etc/mplayer
if test -f /usr/local/etc/mplayer/codecs.conf ; then mv -f /usr/local/etc/mplayer/codecs.conf /usr/local/etc/mplayer/codecs.conf.old ; fi
cc -I./libavcodec -I./libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I. -I./libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/usr/include/directfb -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT    -I/usr/include/freetype2 -I/usr/include -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include -I/usr/include -DDVDNAV_USES_EXTERNAL_DVDREAD   -c -o mplayer.o mplayer.c
In file included from mplayer.c:173:
stream/stream_dvdnav.h:4:20: error: dvdnav.h: No such file or directory
In file included from mplayer.c:173:
stream/stream_dvdnav.h:18: error: expected specifier-qualifier-list before 'dvdnav_t'
In file included from mplayer.c:793:
cfg-mplayer.h:64: warning: redundant redeclaration of 'enqueue'
mplayer.c:230: warning: previous definition of 'enqueue' was here
mplayer.c: In function 'parse_cfgfiles':
mplayer.c:815: warning: ignoring return value of 'write', declared with attribute warn_unused_result
mplayer.c: In function 'main':
mplayer.c:2503: warning: format not a string literal and no format arguments
mplayer.c:2664: warning: passing argument 2 of 'guiGetEvent' from incompatible pointer type
make: *** [mplayer.o] Fel 1

Re: Hur klickar man på play m.m. mplayer

Postat: 20 jul 2009, 07:40
av xtr3m3
Lyckades bygga ett deb paket från en guide utan problem. Dock så verkar den version som jag försöker installera vara en äldre version för det finns en nyare i förråden.

Sen fast jag tog bort mplayer för det verkade ha blivit installerat ändå och installerade med deb paketet så står det att samma version redan är installerad.
Verkar bli installerad utan att det skapa en ikon i menyn + att det verkar inte installeras nån gui fast man väljer det.

Re: Hur klickar man på play m.m. mplayer

Postat: 20 jul 2009, 07:41
av Sid
körde du en make clean innan?

Re: Hur klickar man på play m.m. mplayer

Postat: 20 jul 2009, 07:43
av Sid
orr3bo skrev:Lyckades bygga ett deb paket från en guide utan problem. Dock så verkar den version som jag försöker installera vara en äldre version för det finns en nyare i förråden.

Sen fast jag tog bort mplayer för det verkade ha blivit installerat ändå och installerade med deb paketet så står det att samma version redan är installerad.
Verkar bli installerad utan att det skapa en ikon i menyn + att det verkar inte installeras nån gui fast man väljer det.
Lyckades du bygga ett debpaket utan problem?

Re: Hur klickar man på play m.m. mplayer

Postat: 20 jul 2009, 07:45
av xtr3m3
Jo.

kan ju göra om det. för detta står när jag skriver mplayer i terminalen: MPlayer was compiled WITHOUT GUI support.

Så jag ska köra make clean, make och make install eller?

Varför har dom en gammal version på när man tar ner den med svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer.

Ska köra med den jag laddade ner från hemsidan istället.

Re: Hur klickar man på play m.m. mplayer

Postat: 20 jul 2009, 07:49
av Sid
orr3bo skrev:Jo.

kan ju göra om det. för detta står när jag skriver mplayer i terminalen: MPlayer was compiled WITHOUT GUI support.

Så jag ska köra make clean, make och make install eller?

Varför har dom en gammal version på när man tar ner den med svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer.

Ska köra med den jag laddade ner från hemsidan istället.
Varför har du suttit här om du är kapabel att bygga ett debpaket av senaste mplayer?

Re: Hur klickar man på play m.m. mplayer

Postat: 20 jul 2009, 07:51
av xtr3m3
Jag har aldrig byggt ett deb paket tidigare. Gjorde det under tiden som jag höll på att försöka få igång på det andra sättet.

Hittade en guide på samma sida som installationen: http://www.mplayerhq.hu/DOCS/HTML-singl ... tml#debian

Re: Hur klickar man på play m.m. mplayer

Postat: 20 jul 2009, 07:53
av Sid
orr3bo skrev:Jag har aldrig byggt ett deb paket tidigare. Gjorde det under tiden som jag höll på att försöka få igång på det andra sättet.

Hittade en guide på samma sida som installationen: http://www.mplayerhq.hu/DOCS/HTML-singl ... tml#debian
Funkar det då?

Re: Hur klickar man på play m.m. mplayer

Postat: 20 jul 2009, 07:54
av xtr3m3
Ska göra om det för även fast jag la till gui så menade den att det inte var tillagt. Vet om 30 minuter ungefär.

Re: Hur klickar man på play m.m. mplayer

Postat: 20 jul 2009, 09:14
av xtr3m3
Nu fick jag till ett deb paket som fungerar efter många om och men. Men inte så är dvdnav aktiverat trots att jag körde det kommandot.

Ska forsätta testa senare. Är för trött just nu. Har varit vaken över ett dygn för jag har inte kunnat sova.


Tack så mycket för all hjälp. Ett speciellt stort tack till Sid


Om nån vill ha deb paketet så är det bara att skicka ett pm. Det är dock en gammal version (1.0svn 32-bit) och ni får lägga till eget skin innan den fungerar.

Länk till skins: http://www.mplayerhq.hu/design7/dload.html
Länk till hur ni lägger till skins: http://www.mplayerhq.hu/DOCS/HTML/en/gui.html


*EDIT*

Hittade att man måste installera dvdnav separat först: http://www.mplayerhq.hu/DOCS/tech/dvdnav-howto.txt

Dock så krånglar det vid ./configure2 && make för den person som skrivit filerna verkar ha varit yr i mössan tror jag ;D Ett scrip hänvisar till en fil som heter version.h och den existerar inte utan den heter i själva verket version.sh. Går man in i scriptet och rättar till det så uppstår nästa problem.
Ger upp det här nu. Jag får helt enkel spola framåt. Det är inte hela världen och inte så jobbigt :)