kdekorte / gecko-mediaplayer

Automatically exported from code.google.com/p/gecko-mediaplayer
GNU General Public License v2.0
0 stars 0 forks source link

Not playing streams from any website #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. can not play streams from apple.com, nasatv bascially any where
windowsmedia player, real, or quicktime
2.
3.

What is the expected output? What do you see instead?
a stream to be played.  just a gray screen

What version of the product are you using? On what operating system?
gecko-mediaplayer-0.9.8 gnome-mplayer-0.9.8, gentoo x86 kernel 2.6.30-r8

Please provide any additional information below.

Original issue reported on code.google.com by barcal...@gmail.com on 27 Oct 2009 at 4:10

GoogleCodeExporter commented 9 years ago
====================================================================
What version of the product are you using? On what operating system?
====================================================================

---
OS:
---
* Debian Lenny 5.0.3
* Custom kernel 2.6.24.3

----------------------------------
Browser & gecko-mediaplayer plugin
----------------------------------
* firefox 3.5rc2

* gecko-mediaplayer-0.9.8.tar.gz 

------------------------------ 
Multimedia Packages, libs, ...
------------------------------

* mplayer,mencoder,libffmpeg,liavcodec etc... : debian-multimedia.org :
svn20080706...blah...blah...blah

* libmozjs0d : not installed
* libmozjs1d : debian : 1.9.0.13-0lenny1

----------------- 
XUL stuff ouuuuch
-----------------
** libnspr4-dev : debian : 4.7.1-4      
** libnss3-dev  : debian : 3.12.3.1-0lenny1 
** libmozjs-dev : debian : 1.9.0.13-0lenny1

** xulrunner-1.9               : debian : 1.9.0.13-0lenny1
** xulrunner-1.9-gnome-support : debian : 1.9.0.13-0lenny1
** xulrunner-dev               : debian : 1.9.0.13-0lenny1  

** libxul0d      : not installed
** libxul-common : not installed
** libxul-dev    : not installed

======================================
What steps will reproduce the problem?
======================================

--- The Build ---
First time I tried to build I got these warnings at configure step :
mozilla-plugin not found, trying another
firefox-plugin not found, trying another
seamonkey-plugin not found, trying another
xulrunner-plugin not found, trying another

Then make didnt work ( missing npapi.h )

After a search on the web, I finally ran ./configure --help
and discovered the --with-xulrunner-sdk option. Excellent ! 
I have xulrunner-dev in debian packages, sounds good !
So I installed xulrunner-dev ( and removed libxul & libxul-dev 
coz on the web it appeard that libxul had been been 
superseeded by xulrunner ).

And I ran " ./configure --with-xulrunner-sdk" : no warnings, yeah.

Then make...and...
"plugin.h:40:19: error: npapi.h: No such file or directory"

I finally found a bug in the configure script, that generate 
strange "yes" CPPFLAGS :
"-Iyes/include -Iyes/include/plugin -Iyes/include/nspr 
-Iyes/include/xpcom -Iyes/include/string -Iyes/include/java"

I corrected it by inserting at line 8705 in the configure script:
XULRUNNER_SDK_PREFIX="/usr/lib/xulrunner-devel-1.9/sdk" ; the scripts add 
"include" and finally "/usr/lib/xulrunner-devel-1.9/sdk/include"
is a symlink to /usr/include/xulrunner-1.9/stable".

I Re-ran configure, and make finally worked.

Then make install.

=====================================================
What is the expected output? What do you see instead?
=====================================================
A stream to be played. Just a gray rectangle.

================
Additional infos
================
Firefox shows in Tools -> Add-ons -> Plugins :

Divx browser plugin
Gecko Media Player 0.9.8 Video Player Plug-in for QuickTime,RealPlayer and 
Windows
Media Player streams using mplayer

mplayerplugin is now gecko-mediaplayer 0.9.8
Gecko Media Player 0.9.8 Video Player Plug-in for QuickTime,RealPlayer and 
Windows
Media Player streams using mplayer

QuickTime Plug-in 7.4.5
Gecko Media Player 0.9.8 Video Player Plug-in for QuickTime,RealPlayer and 
Windows
Media Player streams using mplayer

