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

grodriguez at ingelabs.com grodriguez at ingelabs.com
Mon Jan 10 10:23:15 CET 2011


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




More information about the gstreamer-devel mailing list