Re: SoupHttpSrc(CurlSrc) repeat read option

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: SoupHttpSrc(CurlSrc) repeat read option

Dragos Cirjan
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 <[hidden email]>
> > Subject: Re: [gst-devel] help me write a curl src plugin
> > To: [hidden email]
> > Message-ID: <[hidden email]>
> > 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 <[hidden email]>
> >         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: [hidden email]
Email: [hidden email], [hidden email]
Telefon: +40726355762


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel