[SailfishDevel] GStreamer does not support HTTP streaming -- Workaround?
mohammed.hassan at jollamobile.com
Fri Jul 12 11:23:07 UTC 2013
On Fri, Jul 12, 2013 at 12:25:56PM +0200, Erlend Boe wrote:
> Hi Mohammed,
> sadly it stops working after rebooting the VM. The error that I get in the console is:
> (HelloWorld:2291): GLib-GObject-WARNING **: invalid cast from `WebKitWebSrc' to `GstBaseSrc'
> ** (HelloWorld:2291): CRITICAL **: gst_base_src_is_live: assertion `GST_IS_BASE_SRC (src)' failed
That is indeed strange but judging by the error below, it doesn't look
like it's the case.
> and in the simulator:
> [root at SailfishEmul ~]# gst-launch-0.10 playbin2 uri=http://download.banshee-project.org/misc/http-test.ogg
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> ERROR: from element /GstPlayBin2:playbin20/GstPlaySink:playsink0: The autoaudiosink element is not working.
> Additional debug info:
> gstplaysink.c(1906): gen_audio_chain (): /GstPlayBin2:playbin20/GstPlaySink:playsink0
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to NULL ...
> Freeing pipeline ...
Could you please try GST_DEBUG='*:2' gst-launch-0.10 playbin2 uri=http://download.banshee-project.org/misc/http-test.ogg
It should at least give us some more debugging
> On 12.07.2013, at 08:30, Erlend Boe <erlendboe at yahoo.com> wrote:
> > Hi Mohammed,
> > after doing "zypper install gst-plugins-good", it now works.
> > Thanks!
> > can you confirm that the gst-plugins-good will be part of the next Sailfish release, and will be installed in the shipping product?
> > Regards,
> > Erlend
> > On 11.07.2013, at 17:17, Mohammed Hassan <mohammed.hassan at jollamobile.com> wrote:
> >> On Thu, Jul 11, 2013 at 01:21:44PM +0000, "Thomas B. Rücker" wrote:
> >>> Hi,
> >>> On 07/11/2013 12:40 PM, Erlend Boe wrote:
> >>>> I tried to play an .ogg audio file using a http url in my application (from qml), but it is not working.
> >>>> The error message that I get is:
> >>>> GStreamer; Unable to play - "http://upload.wikimedia.org/wikipedia/commons/4/4b/En-us-surname.ogg"
> >>>> Error: "No URI handler implemented for "http".
> >>>> I then saw that also MeeGo once had this problem, bug 1584.
> >>>> (performing a similar test in the simulator gives the same error as in bug 1584)
> >>> Umm, that's bad and should be fixed. I suppose Mer inherited the build
> >>> config from MeeGo.
> >>> GStreamer is part of Nemo middleware nowadays and bugs can be filed here:
> >>> https://bugs.nemomobile.org/
> >>> Once it's fixed there it should automagically also appear in Sailfish as
> >>> that uses Nemo MW.
> >> It's actually available. You only need to install gst-plugins-good in the
> >> emulator to get http streaming to work.
> >> It seems that nothing is depending on gst-plugins-good thus it never gets
> >> pulled in by default.
> >> Cheers,
> >> _______________________________________________
> >> SailfishOS.org Devel mailing list
> > _______________________________________________
> > SailfishOS.org Devel mailing list
More information about the Devel