<div dir="ltr"><div>You will get more help if you provide more details, like OS and hardware platform.<br><br></div>The error that you are getting is 'not negotiated', which means that you tried to link 2 elements that aren't compatible. You need to find out which two. This will be an iterative process. Enable some logging, see what develops, adjust the logging and try again, repeat. It looks like the GstJpegDec element is complaining. I would start with souphttpsrc:5,GST_ELEMENT:5. I think that GST_ELEMENT may be the one that will display the most useful info, but I might be wrong. Others will tell you to simply do *:6, but that generates a lot of message traffic, but it will contain the problem. How you enable the logging is a function of the OS and maybe the platform. You should also examine the souphttpsrc element documentation to see what it is doing.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 23, 2015 at 7:24 AM, nero88 <span dir="ltr"><<a href="mailto:vazlup@gmail.com" target="_blank">vazlup@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, I'm trying to play a camera IP with an embedded system that includes a<br>
display using Gstreamer.<br>
If I use the command playbin2 the streaming play but if I use souphttpsrc i<br>
can not see anything and I get an error.<br>
Is there any way I can see how it is configured the pipeline when I use the<br>
command playbin2?<br>
<br>
Resolution video: 1280x720<br>
Gstreamer 0.1<br>
<br>
*Result:*<br>
/gst-launch-0.10 playbin2 uri=<a href="http://192.168.0.231/" target="_blank">http://192.168.0.231/</a><br>
Out (Play streaming):<br>
Pipeline is PREROLLING ...<br>
Prerolled, waiting for buffering to finish...<br>
Pipeline is PREROLLED ...<br>
Setting pipeline to PLAYING ...<br>
New clock: GstSystemClock<br>
<br>
-----<br>
/gst-launch-0.10 souphttpsrc is-live=FALSE location=<a href="http://192.168.0.251" target="_blank">http://192.168.0.251</a> !<br>
queue2 use-buffering=true max-size-bytes= 20971520 max-size-buffers=0<br>
max-size-time=0 ! jpegdec ! autovideosink/<br>
Out (NO play streaming):<br>
Pipeline is PREROLLING ...<br>
ERROR: from element /GstPipeline:pipeline0/GstJpegDec:jpegdec0: Buffer<br>
allocation failed, reason: not-negotiated<br>
Additional debug info:<br>
gstjpegdec.c(1494): gst_jpeg_dec_chain ():<br>
/GstPipeline:pipeline0/GstJpegDec:jpegdec0:<br>
Buffer allocation failed, reason: not-negotiated<br>
ERROR: pipeline doesn't want to preroll.<br>
Setting pipeline to NULL ...<br>
Freeing pipeline ...<br>
<br>
Thanks!<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Streaming-camera-IP-HD-in-embedded-system-tp4670410.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Streaming-camera-IP-HD-in-embedded-system-tp4670410.html</a><br>
Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div>