After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 531571 - Should ignore unplayable playlist items
Should ignore unplayable playlist items
Status: RESOLVED DUPLICATE of bug 303942
Product: totem
Classification: Core
Component: Movie player
unspecified
Other Linux
: Normal normal
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
: 561946 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-05-05 15:25 UTC by Sebastian Dröge (slomo)
Modified: 2008-12-05 16:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
playlist (1.21 KB, text/plain)
2008-05-06 10:23 UTC, Sebastian Dröge (slomo)
Details
totem-mozilla log (8.37 KB, text/plain)
2008-05-06 13:26 UTC, Sven Arvidsson
Details

Description Sebastian Dröge (slomo) 2008-05-05 15:25:05 UTC
Hi,
the BBC HQ news stream contains some swf files among other things that can't be played.

The stream is at:
http://news.bbc.co.uk/newsa/n5ctrl/summaries/world/bb/video/world_bb.asx?ad=1&ct=50


totem should warn about unplayable items and skip to the next item instead of not playing the complete playlist at all.
Comment 1 Bastien Nocera 2008-05-06 10:07:04 UTC
We already do, as we call skip_unplayable_stream() on errors in the browser plugin. Is this where you're seeing the problem?

What are the actual errors you're seeing? Could you also upload a copy of the playlist file, as I obviously don't get adverts having paid for my TV license...

If possible, could you check whether skip_unplayable_stream() is called as expected when the error occurs?
Comment 2 Sebastian Dröge (slomo) 2008-05-06 10:23:37 UTC
Created attachment 110450 [details]
playlist
Comment 3 Sebastian Dröge (slomo) 2008-05-06 10:27:57 UTC
This is not with the browser plugin but when calling totem with the playlist directly.

The errors are (with latest gstreamer CVS, latest releases already stop on the GIFs because of not-negotiated errors):

$ totem playlist
[...]
0:00:08.169677505  4456  0x99816a8 ERROR                totem /tmp/buildd/totem-2.22.2/src/backend/bacon-video-widget-gst-0.10.c:324:bvw_error_msg: message = Element doesn't implement handling of this stream. Please file a bug.
0:00:08.169928698  4456  0x99816a8 ERROR                totem /tmp/buildd/totem-2.22.2/src/backend/bacon-video-widget-gst-0.10.c:326:bvw_error_msg: domain  = 3215 (gst-stream-error-quark)
0:00:08.170021008  4456  0x99816a8 ERROR                totem /tmp/buildd/totem-2.22.2/src/backend/bacon-video-widget-gst-0.10.c:327:bvw_error_msg: code    = 3
0:00:08.170109524  4456  0x99816a8 ERROR                totem /tmp/buildd/totem-2.22.2/src/backend/bacon-video-widget-gst-0.10.c:328:bvw_error_msg: debug   = gstffmpegdemux.c(1414): gst_ffmpegdemux_sink_activate_push (): /play/decodebin1/ffdemux_swf0:
failed to activate sinkpad in pull mode, push mode not implemented yet
0:00:08.170202012  4456  0x99816a8 ERROR                totem /tmp/buildd/totem-2.22.2/src/backend/bacon-video-widget-gst-0.10.c:329:bvw_error_msg: source  = <ffdemux_swf0>
0:00:08.170393274  4456  0x99816a8 ERROR                totem /tmp/buildd/totem-2.22.2/src/backend/bacon-video-widget-gst-0.10.c:330:bvw_error_msg: uri     = http://m1.2mdn.net/879366/imp_03_23.swf?impParams=rnd=2284384#mtf#dartImpUrl=http://ad.uk.doubleclick.net/imp;v7;x;130464873;0-0;0;18723273;416/232;22292237/22310126/1;;~okv=;sz=416x232;tile=1;;~cs=t%3f#mtf#dartAdId=130464873#mtf#thirdPartyImpressionURL=#mtf#ISCI=#mtf#metPostingURL=http://ad.uk.doubleclick.net/activity;src=1530141;met=1;v=1;pid=18723273;aid=130464873;ko=0;cid=22292237;rid=22310126;rv=1;#mtf#thirdPartyCompleteURL=#mtf#customParams=#mtf#surveyURL=#mtf#thirdPartyMidpointURL=
** Message: Error: Element doesn't implement handling of this stream. Please file a bug.
gstffmpegdemux.c(1414): gst_ffmpegdemux_sink_activate_push (): /play/decodebin1/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


Even if gst-ffmpeg supported push mode demuxing this won't help as ffmpeg doesn't support compressed swf files.


The not-negotiated error with latest releases is:

$ totem playlist 
** Message: Error: GStreamer encountered a general stream error.
gstgdkpixbuf.c(337): gst_gdk_pixbuf_sink_event (): /play/decodebin0/gdkpixbuf0:
Flow: not-negotiated
Comment 4 Bastien Nocera 2008-05-06 12:53:06 UTC
Right, we don't handle skipping over unplayable items in the movie player itself. I'm pretty sure it's a dupe of something somewhere...
Comment 5 Sven Arvidsson 2008-05-06 13:26:39 UTC
Created attachment 110458 [details]
totem-mozilla log

There's still some problem with the HQ stream and the browser plugin. 

It plays through part of the playlist (I can see the gif), but gets stuck after a while. I'm attaching a complete log.
Comment 6 Jani Monoses 2008-05-07 05:51:25 UTC
in my experience it gets stuck on the http://......wmv files
Comment 7 Sebastian Dröge (slomo) 2008-05-07 05:57:39 UTC
(In reply to comment #6)
> in my experience it gets stuck on the http://......wmv files

That's another problem then... playback of everything except the swf files works fine for me at least ;)

With "gets stuck" you mean, it simply hangs and doesn't error out? Which http source plugin are you using?
Comment 8 Jani Monoses 2008-05-07 06:06:16 UTC
Sebastian, I reported it in bug 530556 . totem-gstreamer with ugly bad and ffmpeg on ubuntu 8.04. Adding a filter in the player plugin to drop URIs prefixed http and suffixed wmv allows the regular hi quality bbc streams to play fine. It is likely a bug in supporting that specific wmv.
Oh, and congrats ;)
Comment 9 Detlef Reichl 2008-08-09 13:44:41 UTC
(In reply to comment #4)
> Right, we don't handle skipping over unplayable items in the movie player
> itself.

It would be nice if totem could handle this. For me it is annoying that textfiles are not ignorred. I.e. if you load down a CD from jamendo.com there are always some copyrigth files in the downloaded folder. I don't want to delete the copyright files, so i always can prove that i got the music legally.


Comment 10 Bastien Nocera 2008-11-22 23:53:53 UTC
*** Bug 561946 has been marked as a duplicate of this bug. ***
Comment 11 Bastien Nocera 2008-12-05 16:36:03 UTC

*** This bug has been marked as a duplicate of 303942 ***