Totem Mozilla Plugin

Bug #22551 reported by Սահակ
16
Affects Status Importance Assigned to Milestone
totem (Ubuntu)
Incomplete
High
Sebastien Bacher

Bug Description

Totem Mozilla Plugin work for Ogg Theora streams. For example you can go to
http://www.redhat.com/solutions/info/videos/ and click on "Security in a
Networked World" Ogg Theora stream ( http://www.redhat.com/v/ogg/security.ogg ).
Totem is loaded inside firefox windows, but the video does not play.

Revision history for this message
Sebastien Bacher (seb128) wrote :

That works fine for me. Could you reply to the same question as for your other
bug (version used, etc). What architecture do you have?

Revision history for this message
Սահակ (petrosyan) wrote :

Ubuntu 5.10 (with all the updates)
gstreamer0.8
alsasink
Thinkpad X40

The video starts to play in firefox, but then after about 1 second it stops and
the screen is black.
here are some debug messages from the Terminal:
$ firefox
NP_Initialize
totem_plugin_new_instance
Init scriptable instance
mode 2
argv[0] type application/ogg
argv[1] src http://www.redhat.com/v/ogg/security.ogg
argv[2] name plugin
argv[3] height 100%
argv[4] width 100%
plugin_get_value 14
plugin_set_window
about to fork
Launching: /usr/lib/totem/totem-mozilla-viewer --xid 50335865 --width 100
--height 100 --url http://www.redhat.com/v/ogg/security.ogg fd://0
waiting for signal org.totem_6793.MozillaPluginService
Received notification for :1.3
Received notification for :1.3
Received notification for org.totem_6793.MozillaPluginService
Received notification for org.totem_6793.MozillaPluginService
Done forking, new proxy=0x8ab5500
leaving plugin_set_window
plugin_set_window
existing window
resize
leaving plugin_set_window
plugin_set_window
existing window
resize
leaving plugin_set_window
plugin_new_stream
plugin_write_ready
plugin_write
plugin_write_ready
plugin_write
plugin_write_ready
plugin_write
plugin_write_ready
plugin_write
plugin_write_ready
plugin_write
plugin_write_ready
plugin_write
plugin_write_ready
plugin_write
plugin_write_ready
plugin_write
plugin_write_ready
plugin_write
** Message: ret -1
plugin_destroy_stream
CMD line: /usr/lib/totem/totem-mozilla-viewer --xid 50335865 --width 100
--height 100 --url http://www.redhat.com/v/ogg/security.ogg fd://0
plugin_get_value 15
** Message: unhandled variable 15
plugin_get_value 11
Returning that we support iface
plugin_get_value 268435466
Returning instance 0x89d19b8
** Message: GetHelperForLanguage
** Message: GetInterfaces
** Message: totem_embedded_open 'fd://0'
plugin_destroy

Let me know how can I help to further debug this issue.

Revision history for this message
Florian Zeitz (florian-zeitz) wrote :

I can confirm this bug on my machine (this is an up to date breezy install, too):
The video plays a few seconds (the nuber of seconds varys, but it never plays
till the end) and then stops. The "Play" button is greyed out the volume control
shows muted and the frame is black.
This does not only happen with Ogg Theora streams to me, but with ALL video streams.
The "About" dialog says this is "Totem Mozilla Plugin 1.2.0 Movie Player using
GStreamer version 0.8.11"

Revision history for this message
Farhad Shakiba (fshakiba) wrote :

I would like to confirm this bug with totem-xine installed. For me it happens
with almost all movie formats. Most quicktime movies (for example from
apple.com/trailers) work fine however. Not only does the video play for 1-2
seconds before stopping, occasionally I also get a prompt saying: "Totem could
not play fd0://, Video codec gif is not handled, you might need to install
additional plugins". As mentioned above, the play button grays out and the
volume is set to mute (however sound is audible for those few seconds).

Revision history for this message
Marc Wiriadisastra (strikeforce) wrote :

+1 from me as well in a webpage I get "Totem could
not play fd0://

Not in a webpage I get the following bug.

This is linked in with another bug it might be related in some way.

marc@ubuntu:~$ totem

(totem:13092): Gtk-CRITICAL **: gtk_accel_label_set_accel_closure: assertion
`gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed

(totem:13092): Gtk-CRITICAL **: gtk_accel_label_set_accel_closure: assertion
`gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed
The program 'totem' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 130 error_code 11 request_code 141 minor_code 19)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Revision history for this message
Marc Wiriadisastra (strikeforce) wrote :

After the updated xserver-xorg today.
Package: xserver-xorg
State: installed
Automatically installed: yes
Version: 6.8.2-70

From the webpage it works fine and the desktop works fine :)
I'm hoping thats the end of it.

Revision history for this message
Սահակ (petrosyan) wrote :

