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

Kocsis Tibor ikt011 at gmail.com
Mon Jan 10 11:15:07 CET 2011


Maybe you should request the frames manually and use appsrc to push
jpeg images as buffers into a decoding pipeline.

On Mon, Jan 10, 2011 at 10:23 AM,  <grodriguez at ingelabs.com> wrote:
> Hello Stefan,
>
> El 08/01/2011 12:16, Stefan Kost escribió:
>> Am 03.01.2011 12:38, schrieb Guillermo Rodriguez Garcia:
>>> 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).
>>
>> gst-launch souphttpsrc location=http://user:pass@hostname/path ! multipartdemux
>> ! jpegdec ! xvimagesink
>
> Thanks for your answer. This pipeline does work for MJPEG (just like
> the one I provided above), but does not solve the problem.
>
> I don't have an MJPEG stream. What I have is a HTTP source that serves
> individual JPEG images (one single JPEG image per HTTP request). What
> I actually need is a way to have souphttpsrc (or another HTTP src) make
> additional HTTP requests periodically from the same URL. Is this
> possible? If not, can anyone suggest how this could be implemented?
>
> Thanks,
>
> G Rodriguez
>
> ------------------------------------------------------------------------------
> Gaining the trust of online customers is vital for the success of any company
> that requires sensitive data to be transmitted over the Web.   Learn how to
> best implement a security strategy that keeps consumers' information secure
> and instills the confidence they need to proceed with transactions.
> 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