Firefox 3.0 Totem Web Browser Plugin 2.22.1 does not play audio wav-files completely.

Bug #249865 reported by Elktro
4
Affects Status Importance Assigned to Milestone
Totem
Expired
Medium
totem (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: totem

After installing Totem web Browser Plugin in order to play pronunciation samples at merriam-webster web dictionary I noticed that the audio files are not played completely to the end, but it misses few hundreds of milliseconds at the end. I'm not sure if this happens with short files only.

To reproduce the problem open the following link:

http://www.merriam-webster.com/cgi-bin/audio.pl?crysta02.wav=crystalline

Only [crystal]-part of the word can be heard and not the whole word [crystalline]. I am also able to reproduce the problem virtually with every pronunciation sample on the m-w site.

Mozilla Firefox 3.0
Totem Web Browser Plugin 2.22.1, GNOME totem 2.22.1
Linux ******* 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686 GNU/Linux
Ubuntu 8.04

Revision history for this message
Pedro Villavicencio (pedro) wrote :

thanks for the report, can you reproduce this only with the firefox plugin of totem? did you tried to download one of those files and play it with totem? does that works fine? May you get a firefox log also? just run firefox from the command line listen to the wav files and later attach that file to the report, thanks.

Changed in totem:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Elktro (roskaapostissa) wrote :
Download full text (3.2 KiB)

If the file is downloaded and played in totem afterwards the problem does not occur.

I noticed that some Merriam-Webster web dictionary pronunciation samples might be played to the very end, thought. For instance:

http://www.merriam-webster.com/dictionary/coincide

But it can be also that there is silence at the end of the file.

I have not tested other plugins (yet?).

This is the output of firefox from clicking the pronunciation sample link to closure of the playback window:

** Message: NP_Initialize
** Message: NP_Initialize succeeded
** Message: totemPlugin ctor [0x98e5590]
** Message: Init mimetype 'audio/wav' mode 1
** Message: Base URI is 'http://www.merriam-webster.com/cgi-bin/audio.pl?crysta02.wav=crystalline'
** Message: Real mimetype for 'audio/wav' is 'audio/wav'
argv[0] src http://cougar.eb.com/soundc11/c/crysta02.wav
argv[1] hidden true
argv[2] autostart true
** Message: mSrc: http://cougar.eb.com/soundc11/c/crysta02.wav
** Message: mCache: 0
** Message: mControllerHidden: 0
** Message: mShowStatusbar: 0
** Message: mHidden: 1
** Message: mAudioOnly: 1
** Message: mAutostart: 1, mRepeat: 0
** Message: Launching: /usr/lib/totem/gstreamer/totem-plugin-viewer --plugin-type basic --user-agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008061015 Firefox/3.0 --mimetype audio/wav --hidden --audio-only
** Message: Viewer spawned, PID 20897
** Message: GetValue variable 14 (e)
** Message: NewStream mimetype 'audio/x-wav' URL 'http://cougar.eb.com/soundc11/c/crysta02.wav'
** Message: Viewer not ready, aborting stream
** Message: Viewer DBus interface name is 'org.gnome.totem.PluginViewer_20897'
** Message: NameOwnerChanged old-owner '' new-owner ':1.104'
** Message: Viewer now connected to the bus
** Message: ViewerSetup
** Message: ViewerReady
** Message: IsSchemeSupported scheme 'http': yes
** Message: NameOwnerChanged old-owner '' new-owner ':1.104'
** Message: Already have owner, why are we notified again?
TotemEmbedded-Message: Viewer state: STOPPED
TotemEmbedded-Message: totem_embedded_open_stream called: uri http://cougar.eb.com/soundc11/c/crysta02.wav, base_uri: http://www.merriam-webster.com/cgi-bin/audio.pl?crysta02.wav=crystalline
TotemEmbedded-Message: totem_embedded_open_internal 'fd://0' is-browser-stream 1 start-play 1
TotemEmbedded-Message: BEFORE _open
TotemEmbedded-Message: AFTER _open (ret: 1)
TotemEmbedded-Message: Viewer state: PLAYING
** Message: OpenStream reply
** Message: DoCommand 'Play'
** Message: NewStream mimetype 'audio/x-wav' URL 'http://cougar.eb.com/soundc11/c/crysta02.wav'
** Message: Is unsupported mime-type 'audio/x-wav'
** Message: Is not playlist: totem_pl_parser_can_parse_from_data failed (len 7032)
** Message: DestroyStream reason 0
** Message: URLNotify URL 'http://cougar.eb.com/soundc11/c/crysta02.wav' reason 0
TotemEmbedded-Message: Viewer state: STOPPED

(firefox:20849): Gtk-CRITICAL **: gtk_widget_hide: assertion `GTK_IS_WIDGET (widget)' failed

(firefox:20849): Gtk-CRITICAL **: gtk_widget_destroy: assertion `GTK_IS_WIDGET (widget)' failed

(firefox:20849): Gtk-CRITICAL **: gtk_widget_hide: assertion `GTK_IS_WIDGET (widget)' failed

(firefox:20849): Gtk-CRITICAL **: gtk_widget_...

Read more...

Changed in totem:
status: Incomplete → New
Revision history for this message
Pedro Villavicencio (pedro) wrote :

works fine here, could you try to reproduce it with gst-launch playbin uri=url ?

Changed in totem:
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in totem:
status: Incomplete → Invalid
Revision history for this message
Jamie Royer (jamie-royer) wrote :

I have the same problem as the original poster and I'm willing to provide any necessary debugging information. This bug has been here for several Ubuntu releases (currently running 9.04). I work around the problem by clicking "Click here to listen with your default audio player" and then right-clicking and opening the file in "Movie Player".

Here is the output from running "gst-launch" (no audio):
$ gst-launch-0.10 playbin http://cougar.eb.com/soundc11/c/crysta02.wav
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPlayBin:playbin0: No URI specified to play from.
Additional debug info:
gstplaybasebin.c(1642): gen_source_element (): /GstPlayBin:playbin0
Setting pipeline to NULL ...
FREEING pipeline ...
$

Firefox 3.0.10
Totem Browser Plugin 2.26.1
Linux lime 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux

Dell Inspiron 9300
Sound preferences are mostly "autodetect" with sound capture=>ALSA and device=>Intel ICH6 (Alsa mixer)

I don't know how to tell what sound card I have but it is probably the generic AC97.

Jamie

Changed in totem (Ubuntu):
status: Invalid → New
Revision history for this message
Jamie Royer (jamie-royer) wrote :

I see that I missed the "uri=" string. It takes a bit of time to "preroll" but it eventually plays "crystal" (still chops off the "line" part).

$ gst-launch-0.10 playbin uri=http://cougar.eb.com/soundc11/c/crysta02.wav
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock
Got EOS from element "playbin0".
Execution ended after 442734978 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
FREEING pipeline ...

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

Thank you for your bug report. The ubuntu team doesn't have the ressources to work on this specific issue but it would be nice if somebody having it could send the bug the to the people writting the software (https://wiki.ubuntu.com/Bugs/Upstream/GNOME)

Revision history for this message
Jamie Royer (jamie-royer) wrote :

I opened a bug report as you suggested.

http://bugzilla.gnome.org/show_bug.cgi?id=585369

Thank you.

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

Thank you for sending the bug to GNOME

Changed in totem (Ubuntu):
status: New → Triaged
Changed in totem:
status: Unknown → New
Changed in totem:
status: New → Incomplete
Changed in totem:
status: Incomplete → Invalid
Revision history for this message
Sebastien Bacher (seb128) wrote :

Could you try if that's still an issue in lucid?

Changed in totem (Ubuntu):
assignee: Ubuntu Desktop Bugs (desktop-bugs) → nobody
status: Triaged → Incomplete
Revision history for this message
Jamie Royer (jamie-royer) wrote :

I replaced my laptop with a Dell Studio XPS and I'm running Ubuntu 10.04 and Firefox 3.6.8. I can now hear the full word.

Thank you.

I've given my old laptop to my brother. I'll see if he has upgraded to Lucid and I'll ask him to try.

Changed in totem:
importance: Unknown → Medium
status: Invalid → Expired
Revision history for this message
Omer Akram (om26er) wrote :

closing this bug since we have a confirmation of the fix. feel free to report any other bugs you may find.

Changed in totem (Ubuntu):
status: Incomplete → Invalid
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.