Portál AbcLinuxu, 27. dubna 2024 00:59


Dotaz: MPLayer kompilace

Pavel Stupka avatar 14.1.2005 16:37 Pavel Stupka | skóre: 8 | Sezimovo Ústi
MPLayer kompilace
Přečteno: 477×
Odpovědět | Admin
Cau, omlouvam se za tenhle dotaz, ale uz toho mam opravdu dost a potrebuju poradit jak mam zkompilovat mplayer, aby prehraval wmv soubory. Udelal jsem to jak je naspano v postupu instalace na oficialnich strankach MPlayeru - nahrat win kodedy do /usr/local/lib/codecs a pak kompiloval a nic, zkousel jsem je jeste nahrat i do /usr/local/lib/win32 postaru a taky nic, proste co mam stahnout a kam nahrat a jak potom MPlayer zkompilovat, aby to slo, dik a jeste jednou se omlouvam
Nástroje: Začni sledovat (1) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

14.1.2005 17:19 Robert Krátký | skóre: 94 | blog: Robertův bloček
Rozbalit Rozbalit vše Re: MPLayer kompilace
Odpovědět | | Sbalit | Link | Blokovat | Admin
Když proběhne skript ./configure, jsou mezi "Enabled optional drivers" vypsané i ty win32 kodeky? Asi takto:
  Enabled optional drivers:
    Input: ftp network edl tv matroska mpdvdkit2 vcd dvb
    Codecs: qtx divx5linux xvid libavcodec real dshow/dmo win32 faad2(internal) ... atd.
    Audio output: alsa esd arts oss nas mpegpes(dvb)
    Video output: xvidix cvidix vesa md5sum pnm jpeg png mpegpes(dvb) fbdev ... atd.
    Audio filters:
  Disabled optional drivers:
    Input: tv-v4l2 tv-v4
...
... atd.
Pokud ne, podívej se do výpisu toho skriptu a najdi řádky:
Checking for Win32 codec DLL support ... yes (using /usr/lib/win32)
Checking for Win32 loader support ... yes
Co na nich máš napsáno ty?

Btw, neomlouvej se furt... tak to prostě nejde, no a co...
14.1.2005 17:49 Petr Šobáň | skóre: 80 | blog: soban | Olomouc
Rozbalit Rozbalit vše Re: MPLayer kompilace
Odpovědět | | Sbalit | Link | Blokovat | Admin
Jednoduše mu při ./configure zadej kde ty kodeky jsou

./configure --enable-gui --with-codecsdir=/usr/local/lib/w32codec-0.90
14.1.2005 18:10 klassik | skóre: 24 | blog: Klassikov | Praha
Rozbalit Rozbalit vše Re: MPLayer kompilace
kdyz uz sme u toho.Pri kompilaci mplayeru jsem zdar --enable-gui ale mplayer nefunguje s grafickym rozhranim.Proc je tomu tak jsem dodneska nezjistil a vubec netusim proc to nejde.(ve FC2 to bylo baz problemu ve FC3 ani prd)
V podstatě nic nevím
14.1.2005 18:17 honza_s
Rozbalit Rozbalit vše Re: MPLayer kompilace
a mas tam nekde nejaky skin? (~/.mplyaer/skins/default)

(verim ze uz to tu nekde bylo)
14.1.2005 18:36 klassik | skóre: 24 | blog: Klassikov | Praha
Rozbalit Rozbalit vše Re: MPLayer kompilace
jojo skiny tam mam.. sou tam kde maj byt.. mplayer funguje ale bez graf.rozhrani
V podstatě nic nevím
14.1.2005 18:43 honza_s
Rozbalit Rozbalit vše Re: MPLayer kompilace
a co se ti vypise, kdyz spustis na terminalu gmplayer?
14.1.2005 18:54 klassik | skóre: 24 | blog: Klassikov | Praha
Rozbalit Rozbalit vše Re: MPLayer kompilace
[klassik@klassik ~]$ gmplayer MPlayer 1.0pre6-3.4.2 (C) 2000-2004 MPlayer Team CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton (Family: 6, Stepping: 0) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

vo: X11 running at 1280x1024 with depth 16 and 16 bpp (":0.0" => local display) Linux RTC init error in ioctl (rtc_irqp_set 1024): Přístup odmítnut Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
V podstatě nic nevím
14.1.2005 18:55 klassik | skóre: 24 | blog: Klassikov | Praha
Rozbalit Rozbalit vše Re: MPLayer kompilace
pardon
[klassik@klassik ~]$ gmplayer
MPlayer 1.0pre6-3.4.2 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE


vo: X11 running at 1280x1024 with depth 16 and 16 bpp (":0.0" => local display)
Linux RTC init error in ioctl (rtc_irqp_set 1024): Přístup odmítnut
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.

V podstatě nic nevím
14.1.2005 19:04 Petr Šobáň | skóre: 80 | blog: soban | Olomouc
Rozbalit Rozbalit vše Re: MPLayer kompilace
vo: X11 running at 1280x1024 with depth 16 and 16 bpp (":0.0" => local display)
Skus použít větší barevnou hloubku a vypnout selinux.

Mě to šlape OK.
14.1.2005 19:12 klassik | skóre: 24 | blog: Klassikov | Praha
Rozbalit Rozbalit vše Re: MPLayer kompilace
blbej dotaz... jak vypnout selinux:-(....ve dvojce mi taky slapal normalne nevim proc ted ne.
V podstatě nic nevím
14.1.2005 19:08 klassik | skóre: 24 | blog: Klassikov | Praha
Rozbalit Rozbalit vše Re: MPLayer kompilace
kdyz to vypnu pomoci ctrl+c tak jeste naskoci

MPlayer interrupted by signal 2 in module: unknown

Pokud to nahusto vypnu(krizkem na okne)vypise se:

It can by a bug in the Mplayer code_or_in your drivers_or_in xour gcc version. Gcc je snad jiny nez ve fedore 2? nebo jiny driveri ke graficke karte?...tuto hlasku sem objevil az ted kdyz sem to natvrdo vypnul...
V podstatě nic nevím
14.1.2005 18:15 honza_s
Rozbalit Rozbalit vše Re: MPLayer kompilace
Odpovědět | | Sbalit | Link | Blokovat | Admin
me to funguje tak, ze nekam rozbalim balik essentialxxx.tar.bz2 a tuto cestu uvedu pri configure jako --with-win32-lib-dir=... ci tak neco. pozor taky na prestarly codecs.conf v ~/.mplayer.
Pavel Stupka avatar 14.1.2005 21:15 Pavel Stupka | skóre: 8 | Sezimovo Ústi
Rozbalit Rozbalit vše Re: MPLayer kompilace
Me uz to taky funguje, resp - kompilace probehne v poho, win32 kodeky mu nastavim, v pohode si je nadje, ale kdyz spustim mplayer, tak se to kousne a vypise to:

Playing film.wmv.
Cache fill: 7,87% (659924 bytes) ASF file format detected.
============ ASF Stream group == START ===
object size = 38
stream count=[0x2][2]
stream id=[0x1][1]
max bitrate=[0x5950][22864]
stream id=[0x2][2]
max bitrate=[0x45682][284290]
============ ASF Stream group == END ===
VIDEO: [WMV3] 320x240 24bpp
==========================================================================
Trying to force audio codec driver family libmad...
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 22050 Hz, 1 ch, 16 bit (0x10), ratio: 2501->44100 (20,0 kbit)

Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (ffmpeg))
==========================================================================
vo: X11 running at 1152x864 with depth 24 and 32 bpp (":0.0" => localdisplay)
Xv: could not grab port 105
Xv: could not grab port 106
==========================================================================
Opening video decoder: [dmo] DMO video codecs

a nic dal to nedela :(

Kdyz to chci abortovat ctrl+c, tak to vypise:

MPlayer interrupted by signal 2 in module: enable_cache
14.1.2005 21:27 klassik | skóre: 24 | blog: Klassikov | Praha
Rozbalit Rozbalit vše Re: MPLayer kompilace
vitej do klubu
V podstatě nic nevím
14.1.2005 21:32 zabza | skóre: 52 | blog: Nad_sklenkou_cerveneho
Rozbalit Rozbalit vše Re: MPLayer kompilace
fajn, pojede vam to s jinym vystupem ... mplayer -vo help a vyberte neco jineho nez xv (resp. sdl:x11, to taky jede pres xv). co mate za kartu? prikaz xvinfo neco hezkeho vypise?
14.1.2005 21:38 klassik | skóre: 24 | blog: Klassikov | Praha
Rozbalit Rozbalit vše Re: MPLayer kompilace
jo s parametrama xo a xv x11 jsem to zkousel a nic..
[klassik@klassik ~]$ xvinfo
X-Video Extension version 2.2
screen #0
  Adaptor #0: "NV Video Overlay"
    number of ports: 1
    port base: 61
    operations supported: PutImage
    supported visuals:
      depth 16, visualID 0x23
      depth 16, visualID 0x24
      depth 16, visualID 0x25
      depth 16, visualID 0x26
      depth 16, visualID 0x27
      depth 16, visualID 0x28
      depth 16, visualID 0x29
      depth 16, visualID 0x2a
    number of attributes: 9
      "XV_DOUBLE_BUFFER" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_COLORKEY" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 2110)
      "XV_AUTOPAINT_COLORKEY" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_SET_DEFAULTS" (range 0 to 0)
              client settable attribute
      "XV_BRIGHTNESS" (range -512 to 511)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_CONTRAST" (range 0 to 8191)
              client settable attribute
              client gettable attribute (current value is 4096)
      "XV_SATURATION" (range 0 to 8191)
              client settable attribute
              client gettable attribute (current value is 4096)
      "XV_HUE" (range 0 to 360)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_ITURBT_709" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 0)
    maximum XvImage size: 2046 x 2046
    Number of image formats: 4
      id: 0x32595559 (YUY2)
        guid: 59555932-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x59565955 (UYVY)
        guid: 55595659-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
  Adaptor #1: "NV Video Blitter"
    number of ports: 32
    port base: 62
    operations supported: PutImage
    supported visuals:
      depth 16, visualID 0x23
      depth 16, visualID 0x24
      depth 16, visualID 0x25
      depth 16, visualID 0x26
      depth 16, visualID 0x27
      depth 16, visualID 0x28
      depth 16, visualID 0x29
      depth 16, visualID 0x2a
    no port attributes defined
    maximum XvImage size: 2046 x 2046
    Number of image formats: 5
      id: 0x32595559 (YUY2)
        guid: 59555932-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x59565955 (UYVY)
        guid: 55595659-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x3
        guid: 03000000-0000-0010-8000-00aa00389b71
        bits per pixel: 32
        number of planes: 1
        type: RGB (packed)
        depth: 24
        red, green, blue masks: 0xff0000, 0xff00, 0xff
V podstatě nic nevím
14.1.2005 22:35 petr_p
Rozbalit Rozbalit vše Re: MPLayer kompilace
Jakou mate verzi MPlayeru, jaky prekladac jste pouzil? (Starsi verze MPlayeru maji problemy s novymi GCC.) Pokud mate starsi verzi, stahnete si posledni 1.0pre6 a posledni essential codecky (manual je jiz uplny a jsou popsany vsechny volby - pres 6000 radku).

Vyzkousejte vzorove sobory z archivu ftp://ftp.mplayerhq.hu/MPlayer/samples/asf-wmv/. Pripadne uvedte link na ten svuj problematicky (pokud muzete).

Netahate, doufam, ten soubor ze site pres mms protokol?
14.1.2005 22:49 klassik | skóre: 24 | blog: Klassikov | Praha
Rozbalit Rozbalit vše Re: MPLayer kompilace
nene.Mam tu posledni verzi mplayeru. ve fc2 sem nemel zadny problem. mam gcc co je ve fc3 s kompilaci jsem nemel zatim zadny problem(az na sim)
V podstatě nic nevím

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.