It still crashes for me, even after the latest x.org updates:
$ firefox
NP_Initialize
totem_plugin_new_instance
Init scriptable instance
mode 2
argv[0] type application/ogg
argv[1] src http://www.redhat.com/v/ogg/security.ogg
argv[2] name plugin
argv[3] height 100%
argv[4] width 100%
plugin_get_value 14
plugin_set_window
about to fork
Launching: /usr/lib/totem/totem-mozilla-viewer --xid 50335432 --width 100 --heig
ht 100 --url http://www.redhat.com/v/ogg/security.ogg fd://0
waiting for signal org.totem_6787.MozillaPluginService
Received notification for :1.8
Received notification for :1.8
Received notification for org.totem_6787.MozillaPluginService
Received notification for org.totem_6787.MozillaPluginService
Done forking, new proxy=0x8b5f338
leaving plugin_set_window
plugin_set_window
existing window
resize
leaving plugin_set_window
plugin_set_window
existing window
resize
leaving plugin_set_window
plugin_new_stream
plugin_write_ready
plugin_write
plugin_write_ready
plugin_write
plugin_write_ready
plugin_write
plugin_write_ready
plugin_write
plugin_write_ready
plugin_write
plugin_write_ready
plugin_write
plugin_write_ready
plugin_write
plugin_write_ready
plugin_write
plugin_write_ready
plugin_write
** Message: ret -1
plugin_destroy_stream
CMD line: /usr/lib/totem/totem-mozilla-viewer --xid 50335432 --width 100 --heigh
t 100 --url http://www.redhat.com/v/ogg/security.ogg fd:/

Revision history for this message
Matthew East (mdke) wrote :

Firefox CRASHES whenever I play an ogg using the totem plugin. This bug is

(a) common (for example see the comment at the bottom of this page:
http://foodfight.org/movies/Ubuntu%20Fanpeople/) and
(b) extremely unprofessional (releasing this plugin with such problems).

For the above reasons I'm bumping this to major.

Please please please disactivate this plugin in a breezy -update, or resolve
some other way: I know that multimedia is hard but implementing bad solutions
will give Ubuntu a bad name.

Revision history for this message
Florian Zeitz (florian-zeitz) wrote :

(In reply to comment #8)
> Firefox CRASHES whenever I play an ogg using the totem plugin. This bug is
>
> (a) common (for example see the comment at the bottom of this page:
> http://foodfight.org/movies/Ubuntu%20Fanpeople/) and
Yes, it is, I don't know anybody who doesn't have this problem (maybe except
seb128?)

> (b) extremely unprofessional (releasing this plugin with such problems).
>
Worded a bit harsh, but basically you're right.

> For the above reasons I'm bumping this to major.
>
Maybe a good idea...

> Please please please disactivate this plugin in a breezy -update, or resolve
> some other way: I know that multimedia is hard but implementing bad solutions
> will give Ubuntu a bad name.
@seb128: Would this actually be possible.
If this bug really doesn't happen to some people, I think it wouldn't be the
right solution to just disable video playback in the browser totally, but if it
really happens to everybody this would be an option.
I don't know wheter video playback (via plugin) is really a major thing in a
broader sense, but most people I know care about this.
It's also relatively hard to look at a video that is embeded somewhere, because
you have to look at the page source and find out the URL of the video and then
download it. IF you manage to do it, because the browser will most likely have
crashed until you can try to, so you might have to disable the plugin first. Not
really user friendly IMHO.

Revision history for this message
Sebastien Bacher (seb128) wrote :

(In reply to comment #9)

> If this bug really doesn't happen to some people, I think it wouldn't be the

It doesn't, it doesn't crash for me by example. And I bet we would have get some
extra duplicate if it was crashing for everybody. The question is also how
nicely it works for the people for who it doesn't crash. It plays some video
just fine here but it not so great and has issues on a lot of other ones. We are
going to split the package for dapper for sure. Not sure if we should upload a
package without this feature for the current stable though. I'll speak with some
other maintainer about it.

Revision history for this message
Sebastien Bacher (seb128) wrote :

*** Bug 25684 has been marked as a duplicate of this bug. ***

Revision history for this message
Julien Olivier (julo) wrote :

It crashes 100% of the time for me too on both firefox 1.4, and on deer park.
The only difference is that, on deer park it crashes whenever the movies loads,
whereas on firefox 1.4 it crashed when I closed the tab/window where the video
had failed to load.

Revision history for this message
Daniel Holbach (dholbach) wrote :

In Dapper the Firefox plugins are split out. Could everybody for whom i crashes
try different settings for the sinks in 'gstreamer-properties'?

Revision history for this message
Julien Olivier (julo) wrote :

It doesn't change anything for me. totem-gstreamer-firefox-plugin crashes
everytime, using ALSA, ESD or OSS, and XWindows (Xv), XWindows (no XV) or SDL.

Revision history for this message
Pēteris Krišjānis (pecisk-gmail) wrote :

I can confirm that mentioned video in the bug works with Dapper, using totem-gstreamer-firefox-plugin, version 1.3.90-0ubuntu-1 (gstreamer-0.10). However, I can watch video only once, and I can't relaunch video with play button, as it is greyed out. I can't also call out Properties dialog, when I press right button and choose it from popup menu. However, I can get "About" dialog.

Also I want to mention that now Firefox freezes when I try to watch quicktime.com trailers. I don't have no ffmpeg or other Quicktime codec installed, however, and I use gstreamer-0.10, so it could be problem with plugins.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Pecisk, the greyed buttons and the quicktime trailers are differents point, please use another bug about those. Thank you for reporting that the ogg playing is fixed for you too!

Revision history for this message
Sebastien Bacher (seb128) wrote :

Marking as duplicate of bug #21110, the issue has been fixed for both breezy-updates and dapper

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.