[gst-devel] streaming http....

Stefan Kost ensonic at hora-obscura.de
Sun Sep 16 17:13:43 CEST 2007


Hi,

Philip Pellouchoud wrote:
> sorry, I'm not that advanced. :-)
> 
> I'm using playbin/play to automagically build the graph.  I'm guessing
> that i'm unable to build the graph or something? 
> 
> My code looks like this:
> 
>     gst_init(NULL, NULL);
> 
>     guint nMajor(0), nMinor(0), nMicro(0), nNano(0);
>     gst_version(&nMajor, &nMinor, &nMicro, &nNano);
>     play = gst_element_factory_make("playbin", "play");
>     g_object_set(G_OBJECT(play), "uri",
> "http://testserver/blahblah.mp3", NULL);
>     bus = gst_pipeline_get_bus(GST_PIPELINE (play));
>     gst_element_set_state(play, GST_STATE_PLAYING);
> 
> If I replace the highlighted part with file://C:\\file.mp3 it works just
> fine, but when I use the stream, it goes through, but just doesn't play...

I looks like you work on windows. There you don't have gnomevfs (dunno if that
can be build there easily). So you could try to build and install libneon and
then neonhttpsrc from plugins-bad.

Stfean

> 
> -phil
> 
> ----- Original Message ----
> From: Stefan Kost <ensonic at hora-obscura.de>
> To: Philip Pellouchoud <phil at san.rr.com>
> Cc: gstreamer-devel at lists.sourceforge.net
> Sent: Sunday, September 16, 2007 5:52:56 AM
> Subject: Re: [gst-devel] streaming http....
> 
> hi,
> 
> Philip Pellouchoud wrote:
>> i am having trouble playing http://blahblahblah.mp3 but I can play
>> file://c:\\test.mp3 no problem.
> 
> gnomecfssrc or neonhttpssrc. It would be a good idea to give us some more
> context (which application etc.)
> 
> Stefan
> 
>>
>> any ideas on what I need?
>>
>> -phil
>>
>> ------------------------------------------------------------------------
>> Be a better Heartthrob. Get better relationship answers
>>
> <http://us.rd.yahoo.com/evt=48255/*http://answers.yahoo.com/dir/_ylc=X3oDMTI5MGx2aThyBF9TAzIxMTU1MDAzNTIEX3MDMzk2NTQ1MTAzBHNlYwNCQUJwaWxsYXJfTklfMzYwBHNsawNQcm9kdWN0X3F1ZXN0aW9uX3BhZ2U-?link=list&sid=396545433>from
> <http://us.rd.yahoo.com/evt=48255/*http://answers.yahoo.com/dir/_ylc=X3oDMTI5MGx2aThyBF9TAzIxMTU1MDAzNTIEX3MDMzk2NTQ1MTAzBHNlYwNCQUJwaWxsYXJfTklfMzYwBHNsawNQcm9kdWN0X3F1ZXN0aW9uX3BhZ2U-?link=list&sid=396545433%3Efrom>
>> someone who knows.
>> Yahoo! Answers - Check it out.
>>
>>
>> ------------------------------------------------------------------------
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2005.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 
> 
> ------------------------------------------------------------------------
> Take the Internet to Go: Yahoo!Go puts the Internet in your pocket:
> <http://us.rd.yahoo.com/evt=48253/*http://mobile.yahoo.com/go?refer=1GNXIC>
> mail, news, photos & more.
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list