[gst-devel] Help on souphttpsrc

snvd1 lcai at yahoo-inc.com
Wed Jun 17 19:19:51 CEST 2009

Hi Tim, thanks for replay.

The url I tested is a google video, which is progressive downloading. When I
set debug-level=5, I can see that the seeking is successful from
souphttpsrc, but playing after seeking freezes. I use seek-by-bytes and give
a random number. To your question (c), do you mean demuxer/parser in my
pipeline? My pipeline is:

souphttpsrc name=mysrc ! decodebin2 name=decoder decoder. ! queue !
audioconvert ! audioresample ! osssink decoder. ! ffmpegcolorspace !

Do you see problems in my pipeline?

Thanks so much for your help,

Tim-Philipp Müller wrote:
> On Mon, 2009-06-15 at 16:39 -0700, snvd1 wrote:
>> I'm creating a video player that can stream video from the internet, and
>> performs seeking on the stream. Somebody indicates souphttpsrc is the
>> solution but it doesn't work for me, my code looks like the beloow, when
>> I
>> call  gst_element_seek_simple(pipeline, GST_FORMAT_TIME,
>> GST_SEEK_FLAG_FLUSH, 5*GST_SECOND), it always fails, please please help.
> Whether seeking over http will work depends mostly on (a) the type of
> stream/file (live broadcast, static file download?) (b) the server (does
> it support seeking, does it supply the content length?) (c) the
> demuxer/parser in question (ie. the file format of the stream).
> So hard to say more without more information.
>  Cheers
>   -Tim
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing 
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

View this message in context: http://www.nabble.com/Help-on-souphttpsrc-tp24042332p24078153.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.

More information about the gstreamer-devel mailing list