[gst-devel] SoupHttpSrc(CurlSrc) repeat read option

Dragos Cirjan dragos.cirjan at gmail.com
Wed Sep 10 20:32:52 CEST 2008


Since I kinda finished my plugin ( using curl ) also ( without help :)) ), I
will merge the two threads I made.
Btw. you can find my plugin here:
http://dor.homelinux.com/gstcurlsrc.tgz(For now it's on ALPHA stage).

I need to know how to repeat reading a jpeg image, because THERE ARE Video
Cameras/Servers that DO NOT have mJPEG option, but only JPEG, and you really
need to simulate mJPEG by reading the source repeatedly.

The question remains: Can you please help me add such an option either to my
plugin either to souphttp plugin?

Edward, I need you to explain to me a little more detailed. If it is the way
I understood, I can't do that. I'm suppose that in the end I should be able
to run at least 32 threads (as in mpeg/jpeg/mjpeg links) in the same time,
and it may become to complicated adding fakesrc's while I still belive I can
add such an option.

Tim, I have all the sources downloaded for a few weeks now, but still I
couldn't find more than neon and soup as http sources. If there are others,
their names do not sugest this.

Thanks in advance.

Chris

P.S. I have an ideea, but I simply do not have the energy to work on it
today anymore. If it comes out to be good, I'll probably let u know tomorow.
Still I am 90% sure I still need your help.


> On Wed, 2008-09-10 at 19:02 +0300, Dragos Cirjan wrote:
> > If you tell me where to find them, Tim, I so promise I shall look.
> >
> > On the Overview of the Plugin List secion on GST Documentation I can
> > only find 2 (http://gstreamer.freedesktop.org/documentation/plugins.html
).
> >
>
>  Next to those plugins, click on the link (the gst-plugins-XXX one),
> and download the source from there.
>
> > Now really. I'm a NOOB! I need to learn and GST has BIG BIG gaps in
> > documentation.
> >
> > Thanks in advance.
> >
> > Chris
> >
> > Message: 6
> > Date: Wed, 10 Sep 2008 10:48:35 +0100
> > From: Tim-Philipp M?ller <t.i.m at zen.co.uk>
> > Subject: Re: [gst-devel] help me write a curl src plugin
> > To: gstreamer-devel at lists.sourceforge.net
> > Message-ID: <1221040115.20459.1.camel at mini.centricular.net>
> > Content-Type: text/plain
> >
> > On Wed, 2008-09-10 at 12:00 +0300, Dragos Cirjan wrote:
> >
> > > I'm writing a curl src plugin for gstreamer 0.10 but my knowledge is
> > > pretty low on both gnome & gstreamer SDK.
> > >
> > > I have a few problems puting the info in the buffer. Can anyone pls
> > > help me with debugging what I wrote till now?
> >
> > Have you looked at any of the 291 already existing http sources yet?
> >
> > Cheers
> >  -Tim
> >
>
> ===================================================
>
> Hi,
>
>  Why don't you just use a fakesrc, connect to the 'handoff' signal and
> do the http GET yourself ? You can then give the data back to fakesrc
> that way.
>
>  BTW, are you sure it's not feeding you the jpegs as multipart ? If you
> go on the address in a webpage... does the image refresh automatically ?
>
>   Edward
>
> On Wed, 2008-09-10 at 09:37 +0800, Eric Zhang wrote:
> > Hi, Dragos:
> >
> >     This is interesting. I have no idea on it -- maybe you can create
> > a timeout callback using `g_timeout_add' and play the pipeline again
> > and again?
> >
> >     Or you can hook the `EOS' message and trying to play the pipeline
> > again while not terminate the pipeline. Ask Wim, he always has a lot
> > of ideas.  :)
> >
> > Eric
> >
> > 2008/9/9 Dragos Cirjan <dragos.cirjan at gmail.com>
> >         Hi there.
> >
> >         I need a repeat read option for souphttpsrc.
> >
> >         The problem that I have sounds like this: there are Video over
> >         IP cameras that have neigther MPJEG neigther MPEG sources but
> >         JPEG ones. The conclusion is that u have to reread the source
> >         over and over again.
> >
> >         Can anyone tell me what to modifiy to be able to do this?
> >
> >         Thanks.
> >
> >         Chris

-- 
-----------------------------------------------------------------
Cristian - Dragos, Cirjan
-----------------------------------------------------------------
Email: dragos.cirjan at yahoo.com
Email: dragos.cirjan at itmediaconnect.ro, doru at bocancul-literar.ro
Telefon: +40726355762
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20080910/dc30fad7/attachment.htm>


More information about the gstreamer-devel mailing list