GNOME Bugzilla – Bug 328830
[0.10] Funny error when trying to play an AVI over HTTP
Last modified: 2006-02-03 17:05:58 UTC
If I try to play an AVI over HTTP, for example http://plastic.fork.pl/195_95_party_version.avi, I get an error from Totem with the primary text: "Totem could not play 'http://plastic.fork.pl/195_95_party_version.avi'." and secondary, "GstAviDemux cannot work in push mode. The operation is not supported with this source element or protocol." The real bug is in avidemux not supporting push-mode operation, but more helpful would be a message saying something like "Cannot play this file over the network. Try downloading it to disk first" or something. In any case this message shouldn't be shown to the user, it's more appropriate to debug information.
Created attachment 58208 [details] [review] proposed patch This makes totem display an error dialog with the text you suggested. Attaching as patch for now until a final phrasing has been agreed on, as string changes have to be announced these days.
1) The string should end in a period. 2) The test is incorrect; it should check for GstAviDemux I suppose.
Created attachment 58218 [details] [review] new patch 1) Ok. 2) It is in fact the typefind element that emits this message (I did actually try the patch :P). Arguably this could be changed on the GStreamer side so that each and every demuxer/decoder that only operates in pull-mode posts an appropriate error message itself if it can't activate, but I am not really sure that is a better solution. As it stands, this patch fixes the problem with current Gtreamer. It doesn't prevent us from changing things in GStreamer later, does it?
Ah, I was just speaking from the error message that I saw, which printed GstAviDemux. Never mind me then. :-)
See also comment #5 of bug #302606: "the following error alert appears: Totem could not play 'fd://0'. GstQTDemux cannot work in push mode. The operation is not supported with this source element or protocol. " So also qtdemux.
Same thing, isn't it? Fixed in CVS, and string change announced to the appropriate mailing lists. 2006-02-03 Tim-Philipp Müller <tim at centricular dot net> * src/backend/bacon-video-widget-gst-0.10.c: (bvw_error_from_gst_error): Show a more meaningful error message when playback fails because the decoder/demuxer can only operate pull-based, but the source does not support that (e.g. playing AVI videos or FLAC files over the network) (#328830).