[gst-devel] HTTP video source serves individual JPEG images

Wim Taymans wim.taymans at gmail.com
Sat Jan 22 21:55:18 CET 2011


For those sources I would suggest to periodically set the pipeline to
NULL when you
get an EOS event. When you want to get a new image, set it back to PLAYING,
and then you repeat this.

Wim

On Mon, Jan 3, 2011 at 11:38 AM, Guillermo Rodriguez Garcia
<grodriguez at ingelabs.com> wrote:
> Hello all,
>
> I am trying to use gstreamer to stream video (sort of) from a HTTP source
> that serves individual JPEG images. This is not a MJPEG stream -- instead,
> a new HTTP request is required for each frame that is to be retrieved.
>
> This pipeline works for MJPEG:
>
> gst-launch souphttpsrc location=http://user:pass@hostname/path ! jpegdec ! xvimagesink
>
> If I try to use the same pipeline for an HTTP source that serves individual
> JPEG images, only one image is shown (since the HTTP response actually
> contains just one single image).
>
> Is there any way to have souphttpsrc make additional requests periodically
> from the specified location?
>
> Is there any other way to achieve this?
>
> Thanks,
>
> GRodriguez
>
>
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> 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