Confusing output from gecko-mediaplayer 1.0.6

120 views
Skip to first unread message

Kurt Freytag

unread,
Jun 28, 2012, 4:17:28 PM6/28/12
to gecko-me...@googlegroups.com
Ever since I started using gecko-mediaplayer as a plugin in Firefox (1.0.3), I've gotten the following sort of output when it loads and plays a video:

NPP_New called
gecko mediaplayer v1.0.6
Using player backend of ''
in media state change with state = 1
in media state change with state = 0
DBUS connection created
Listening to path /control/14301
Loading QuickTime compatibility
ARG[0]: type = video/quicktime
ARG[1]: src = /assets/videos/67_1.mov
ARG[2]: onmediacomplete = Player.playNextItem()
ARG[3]: id = gecko_zone_28a82deb-a766-c244-0d17-dc089133e94b
ARG[4]: showcontrols = false
ARG[5]: height = 1080
ARG[6]: width = 1920
Window resized
Calling GetURLNotify with item = 0xac93b000 src = /assets/videos/67_1.mov
item is null
Entering destroy stream reason = 1 for http://localhost/assets/videos/67_1.mov
Exiting destroy stream reason = 1 for http://localhost/assets/videos/67_1.mov
Sending SetProgressText to connection 0xb451abc0
Sending SetURL to connection 0xb451abc0
Sending SetProgressText to connection 0xb451abc0
Sending SetURL to connection 0xb451abc0
Entering destroy stream reason = 0 for http://localhost/assets/videos/67_1.mov
Sending SetProgressText to connection 0xb451abc0
in Destroy Stream
Entering list_parse_qt localsize = 61780717
Exiting list_parse_qt
Entering list_parse_qt2 localsize = 61780717
Exiting list_parse_qt2
Entering list_parse_asx localsize = 61780717
Exiting list_parse_asx
Entering list_parse_qml localsize = 61780717
Exiting list_parse_qml
Entering list_parse_ram localsize = 61780717
Exiting list_parse_ram
Sending Open /home/dat/.cache/gnome-mplayer/plugin/gecko-mediaplayermaliis to connection 0xb451abc0
item->hrefid = 0 item->src = http://localhost/assets/videos/67_1.mov
Sending SetURL to connection 0xb451abc0
URL Notify url = '/assets/videos/67_1.mov'
reason = 0
/home/dat/.cache/gnome-mplayer/plugin/gecko-mediaplayermaliis
/control/14301

A few things confuse / concern me:
  1. The output reports that the plugin is "Using player backend of ''". That seems wrong
  2. The output reports (twice) that item is NULL
  3. The output reports that is is "Destroy[ing the] stream", even though the video plays fine
I get the same output for every video, yet *almost* every video plays without issue (sometimes a video will play without sound once but play fine the next time around).

   If I play a loop of videos for 24 or 48 hours in a row, I'll sooner or later get a popup error dialog (Ubuntu 12.04, Firefox 13) saying "Gnome MPlayer Error Failed to open (null)", but I don't know if this is in any way related.

   What I'm asking is the following:
  1. Does the output above suggest that there are problems in my build / configuration?
  2. Is there a reason why gnome-mplayer would throw a popup error with that message and can I fix or disable them?
Thanks,
Kurt

Kevin DeKorte

unread,
Jun 29, 2012, 2:58:01 PM6/29/12
to gecko-me...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Kurt,

Sorry, I wasn't able to get to your email yesterday.

Anyway your questions:

> 1. The output reports that the plugin is "Using player backend of
> ''".

All this means is that gnome-mplayer is being used and not some other
backend, And yes, if an application emulated the gnome-mplayer dbus
interface, then gecko-mediaplayer could use it. I guess I could clean
up that message a little. Nothing to worry about.


> 2. The output reports (twice) that item is NULL

This can happen in a couple of conditions, usually firefox is calling
method in the plugin without associated context. This is ok, just
means that we have to be generic about what we are doing at that point.


> 3. The output reports that is is "Destroy[ing the] stream", even
though the video plays fine. This is normal when we download the video
to the local disk and then play it from there, as downloading can be
faster than playback if the server is local.

NPN_DestroyStream is a plugin method that is called when the stream is
complete. Perfectly normal and in somecases exactly what we want to
do. (Reference files are examples of this).


As for the plugin crashing or getting a popup. Well sometimes that
happens. We try to reduce those that we find, but sometimes things go
wrong. If you have a site I can test against, I could try that from
here. You can email me privately if you don't want to share it with
the world.

The popups can only be disabled by modifying the code at this point.
In 1.0.7 there is a new message logging system that is being installed
and it should reduce the amount of noise output by the plugin.

