Portál AbcLinuxu, 12. května 2025 02:48

Dotaz: problem s -vo pluginmi mplayera

5.7.2006 16:45 schrapnel | skóre: 8 | Kosice
problem s -vo pluginmi mplayera
Přečteno: 275×
Odpovědět | Admin
Vcera som si nainstalovat Kubuntu kopec veci elegantne doinstalovat cez apt-get, zopar skompiloval, zaujimava haluz sa mi objavila pri kompilacii mplayera. Stiahol som si svn z oficialnych stranok mplayera, skompilovat, vsetko prebehlo OK, a javi sa OK, az kym nedam prehravat video :) Vsetko sa ukonci hlaskou:
FATAL: Could not initialize video filters (-vf) or video output (-vo).
. Stiahol som si a nainstalovat
xorg-dev
a parametre --enable-vsetko-mozne som skusal. configuracia prebehne OK, tak isto aj kompilacia. vystup mplayer -vo help :

# mplayer -vo help
MPlayer dev-SVN-r18909-4.0.3 (C) 2000-2006 MPlayer Team
CPU: AMD Sempron(tm) Processor 2800+ (Family: 15, Model: 44, 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 
nic viac. nic menej. Neviete poradit, co mi chyba alebo, co mam naviac? :) DIK :)
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

5.7.2006 17:40 TurboLama | skóre: 13 | blog: TurboLama
Rozbalit Rozbalit vše Re: problem s -vo pluginmi mplayera
Odpovědět | | Sbalit | Link | Blokovat | Admin
Vypadá to že nemáš zkompilovanou podporu pro X, xv, opengl a další vo zařízení. Vzkoušej jestli jede aspoň fbdev (jestli máš framebuffer) no a pak se ještě jednou mrkni na parametry kompilace. Nevím přesně co by to mělo bejt protože v Gentoo si to nastavuju přes USE proměnnou.
5.7.2006 17:45 schrapnel | skóre: 8 | Kosice
Rozbalit Rozbalit vše Re: problem s -vo pluginmi mplayera
nefunguje ani framebuffer ... pri kompilacii som vyskusal snad vsetky parametre tykajuce sa vide outputu, vsetko prebehne naoko OK, ale nejde to ...
5.7.2006 18:55 petr_p | skóre: 59 | blog: pb
Rozbalit Rozbalit vše Re: problem s -vo pluginmi mplayera
Tak predne mplayer na konci konfigurace (./configure) vypise, s podporou ceho vseho bude prelozen.

Pak se taky muzete podivat na to, co vyleze z make po slinkovani (ldd ./mplayer). Hadam, ze neco jako libX11.so.6 tam mit nebudete a proto ani nejede x11 video vystup.
6.7.2006 07:54 schrapnel | skóre: 8 | Kosice
Rozbalit Rozbalit vše Re: problem s -vo pluginmi mplayera
no .. nemam :) zacinam byt mierne nestastny :) ... ake riesenie odporucate?
6.7.2006 08:03 valesek | skóre: 10
Rozbalit Rozbalit vše Re: problem s -vo pluginmi mplayera
Jen tak, naokraj se chci zeptat jestli tam mate kodeky, protoze se mizda ze to hlasi ze tam neni zadny postup podle ktereho by vedel jak se souborem pracovat. Nekde v adreasari /usr/lib/.../win32/si musite zkopirovat kodeky. Doufam ze je to v tom. Nevim presne v jakem adresari to je ale pokud date hledat ve zdrojich retezec win32 nebo tak neco, tak musite tu cestu nekde tam najit.
6.7.2006 11:54 petr_p | skóre: 59 | blog: pb
Rozbalit Rozbalit vše Re: problem s -vo pluginmi mplayera
Co nemate? Nemate slinkovano proti libX11 nebo neni nakonfiguravana podpora pro X11 behem ./configure?

