SoupHttpSrc repeat read option

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

SoupHttpSrc repeat read option

Dragos Cirjan
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
Reply | Threaded
Open this post in threaded view
|

Re: SoupHttpSrc repeat read option

Eric Zhang-6
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



-------------------------------------------------------------------------
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
Reply | Threaded
Open this post in threaded view
|

Re: SoupHttpSrc repeat read option

Dragos Cirjan
In reply to this post by Dragos Cirjan
Hi there.

I have to admit you are kinda talking foring languages to me :|.

I'm not familiar at all with gnome lib. Even gstreamer (0.10)
documentation has gaps for me.
I wrote to the author, but it seems that the email is not valid anymore.

Can anyone help me with a patch or smth pls?

Thanks a lot in advance.

Chris


>
> 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
Reply | Threaded
Open this post in threaded view
|

Re: SoupHttpSrc repeat read option

Edward Hervey
Administrator
In reply to this post by Eric Zhang-6
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
>        
>
>
> -------------------------------------------------------------------------
> 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


-------------------------------------------------------------------------
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