Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: x-ms-asf plugin pre Operu  (Přečteno 2977 krát)

mipo

  • Návštěvník
  • Příspěvků: 77
    • http://www.mipo.us
x-ms-asf plugin pre Operu
« kdy: 11 Listopadu 2006, 15:03:27 »
Dnes som si chcel pustiť záznam z http://www.monday.cz/monday-tv/061009_BM_high.html a Opera aj Firefox zahlásili chýbajúci plugin x-ms-mms. Nikde ho včak nemôžem nájsť. Ako postupovať?
Vopred díky.
MiPo - Zápisník - TV program - Kalos club
HP nx6125 AMD64 - Ubuntu 6.06 32bit

syntax_error

  • Aktivní člen
  • *
  • Příspěvků: 235
    • http://bnk.ic.cz
x-ms-asf plugin pre Operu
« Odpověď #1 kdy: 11 Listopadu 2006, 18:12:04 »
Mate nainstalovane vsechny kodeky?

Pro Firefox je k dispozici mozilla-mplayer ktery v mem pripade video na teto strance prehraje bez problemu. Mozna bude nutne odinstalovat balik totem-mozilla.

mipo

  • Návštěvník
  • Příspěvků: 77
    • http://www.mipo.us
x-ms-asf plugin pre Operu
« Odpověď #2 kdy: 11 Listopadu 2006, 20:22:31 »
Mám nainštalovaný balíček W32codecs a používam XMMS a MPlayer.
Našiel som návod na nainštalovanie mplayerplug-in (http://mplayerplug-in.sourceforge.net/download.php) do Firefoxu/Opery. Postupujem podľa návodu http://www.opera.com/linux/docs/plugins/install/#mplayer Vyžaduje kompiláciu pomocou Gecko-SDK, to som stiahol (http://developer.mozilla.org/en/docs/Gecko_SDK) v a rozbalil. Po spustení:
Kód: [Vybrat]
$ ./configure --enable-x --with-g ecko-sdk=../gecko-sdkvšetko prebehne, ale na konci sa objaví
Kód: [Vybrat]
**************************************************************
         ARE YOU SURE YOU WANT TO BUILD WITHOUT GTK?
 BECAUSE mplayerplug-in WITHOUT GTK TAKES AWAY FUNCITIONALITY
**************************************************************
Následne
Kód: [Vybrat]
sudo ./makeneprehne a zahlási kvantu chýb:
Kód: [Vybrat]
g++ -c -o plugin.o -Wall -g -O2   -g -O2  -DXP_UNIX -DMOZ_X11 -I../gecko-sdk -I. ./gecko-sdk/include -Iinclude -fPIC -DXPCOM_GLUE -DMOZILLA_STRICT_API    -DX_ENA BLED   Source/plugin.cpp
In file included from Source/plugin.h:55,
                 from Source/plugin.cpp:37:
Source/plugin-setup.h:4:27: error: X11/Intrinsic.h: No such file or directory
Source/plugin-setup.h:5:28: error: X11/StringDefs.h: No such file or directory
include/pluginbase.h:55: warning: ‘class nsPluginInstanceBase’ has virtual funct ions but non-virtual destructor
../gecko-sdk/include/nsISupportsBase.h:80: warning: ‘class nsISupports’ has virt ual functions but non-virtual destructor
../gecko-sdk/include/nsIProgrammingLanguage.h:32: warning: ‘class nsIProgramming Language’ has virtual functions but non-virtual destructor
../gecko-sdk/include/nsIClassInfo.h:33: warning: ‘class nsIClassInfo’ has virtua l functions but non-virtual destructor
Source/nsIScriptableMplayerPlugin.h:25: warning: ‘class nsIScriptableWMPPlugin’ has virtual functions but non-virtual destructor
Source/nsIScriptableMplayerPlugin.h:120: warning: ‘class nsIScriptableMplayerPlu gin’ has virtual functions but non-virtual destructor
Source/nsScriptablePeer.h:56: warning: ‘class nsClassInfoMixin’ has virtual func tions but non-virtual destructor
Source/plugin-setup.h:129: error: ‘Widget’ does not name a type
Source/plugin-setup.h:198: error: variable or field ‘DrawUI’ declared void
Source/plugin-setup.h:198: error: ‘Widget’ was not declared in this scope
Source/plugin-setup.h:198: error: expected primary-expression before ‘*’ token
Source/plugin-setup.h:198: error: ‘instance’ was not declared in this scope
Source/plugin-setup.h:198: error: expected primary-expression before ‘char’
Source/plugin-setup.h:199: error: expected primary-expression before ‘int’
Source/plugin-setup.h:199: error: expected primary-expression before ‘int’
Source/plugin-setup.h:199: error: initializer expression list treated as compoun d expression
Source/plugin-setup.h:201: warning: ‘RedrawCB’ initialised and declared ‘extern’
Source/plugin-setup.h:201: error: variable or field ‘RedrawCB’ declared void
Source/plugin-setup.h:201: error: ‘Widget’ was not declared in this scope
Source/plugin-setup.h:201: error: ‘XtPointer’ was not declared in this scope
Source/plugin-setup.h:202: error: ‘XtPointer’ was not declared in this scope
Source/plugin-setup.h:202: error: initializer expression list treated as compoun d expression
Source/plugin.h:169: error: ‘Widget’ does not name a type
../gecko-sdk/include/nsIServiceManager.h:40: warning: ‘class nsIServiceManager’ has virtual functions but non-virtual destructor
../gecko-sdk/include/nsIMemory.h:58: warning: ‘class nsIMemory’ has virtual func tions but non-virtual destructor
Source/plugin.cpp: In constructor ‘nsPluginInstance::nsPluginInstance(NPP_t*)’:
Source/plugin.cpp:200: error: ‘widget’ was not declared in this scope
Source/plugin.cpp: In member function ‘virtual NPError nsPluginInstance::SetWind ow(NPWindow*)’:
Source/plugin.cpp:734: error: ‘widget’ was not declared in this scope
Source/plugin.cpp:736: error: ‘XtWindowToWidget’ was not declared in this scope
Source/plugin.cpp:738: error: ‘XtEventHandler’ was not declared in this scope
Source/plugin.cpp:738: error: ‘XtAddEventHandler’ was not declared in this scope
Source/plugin.cpp: In member function ‘virtual NPError nsPluginInstance::Destroy Stream(NPStream*, NPError)’:
Source/plugin.cpp:1395: error: ‘widget’ was not declared in this scope
Source/plugin.cpp:1395: error: ‘DrawUI’ cannot be used as a function
Source/plugin.cpp: In member function ‘virtual int32 nsPluginInstance::Write(NPS tream*, int32, int32, void*)’:
Source/plugin.cpp:1938: error: ‘widget’ was not declared in this scope
Source/plugin.cpp:1941: error: ‘DrawUI’ cannot be used as a function
Source/plugin.cpp:1970: error: ‘widget’ was not declared in this scope
Source/plugin.cpp:1973: error: ‘DrawUI’ cannot be used as a function
make: *** [plugin.o] Error 1
Predpokladám, že chybu bude v integrovaní Gecko-SDK do systému. Príliš tomu nerozumiem, tak budem rád, ak mi poradíte. Díky.
MiPo - Zápisník - TV program - Kalos club
HP nx6125 AMD64 - Ubuntu 6.06 32bit

syntax_error

  • Aktivní člen
  • *
  • Příspěvků: 235
    • http://bnk.ic.cz
x-ms-asf plugin pre Operu
« Odpověď #3 kdy: 11 Listopadu 2006, 21:32:41 »
Citace: mipo
Kód: [Vybrat]
...
Source/plugin-setup.h:4:27: error: X11/Intrinsic.h: No such file or directory
Source/plugin-setup.h:5:28: error: X11/StringDefs.h: No such file or directory
...
To vypada na absenci nekterych hlavickovych souboru - konkretne bych tipoval xorg-dev
Mozna si na to stezoval uz skript configure, doporucuju zkontrolovat jeho vystup.

syntax_error

  • Aktivní člen
  • *
  • Příspěvků: 235
    • http://bnk.ic.cz
x-ms-asf plugin pre Operu
« Odpověď #4 kdy: 11 Listopadu 2006, 21:42:11 »
Tech -dev baliku je zapotrebi vic, proto si configure stezuje na absenci GTK.
Mozna by ten plugin ani nebylo zapotrebi kompilovat; jestlize mate nainstalovany jiz zmineny balik (mplayer-plugin), Opera by si jej mela najit sama - v navodu je jako jedna z moznosti zminen adresar /usr/lib/mozilla/plugins
Jedine, co je pravdepodobne nutne je krok 6:
Kód: [Vybrat]
sudo ln -s /usr/lib/mozilla/libxpcom.so /usr/lib

mipo

  • Návštěvník
  • Příspěvků: 77
    • http://www.mipo.us
x-ms-asf plugin pre Operu
« Odpověď #5 kdy: 12 Listopadu 2006, 00:00:20 »
Pomocou návodu http://ubuntuforums.org/showthread.php?t=179694&highlight=file+directory+error%3A+X11%2FIntrinsic.h%3A sa mi podarilo dostať do stavu, kedy Opera nehlási chýbajpci kodek, ale vykresľuje šedý obdĺžnik v mieste video.
Vo FAQ mplayerplug-in som našiel:
Citace
All I get is a grey box
If you are using the gecko-sdk method, make sure you are using the right version of it. I recommend gecko-sdk 1.6 for Mozilla 1.6 and Firefox < 1.2 (check your about: location) and see what the version following rv: is. If it is 1.7.x it is ok to use gecko-sdk 1.7 otherwise use gecko-sdk 1.6.
Viete niekto, kde zohnať gecko-sdk 1.6? Nedarí sa mi ho nikde nájsť.

Vo Firefoxe po nainštalovaní mozilla-mplayera sa objaví Buffering, Connecting to... a potom ten istý šedý obdĺžnik ako v Opere:-(

BTW: Pokiaľ dám ./configure --with-gecko-sdk=../gecko-sdk/ prebehne to v poriadku. Keď dám ./configure --enable-x --with-gecko-sdk=../gecko-sdk/ --enable-gtk2 alebo ./configure --enable-x --with-gecko-sdk=../gecko-sdk/ zahlási
Kód: [Vybrat]
**************************************************************
         ARE YOU SURE YOU WANT TO BUILD WITHOUT GTK?
 BECAUSE mplayerplug-in WITHOUT GTK TAKES AWAY FUNCITIONALITY
**************************************************************
MiPo - Zápisník - TV program - Kalos club
HP nx6125 AMD64 - Ubuntu 6.06 32bit

syntax_error

  • Aktivní člen
  • *
  • Příspěvků: 235
    • http://bnk.ic.cz
x-ms-asf plugin pre Operu
« Odpověď #6 kdy: 12 Listopadu 2006, 10:33:34 »
Citace: mipo
BTW: Pokiaľ dám ./configure --with-gecko-sdk=../gecko-sdk/ prebehne to v poriadku. Keď dám ./configure --enable-x --with-gecko-sdk=../gecko-sdk/ --enable-gtk2 alebo ./configure --enable-x --with-gecko-sdk=../gecko-sdk/ zahlási
Kód: [Vybrat]
**************************************************************
         ARE YOU SURE YOU WANT TO BUILD WITHOUT GTK?
 BECAUSE mplayerplug-in WITHOUT GTK TAKES AWAY FUNCITIONALITY
**************************************************************
bylo by mozne sem vlozit cely vypis skriptu ./configure?

a jestlize mate stazene gecko sdk, nebylo by od veci jej zkompilovat a nainstalovat.

Vojtin

  • Host
x-ms-asf plugin pre Operu
« Odpověď #7 kdy: 12 Listopadu 2006, 11:16:47 »
Ve firefoxu mi to video funguje s pluginem totem, v opeře mi video nefunguje

 

Provoz zaštiťuje spolek OpenAlt.