To prvni je az dusledek toho druheho. Takze co mate na konci configure? Pokud tam je vo x11 jako disabled, tak musite cely vystup z configure (configure.log) a hledat neco jako "checking for x11". Tam se dozvite, proc se rozhodl, ze x11 nebude podporovat. Mel by tam byt i testovaci ceckovy programek a vystup z gcc vcetne chybovych hlasek.
6.7.2006 11:55 petr_p | skóre: 59 | blog: pb
Rozbalit Rozbalit vše Re: problem s -vo pluginmi mplayera
s/musite cely/musite projit cely/
6.7.2006 17:54 schrapnel | skóre: 8 | Kosice
Rozbalit Rozbalit vše Re: problem s -vo pluginmi mplayera
Toto je vystup z ./configure, X11 hlavicky aj lib najde a akceptuje ich ... Tak neviem, kde je chyba ...
root@komp:/home/schrapnel/softz/mplayer# ./configure
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 4.0.3, ok
Checking for host cc ... cc
Checking for cross compilation ... no
Checking for CPU vendor ... AuthenticAMD (15:44:2)
Checking for CPU type ...  AMD Sempron(tm) Processor 2800+
Checking for GCC & CPU optimization abilities ... k8
Checking for kernel support of mmx ... yes
Checking for kernel support of mmxext ... yes
Checking for kernel support of 3dnow ... yes
Checking for kernel support of 3dnowext ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of sse2 ... yes
Checking for mtrr support ... yes
Checking for xmmintrin.h ... yes
Checking for mm3dnow.h ... yes
Checking for assembler support of -pipe option ... yes
Checking for assembler (as 2.16.91) ... ok
Checking for Linux kernel version ... 2.6.15-25-386, ok
Checking for MPlayer binary name ... mplayer
Checking for awk ... mawk
Checking for extra headers ... none
Checking for extra libs ... none
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 round ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes (using -lnsl)
Checking for inet_pton() ... yes (using -lnsl)
Checking for inttypes.h (required) ... yes
Checking for int_fastXY_t in inttypes.h ... yes
Checking for word size ... 32
Checking for stddef.h ... yes
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 rpath ... no
Checking for iconv ... yes
Checking for sys/soundcard.h ... yes
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 ... no
Checking for termios ... yes (using sys/termios.h)
Checking for shm ... yes
Checking for linux devfs ... no
Checking for scandir() ... yes
Checking for strsep() ... yes
Checking for strlcpy() ... no
Checking for strlcat() ... no
Checking for fseeko() ... yes
Checking for localtime_r() ... 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 Samba support (libsmbclient) ... no
Checking for 3dfx ... no
Checking for tdfxfb ... no
Checking for s3fb ... no
Checking for tdfxvid ... no
Checking for tga ... yes
Checking for DirectFB headers presence ... not found
Checking for DirectFB ... no
Checking for X11 headers presence ... yes (using /usr/include)
Checking for X11 ... yes (using /usr/X11R6/lib)
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 ... 2 (using DGA 2.0)
Checking for OpenGL ... no
Checking for /dev/mga_vid ... no
Checking for xmga ... no
Checking for GGI ... no
Checking for GGI extension: libggiwmh ... no
Checking for AA ... no
Checking for CACA ... no
Checking for SVGAlib ... no
Checking for FBDev ... yes
Checking for DVB ... no (specify path to DVB/ost/include with --with-dvbincdir=DIR)
Checking for DVB HEAD ... yes
Checking for PNG support ... no
Checking for JPEG support ... no
Checking for PNM support ... yes
Checking for GIF support ... no
Checking for VESA support ... no
Checking for SDL ... no
Checking for NAS ... no
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for libmp1e ... no
Checking for libfame ... no
Checking for OSS Audio ... yes
Checking for aRts ... no
Checking for EsounD ... no
Checking for Polyp ... no
Checking for JACK ... no
Checking for OpenAL ... no
Checking for ALSA audio ... no
Checking for Sun audio ... no
Checking for VCD support ... yes
Checking for DVD support (libmpdvdkit2) ... yes
Checking for DVD support (libdvdread) ... no (disabled by libmpdvdkit2)
Checking for DVD support (libdvdnav) ... no
Checking for cdparanoia ... no
Checking for libcdio ... no
Checking for freetype >= 2.0.9 ... yes
Checking for fontconfig ... yes
Checking for fribidi with charsets ... no
Checking for ENCA ... no
Checking for zlib ... yes
Checking for RTC ... yes
Checking for external liblzo support ... no
Checking for mad support ... no
Checking for Toolame ... no
Checking for Twolame ... no
Checking for OggVorbis support ... yes (internal Tremor)
Checking for libspeex (version >= 1.1 required) ... no
Checking for OggTheora support ... no
Checking for mp3lib support ... yes
Checking for liba52 support ... yes
Checking for libdts support ... no
Checking for libmpeg2 support ... yes
Checking for libmpcdec (musepack, version >= 1.2.1 required) ... no
Checking for FAAC (AAC encoder) support ... no
Checking for FAAD2 (AAC) support ... yes
Checking for LADSPA plugin support ... no
Checking for Win32 codec DLL support ... yes (using /usr/local/lib/codecs)
Checking for Win32 loader support ... yes
Checking for XAnim DLL ... yes (using /usr/local/lib/codecs)
Checking for RealPlayer DLL ... yes (using /usr/local/lib/codecs)
Checking for LIVE555 Streaming Media libraries ... no
Checking for FFmpeg libavutil (static) ... yes
Checking for FFmpeg libavcodec (static) ... yes
Checking for FFmpeg libavformat (static) ... yes
Checking for FFmpeg libpostproc (static) ... yes
Checking for md5sum support ... yes
Checking for AMR narrowband ... no
Checking for AMR narrowband, fixed point ... no
Checking for AMR wideband ... no
Checking for libdv-0.9.5+ ... no
Checking for zr ... no
Checking for bl ... no
Checking for XviD ... no
Checking for x264 ... no
Checking for DivX4linux/DivX5linux/OpenDivX decore ... no
Checking for libmp3lame (for mencoder) ... no
Checking for DivX4linux encore (for mencoder) ... no
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 audio select() ... yes
Checking for network ... yes
Checking for ftp ... yes
Checking for vstream client ... no
Checking for byte order ... little-endian
Checking for OSD menu ... no
Checking for QuickTime codecs ... yes
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for inet6 ... yes
Checking for gethostbyname2 ... yes
Checking for GUI ... no
Checking for iconv program ... yes
Checking for automatic gdb attach ... no
Checking for compiler support for -fno-PIC ... yes
Checking for compiler support for noexecstack ... yes
Checking for ftello() ... yes
Checking for VIDIX (internal) ... yes
Checking for VIDIX (external) ... no
Checking for joystick ... no
Checking for lirc ... no
Checking for lircc ... no
Creating config.mak
Creating config.h
Creating libvo/config.mak
Creating libao2/config.mak
Creating libaf/config.mak

