[Hardy] Youtube Plugin can't play video

Bug #191760 reported by psernetz
72
This bug affects 8 people
Affects Status Importance Assigned to Milestone
totem (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: totem

I've installed the missing python-gdata package and tried to view a youtube video. The youtube search works and it displays several video-thumbnails. Double clicking a video results in a failure. Here's the Debug output from the console.

Totem version: 2.21.93-0ubuntu1

Output:

$ totem
** (totem:9376): DEBUG: Init of Python module
** (totem:9376): DEBUG: Registering Python plugin instance: YouTube+TotemPythonPlugin
** (totem:9376): DEBUG: Creating object of type YouTube+TotemPythonPlugin
** (totem:9376): DEBUG: Creating Python plugin instance

(totem:9376): libgnomevfs-WARNING **: Cannot load module `/usr/lib/gnome-vfs-2.0/modules/libmapping.so' (/usr/lib/gnome-vfs-2.0/modules/libmapping.so: cannot open shared object file: No such file or directory)

(totem:9376): libgnomevfs-WARNING **: Cannot load module `/usr/lib/gnome-vfs-2.0/modules/libmapping.so' (/usr/lib/gnome-vfs-2.0/modules/libmapping.so: cannot open shared object file: No such file or directory)

(totem:9376): libgnomevfs-WARNING **: Cannot load module `/usr/lib/gnome-vfs-2.0/modules/libmapping.so' (/usr/lib/gnome-vfs-2.0/modules/libmapping.so: cannot open shared object file: No such file or directory)

(totem:9376): libgnomevfs-WARNING **: Cannot load module `/usr/lib/gnome-vfs-2.0/modules/libmapping.so' (/usr/lib/gnome-vfs-2.0/modules/libmapping.so: cannot open shared object file: No such file or directory)
** Message: don't know how to handle video/x-flv
** Message: Error: Das Element kann diesen Datenstrom nicht verarbeiten. Bitte schicken Sie einen Fehlerbericht.
gstffmpegdemux.c(1372): gst_ffmpegdemux_sink_activate_push (): /play/decodebin0/ffdemux_flv0:
failed to activate sinkpad in pull mode, push mode not implemented yet

** (totem:9376): DEBUG: Finalizing Python plugin instance

ProblemType: Bug
Architecture: i386
Date: Thu Feb 14 08:52:56 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/totem-gstreamer
NonfreeKernelModules: nvidia
Package: totem-gstreamer 2.21.93-0ubuntu1
PackageArchitecture: i386
ProcCwd: /home/patrick
ProcEnviron:
 PATH=/home/patrick/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: totem
Uname: Linux patrick-desktop 2.6.24-7-generic #1 SMP Thu Feb 7 01:29:58 UTC 2008 i686 GNU/Linux

Tags: apport-bug
Revision history for this message
psernetz (patrick-sernetz-com) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your report, That works fine here in my Hardy machine, according to the error message it looks like a decoder issue. May you please run GST_DEBUG_NO_COLOR=1 GST_DEBUG=3 totem &>totem-debug.txt and attach that file to the report? thanks in advance.

Changed in totem:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
psernetz (patrick-sernetz-com) wrote : Re: [Bug 191760] Re: [Hardy] Youtube Plugin can't play video

Hi,

I don't know what has happend. But everything runs smooth now.

Am Freitag, den 15.02.2008, 14:25 +0000 schrieb Pedro Villavicencio:

> GST_DEBUG_NO_COLOR=1 GST_DEBUG=3 totem &>totem-debug.txt

Revision history for this message
Basilio Kublik (sourcercito) wrote :

Hi there
This bug report is being closed due to your last comment, if you experience this issue again, please feel free to re-open this report attaching the previously requested information.

Changed in totem:
status: Incomplete → Invalid
Revision history for this message
Loell Anthony Erecre (loell) wrote :

hi, i also installed the python-gdata in my hardy beta, but when playing the youtube video i got an error

ffdemu_flv: Element doesn't implement handling of this stream.

attached is the debug file.

Revision history for this message
Bryan Quigley (bryanquigley) wrote :

Doesn't work for me.

Changed in totem:
status: Invalid → New
Revision history for this message
Bryan Quigley (bryanquigley) wrote :
Revision history for this message
Bryan Quigley (bryanquigley) wrote :
Revision history for this message
Bryan Quigley (bryanquigley) wrote :

totem version 2.22.1-0ubuntu1

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

do you have gstreamer0.10-plugins-bad installed?

Revision history for this message
Bryan Quigley (bryanquigley) wrote :
  • unnamed Edit (127 bytes, text/html; charset=ISO-8859-1)

I am 99% sure, but will double check when I get home again. Even if I
didn't; Totem is supposed to help me install it?

Revision history for this message
Per Heldal (heldal) wrote :

Something seems to have happened with hardy's recent upgrade to totem 2.22.1. I have all gstreamer-10 plugins and totem-plugins I can find installed, yet totem complains that the necessary plugins is missing when trying to play a youtube video from the search-results. It does play locally-stored flash videos though.

Revision history for this message
Bryan Quigley (bryanquigley) wrote :

I have the gstreamer bad plugins,

I tried right clicking on the videos in the plugin and doing copy location.
Then putting that location in Movie -> Open Location. It gave me the following more descriptive error:

"ffdemux_swf: Element doesn't implement handling of this stream. Please file a bug."

Revision history for this message
Jeff Fortin Tam (kiddo) wrote :

confirming Per Heldal's report that the plugin broke with recent updates.

Revision history for this message
Petar Vasić (p-vasic) wrote :

I already wrote this in https://bugs.launchpad.net/ubuntu/+source/totem/+bug/214416, cc-ing here, as it seems more appropriate

In totem plugins 2.22.1-ubuntu1, I get same error.

Upon further inspection I've discovered that the plugin tries, and fails to find "souphttpsrc" gstreamer plugin.
(relevant line in /usr/lib/totem/plugins/youtube/youtube.py:
  if registry.find_plugin ("flvdemux") == None or registry.find_plugin ("souphttpsrc") == None:
)
if the line is changed to:
  if registry.find_plugin ("flvdemux") == None:

video playback works.

I have all of the gstreamer codecs installed.

Revision history for this message
Bryan Quigley (bryanquigley) wrote :

Fixed in 2.22.1-0ubuntu2

Changed in totem:
status: New → Fix Released
Revision history for this message
Loell Anthony Erecre (loell) wrote :

i still could not play. same issue, totem is complaining about some missing appropriate plugins despite that i've installed both gstreamer ugly and bad, even the gst multiverse/universe variant.

Revision history for this message
Loell Anthony Erecre (loell) wrote :

Petar Vasić's workaround does work though.

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Doesn't codec-buddy normally pop up when totem thinks it is missing a particular codec? Currently with this youtube plugin I get the following dialog:
"Totem cannot play this type of media (YouTube) because you do not have the appropriate plugins to handle it.
Please install the necessary plugins and restart Totem to be able to play this media.
More information about media plugins"
The "More information about media plugins" is a link that goes to http://www.gnome.org/projects/totem/#codecs .

Revision history for this message
Fredrik Tolf (fredrik-dolda2000) wrote :

The YouTube plugin didn't work for me either, until I started gathering debugging data for replying to this bug. However, I noticed that I had gstreamer0.10-plugins-bad-multiverse installed, rather than gstreamer0.10-plugins-bad. Once I installed the latter, it started working. Maybe others are afflicted by the same problem?

Revision history for this message
glenmo (q-launchpad-glenmo-com) wrote :

changed that line in /usr/lib/totem/plugins/youtube/youtube.py

didn't help

uninstalled bad-multiverse AND bad

installed bad-multiverse

didn't help

installed bad

didn't help

i'm completely out of idears
i ran this on command line:

$ totem-gstreamer | xclip
Traceback (most recent call last):
  File "/usr/lib/totem/plugins/youtube/youtube.py", line 144, in on_starting_video
    mrl = "http://www.youtube.com/get_video?video_id=" + urllib.quote (youtube_id) + "&t=" + urllib.quote (re.match (".*[?&]t=([^&]+)", location).groups ()[0])
AttributeError: 'NoneType' object has no attribute 'groups'
** Message: Error: Element doesn't implement handling of this stream. Please file a bug.
gstffmpegdemux.c(1372): gst_ffmpegdemux_sink_activate_push (): /play/decodebin0/ffdemux_swf0:
failed to activate sinkpad in pull mode, push mode not implemented yet

** Message: don't know how to handle application/x-shockwave-flash

got this in clipboard:

** (totem-gstreamer:7312): DEBUG: Init of Python module
** (totem-gstreamer:7312): DEBUG: Registering Python plugin instance: YouTube+TotemPythonPlugin
** (totem-gstreamer:7312): DEBUG: Creating object of type YouTube+TotemPythonPlugin
** (totem-gstreamer:7312): DEBUG: Creating Python plugin instance
** (totem-gstreamer:7312): DEBUG: Finalizing Python plugin instance

so i changed the line

 mrl = "http://www.youtube.com/get_video?video_id=" + urllib.quote (youtube_id) + "&t=" + urllib.quote (re.match (".*[?&]t=([^&]+)", location).groups ()[0])

by removing the groups()[0] and got this:

** (totem-gstreamer:7768): DEBUG: Init of Python module
** (totem-gstreamer:7768): DEBUG: Registering Python plugin instance: YouTube+TotemPythonPlugin
** (totem-gstreamer:7768): DEBUG: Creating object of type YouTube+TotemPythonPlugin
** (totem-gstreamer:7768): DEBUG: Creating Python plugin instance
Traceback (most recent call last):
  File "/usr/lib/totem/plugins/youtube/youtube.py", line 145, in on_starting_video
    mrl = "http://www.youtube.com/get_video?video_id=" + urllib.quote (youtube_id) + "&t=" + urllib.quote (re.match (".*[?&]t=([^&]+)", location))
  File "/usr/lib/python2.5/urllib.py", line 1205, in quote
    res = map(safe_map.__getitem__, s)
TypeError: argument 2 to map() must support iteration
** Message: Error: Element doesn't implement handling of this stream. Please file a bug.
gstffmpegdemux.c(1372): gst_ffmpegdemux_sink_activate_push (): /play/decodebin0/ffdemux_swf0:
failed to activate sinkpad in pull mode, push mode not implemented yet

** Message: don't know how to handle application/x-shockwave-flash
** (totem-gstreamer:7768): DEBUG: Finalizing Python plugin instance

Revision history for this message
Akdo (menoft) wrote :

I have same problem on hardy like glenmo :

$ totem
** (totem:20078): DEBUG: Init of Python module
** (totem:20078): DEBUG: Registering Python plugin instance: YouTube+TotemPythonPlugin
** (totem:20078): DEBUG: Creating object of type YouTube+TotemPythonPlugin
** (totem:20078): DEBUG: Creating Python plugin instance
Traceback (most recent call last):
  File "/usr/lib/totem/plugins/youtube/youtube.py", line 144, in on_starting_video
    mrl = "http://www.youtube.com/get_video?video_id=" + urllib.quote (youtube_id) + "&t=" + urllib.quote (re.match (".*[?&]t=([^&]+)", location).groups ()[0])
AttributeError: 'NoneType' object has no attribute 'groups'
** Message: don't know how to handle application/x-shockwave-flash
** Message: Error: L'élément ne gère pas ce flux. Veuillez signaler le problème.
gstffmpegdemux.c(1372): gst_ffmpegdemux_sink_activate_push (): /play/decodebin0/ffdemux_swf0:
failed to activate sinkpad in pull mode, push mode not implemented yet

Traceback (most recent call last):
  File "/usr/lib/totem/plugins/youtube/youtube.py", line 144, in on_starting_video
    mrl = "http://www.youtube.com/get_video?video_id=" + urllib.quote (youtube_id) + "&t=" + urllib.quote (re.match (".*[?&]t=([^&]+)", location).groups ()[0])
AttributeError: 'NoneType' object has no attribute 'groups'
** Message: don't know how to handle application/x-shockwave-flash
** Message: Error: L'élément ne gère pas ce flux. Veuillez signaler le problème.
gstffmpegdemux.c(1372): gst_ffmpegdemux_sink_activate_push (): /play/decodebin1/ffdemux_swf1:
failed to activate sinkpad in pull mode, push mode not implemented yet

$ uname -a
Linux cikolata 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC 2008 i686 GNU/Linux

dpkg -l | grep totem
ii libtotem-plparser10 2.22.3-0ubuntu2 Totem Playlist Parser library - runtime vers
ii totem 2.22.1-0ubuntu2 A simple media player for the Gnome desktop
ii totem-common 2.22.1-0ubuntu2 Data files for the Totem media player
ii totem-gstreamer 2.22.1-0ubuntu2 A simple media player for the Gnome desktop
ii totem-mozilla 2.22.1-0ubuntu2 Totem Mozilla plugin
ii totem-plugins 2.22.1-0ubuntu2 Plugins for the Totem media player

Revision history for this message
Akdo (menoft) wrote :

regression

Changed in totem:
status: Fix Released → New
Revision history for this message
Sebastien Bacher (seb128) wrote :

don't reopen closed bug, the issue you are having is bug #288494 which is a different issue

Changed in totem:
status: New → Fix Released
Revision history for this message
anna kamilla (annakamilla18) wrote :

ffdemux_swf: O elemento não implementa a manipulação deste fluxo. Por favor relate o erro.??

o que seria isso

Tagraf (tagraf)
Changed in totem (Ubuntu):
status: Fix Released → Fix Committed
status: Fix Committed → Fix Released
BEST2007 (ukhuegbe)
Changed in totem (Ubuntu):
status: Fix Released → In Progress
Revision history for this message
Sebastien Bacher (seb128) wrote :

the bug has been closed a year ago don't reopen it without comment, there is similar issues on karmic now but those are due to different code issues and already have bugs so reopening this one is wrong

Changed in totem (Ubuntu):
status: In Progress → Fix Released
JACKY (jackylkh-1982)
Changed in totem (Ubuntu):
status: Fix Released → Incomplete
status: Incomplete → Invalid
Changed in totem (Ubuntu):
status: Invalid → Fix Released
status: Fix Released → Incomplete
status: Incomplete → Fix Released
status: Fix Released → Fix Committed
status: Fix Committed → Fix Released
Changed in totem (Ubuntu):
status: Fix Released → Fix Committed
Revision history for this message
Mitch Towner (kermiac) wrote :

@ pkayharvey: I have subscribed you so that you get this message. As Sebastian said in comments #27 above - This issue was fixed in April 2008. Please don't re-open it without comment. If you are experiencing similar issues, please file a new bug report.
Thanks in advance.

Changed in totem (Ubuntu):
status: Fix Committed → Fix Released
bayu (bayu1303)
Changed in totem (Ubuntu):
status: Fix Released → New
Changed in totem (Ubuntu):
status: New → Fix Released
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.