Streaming camera IP HD in embedded system

Tim Müller tim at centricular.com
Sun Jan 25 06:30:18 PST 2015


On Fri, 2015-01-23 at 04:24 -0800, nero88 wrote:

> /gst-launch-0.10 souphttpsrc is-live=FALSE location=http://192.168.0.251 !
> queue2 use-buffering=true max-size-bytes= 20971520 max-size-buffers=0
> max-size-time=0 ! jpegdec ! autovideosink/
> Pipeline is PREROLLING ...
> ERROR: from element /GstPipeline:pipeline0/GstJpegDec:jpegdec0: Buffer
> allocation failed, reason: not-negotiated

Try ...   ! jpegdec ! ffmpegcolorspace ! videoscale ! autovideosink

jpegdec might not be outputting a format that the videosink supports.

The stream from souphttpsrc might also be multipart wrapped in which
case you may need a multipartdemux before the decoder.

You could also use:

uridecodebin uri=http://... ! ffmpegcolorspace ! videoscale !
autovideosink

(Note: this is for 0.10; anyone using 1.0 should use 'videoconvert'
instead of 'ffmpegcolorspace').

Cheers
 -Tim


-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list