Config files successfully generated by ./configure !

  Install prefix: /usr/local
  Data directory: /usr/local/share/mplayer
  Config direct.: /usr/local/etc/mplayer

  Byte order: little-endian
  Optimizing for: k8 mmx mmxext 3dnow 3dnowext sse sse2 mtrr

  Languages:
    Messages/GUI: en
    Manual pages:  en

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

'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 (check whether
the development headers/packages are installed).
Do not report compilation errors if you used any of the --enable-* options
(except --enable-gui and maybe --enable-debug).

If you suspect a bug, please read DOCS/HTML/en/bugreports.html.

root@komp:/home/schrapnel/softz/mplayer#  
.. a tak isto c configure.log su oblasti X11 detekovane a akceptovane:

============ 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-926-11025.o /tmp/mplayer-conf-27674-11025.c -L/usr/X11R6/lib -lXext -lX11 -lnsl -lpthread

ldd /tmp/mplayer-conf-926-11025.o
	linux-gate.so.1 =>  (0xffffe000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0xb7f7a000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0xb7e94000)
	libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb7e7e000)
	libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7e6c000)
	libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7d3d000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0xb7d3a000)
	libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7d37000)
	/lib/ld-linux.so.2 (0xb7f99000)

Result is: yes (using /usr/X11R6/lib)
7.7.2006 09:30 petr_p
Rozbalit Rozbalit vše Re: problem s -vo pluginmi mplayera
Tady je vse v poradku. Opravdu po prelozeni ta binarka neni slinkovana proti X11 (ldd ./mplayer)? Jsi si jisty ze zkoumas novy build a ne nejaky stary (./mplayer vs. /usr/local/bin/mplayer vs. /usr/bin/mplayer)? Neni nahodou ./mplayer jen nejaky wrapper kvuli nenainstalovanym knihovnam? Ja to ted checkoutnout nemuzu, takze to nemuzu overit (treba sis stahnul nejakou hodne vyvojovou verzi, kde jim to zrovna nefunguje).

Jeste by ses mohl podivat, jestli na konci kompilace, kdy se linkuji vsechny objekty dohromady, skutecne linkuje i s /usr/lib/libX11.so.6. Vic me nenapada.
13.8.2006 22:46 Darket
Rozbalit Rozbalit vše Re: problem s -vo pluginmi mplayera
Odpovědět | | Sbalit | Link | Blokovat | Admin
Zdar Mám naprosto stejný problém v Suse 10.1 .Je zajímavé že do notebooku jsem ho instaloval naprosto stejným způsobem a jede tam bez problémů.V PC však jen FATAL ERROR video out -vo. Taky už nevím co s tím. :-(
31.8.2006 21:31 Darket
Rozbalit Rozbalit vše Re: problem s -vo pluginmi mplayera
Odpovědět | | Sbalit | Link | Blokovat | Admin
Já už na to v Suse přišel.Je to konflikt s ovladačema ATI.Při spouštění Mplayeru jsem hned na okno kliknul pravým tlačítem myši a vlezl do nastavení,nahoře jsem se přepnul na kartu"video" a na ní označil řádek OPEN GL. Dal jsem ok a MPlayer jede. To samá v kaffeine v nastavení. Ati jsou hold problémové. Napiš jestli ti to pomohlo.

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.