RealPlayer 9
Gecko Media Player 0.9.8 Video Player Plug-in for QuickTime,RealPlayer and 
Windows
Media Player streams using mplayer

Window Media Player Plug-in
Gecko Media Player 0.9.8 Video Player Plug-in for QuickTime,RealPlayer and 
Windows
Media Player streams using mplayer

That correspond to the shared libraries installed in /usr/lib/mozilla/plugins :

gecko-mediaplayer-dvx.so
gecko-mediaplayer-qt.so
gecko-mediaplayer-rm.so
gecko-mediaplayer.so
gecko-mediaplayer-wmp.so

===========
Extras info
===========
The Debian package manager say that xulrunner-dev depend on packages :
 libnss3-dev
 libnspr4-dev
while all these headers files are already present in the
xulrunner-dev packages under :
/usr/include/xulrunner-1.9/stable
/usr/include/xulrunner-1.9/unstable

Original comment by earlg...@free.fr on 25 Dec 2009 at 2:15

GoogleCodeExporter commented 9 years ago
Does gnome-mplayer work at all? You need to have it installed and working as 
well.
And then for more information, enabled debugging in gnome-mplayer and then run
firefox from a terminal (with no other firefox instances open) and you should 
get
debug information.

Original comment by kdeko...@gmail.com on 26 Dec 2009 at 2:33

GoogleCodeExporter commented 9 years ago
I didnt have gnome-mplayer installed ; so I downloaded version 0.9.8
and it seems to be OK ( only tried apple trailers for instant ).

So thanx a lot.

But it should be indicated at configure time.

Thanks again.

TIP for debian users:
=====================
Since Debian Lenny is shipped with libgtk-2.12, you will get
this at the end of the compilation (linking) :

gui.o: In function `drawing_area_realized':
${YOUR_PATH}/src/gui.c:97: undefined reference to `gtk_widget_get_window'

The problem is this call to GDK_WINDOW_XID in the file gui.c :

    /* requesting the XID forces the GdkWindow to be native in GTK+ 2.18
     * onwards, requesting the native window in a thread causes a BadWindowID,
     * so we need to request it now. We could call gdk_window_ensure_native(),
     * but that would mean we require GTK+ 2.18, so instead we call this */
     GDK_WINDOW_XID(gtk_widget_get_window(GTK_WIDGET(widget)));

According to the comment, with gtk+-2.12 you can simply ignore this line. 
For example, comment it by adding "//" :

    /* requesting the XID forces the GdkWindow to be native in GTK+ 2.18
     * onwards, requesting the native window in a thread causes a BadWindowID,
     * so we need to request it now. We could call gdk_window_ensure_native(),
     * but that would mean we require GTK+ 2.18, so instead we call this */
     //GDK_WINDOW_XID(gtk_widget_get_window(GTK_WIDGET(widget)));

And make will succeed.

Original comment by earlg...@free.fr on 26 Dec 2009 at 6:12

GoogleCodeExporter commented 9 years ago
gecko-mediaplayer depends on gnome-mplayer. I believe it is pretty clear in the
documentation that it should work this way.

And the tip you have specified has already been fixed in SVN of gnome-mplayer.

Original comment by kdeko...@gmail.com on 26 Dec 2009 at 8:19

GoogleCodeExporter commented 9 years ago
Gnome-mplayer is installed on my pc and it works.  However I am unable to play
streams from any website.  I have tried playing the link directly in 
gnome-mplayer
and nothing happens.

Original comment by barcal...@gmail.com on 22 Jan 2010 at 4:00

GoogleCodeExporter commented 9 years ago
xulrunner-1.9.1.7, gnome-mplayer and gecko-media-player 0.9.8 firefox-3.6

Original comment by barcal...@gmail.com on 22 Jan 2010 at 4:07

GoogleCodeExporter commented 9 years ago
barcallin, this bug is closed please open another one. Also when you do your 
report
please post the output of "gnome-mplayer -v [URL]"

Original comment by kdeko...@gmail.com on 22 Jan 2010 at 4:23