[gst-devel] HTTP video source serves individual JPEG images
Wim Taymans
wim.taymans at gmail.com
Sat Jan 22 22:04:40 CET 2011
I think the file would just be overwritten with new contents because
the filesink
would reopen (not in append mode) the file.
Wim
On Sat, Jan 22, 2011 at 10:00 PM, Arnout Vandecappelle <arnout at mind.be> wrote:
> Good idea, but wouldn't that wreak havoc on the output file in case it's a
> filesink instead of an xvimagesink?
>
> Regards,
>
> Arnout
>
> On Saturday 22 January 2011 21:55:18, Wim Taymans wrote:
>
>> 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
>
>>
>
>>
>> ---------------------------------------------------------------------------
>
>> --- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
>
>> Finally, a world-class log management solution at an even better
>
>> price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>
>> February 28th, so secure your free ArcSight Logger TODAY!
>
>> http://p.sf.net/sfu/arcsight-sfd2d
>
>> _______________________________________________
>
>> gstreamer-devel mailing list
>
>> gstreamer-devel at lists.sourceforge.net
>
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
> --
>
> Arnout Vandecappelle arnout at mind be
>
> Senior Embedded Software Architect +32-16-286540
>
> Essensium/Mind http://www.mind.be
>
> G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
>
> LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
>
> GPG fingerprint: 31BB CF53 8660 6F88 345D 54CC A836 5879 20D7 CF43
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> 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