Kevin
> 1. The output reports that the plugin is "Using player backend of
> ''". That seems wrong 2. The output reports (twice) that item is
> NULL 3. The output reports that is is "Destroy[ing the] stream",
> even though the video plays fine
>
> I get the same output for every video, yet *almost* every video
> plays without issue (sometimes a video will play without sound once
> but play fine the next time around).
>
> If I play a loop of videos for 24 or 48 hours in a row, I'll
> sooner or later get a popup error dialog (Ubuntu 12.04, Firefox 13)
> saying "Gnome MPlayer Error Failed to open (null)", but I don't
> know if this is in any way related.
>
> What I'm asking is the following:
>
> 1. Does the output above suggest that there are problems in my
> build / configuration? 2. Is there a reason why gnome-mplayer would
> throw a popup error with that message and can I fix or disable
> them?
>
> Thanks, Kurt
>
> -- You received this message because you are subscribed to the
> Google Groups "gecko-mediaplayer" group. To view this discussion on
> the web visit
> https://groups.google.com/d/msg/gecko-mediaplayer/-/lU-YJYDonGIJ.
> To post to this group, send email to
> gecko-me...@googlegroups.com. To unsubscribe from this group,
> send email to gecko-mediapla...@googlegroups.com. For
> more options, visit this group at
> http://groups.google.com/group/gecko-mediaplayer?hl=en.


- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/t+rUACgkQ6w2kMH0L1dH7bQCeOXWiNPEjYa3boVePVzJ+G9eM
2loAn37Qji9Hdx+mNTUEjrk3wG9vQPOU
=ydBZ
-----END PGP SIGNATURE-----

Kurt Freytag

unread,
Jun 29, 2012, 3:02:03 PM6/29/12
to gecko-me...@googlegroups.com
Kevin -

Thanks so much for the replies.

Glad to know that it's all basically "acting normally".

- Kurt

Kevin DeKorte

unread,
Jul 5, 2012, 2:47:34 PM7/5/12
to Kurt Freytag, gecko-me...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kurt,

Those messages look ok to me, although we are working at cleaning them up.

What version of the SVN code were you using?

Kevin

On 07/05/2012 12:13 PM, Kurt Freytag wrote:
> Kevin -
>
> Got a chance to compile and run this stuff this morning. It seems
> to be playing fine, though I thought I'd shoot you the output I'm
> seeing as I fire it up through Firefox 13 on Ubuntu 12.04 with the
> 1.0.7 code:
>
>> GMLIB-Message: in media state change with state = unknown
>> GMLIB-Message: Loading QuickTime compatibility
>>
>>
>> (firefox:1181): Gdk-WARNING **: Native Windows wider or taller
>> than 65535 pixels are not supported GMLIB-Message: after init:
>> position=0.000 length=0.000 start_time=0.000 run_time=0.000
>> volume=0.00 player=dead media=unknown uri=
>>
>> (gnome-mplayer:1286): GLib-GObject-WARNING **: invalid
>> uninstantiatable type `(null)' in cast to `GmtkMediaPlayer'
>>
>> (gnome-mplayer:1286): GLib-GObject-WARNING **: invalid
>> uninstantiatable type `(null)' in cast to `GmtkMediaPlayer'
>> GMLIB-Message: in media state change with state = play
>> GMLIB-Message: in media state change with state = unknown
>> GMLIB-Message: Loading QuickTime compatibility
>>
>>
>> (firefox:1181): Gdk-WARNING **: Native Windows wider or taller
>> than 65535 pixels are not supported GMLIB-Message: after init:
>> position=0.000 length=0.000 start_time=0.000 run_time=0.000
>> volume=0.00 player=dead media=unknown uri=
>>
>> (gnome-mplayer:1452): GLib-GObject-WARNING **: invalid
>> uninstantiatable type `(null)' in cast to `GmtkMediaPlayer'
>>
>> (gnome-mplayer:1452): GLib-GObject-WARNING **: invalid
>> uninstantiatable type `(null)' in cast to `GmtkMediaPlayer'
>> GMLIB-Message: in media state change with state = play
>
> - Kurt
>
> On Jul 1, 2012, at 5:17 AM, Kevin DeKorte wrote:
>
> On 06/30/2012 08:19 PM, Kurt Freytag wrote:
>>>> Kevin -
>>>>
>>>> Any chance of merging that change back into 1.0.6? I ask
>>>> only because I've thoroughly tested 1.0.6 in our deployment.
>>>>
>>>> - Kurt
>>>>
>
> Kurt,
>
> I don't normally backport fixes as once something is released it
> is what it is.
>
> Sorry,
>
> Kevin
>
>
>

- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/14UYACgkQ6w2kMH0L1dEnNACfYjK+k9z58EbRtfCgKhXmeMGR
jTQAnA7XEyvBtcBDFSg0OBBDh6bJuEPe
=9Jhz
-----END PGP SIGNATURE-----

Kurt Freytag

unread,
Jul 5, 2012, 3:04:46 PM7/5/12
to Kevin DeKorte, gecko-me...@googlegroups.com
Latest trunk
Reply all
Reply to author
Forward
0 new messages