<div dir="ltr"><div><div>Hi Sebastian.<br><br></div>I now have the latest 1.3.90 Git Master running on Raspberry Pi.<br><br></div>Trying to do something very simple like the following pipeline<br><br><div style="margin-left:40px">
gst-launch-1.0 videotestsrc is-live=true ! 'video/x-raw, width=1512, height=1080, frame-rate=10/1' ! glimagesink<br></div><div><br></div><div>Then I see a the video test picture being shown approx. 2 frames per second but with black screen in-between and it complains about being too slow.<br>
<br></div><div>If I try anything above 1512x1080, such as 1514x1080 or 1920x1080 it will show an initial flicker of a white line being drawn across and the just black screen. So it seems not to be able to play it.<br><br>
</div><div>When I was displaying video with either autovideosink or eglglessink for gstreamer 1.0.10 it would scale the display to fullscreen using hardware scale of the Pi. But when I play 1.3.90 with glimagesink, no scaling is taking place. What is the appropriate way to get gstreamer 1.3.90 to scale to full screen on a Pi?<br>
<br></div><div>When I try to play content using the following pipeline for 1.3.90, it complain about being to slow:<br><br><div style="margin-left:40px">gst-launch-1.0 tcpclientsrc host=192.168.10.50 port=5010 ! decodebin ! glimagesink<br>
</div><br></div><div>The pipeline works well for 1.0.10 and eglglessink or autovideosink<br><br></div><div>WHen I try to play the following pipeline for 1.3.90, it fails:<br><br><div style="margin-left:40px">gst-launch-1.0 tcpclientsrc host=192.168.10.50 port=5010 ! matroskaparse ! matroskademux ! h264parse ! queue ! omxh264dec ! queue ! glimagesink<br>
<br>Got context from element 'glimagesink0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayEGL\)\ gldisplayegl0";<br><br>** (gst-launch-1.0:2770): CRITICAL **: gst_video_frame_map_id: assertion `GST_IS_BUFFER (buffer)' failed<br>
<br>(gst-launch-1.0:2770): GStreamer-CRITICAL **: gst_mini_object_unref: assertion `mini_object != NULL' failed<br>ERROR: from element /GstPipeline:pipeline0/GstGLImageSink:glimagesink0: Failed to upload buffer<br>Additional debug info:<br>
gstglimagesink.c(768): gst_glimage_sink_prepare (): /GstPipeline:pipeline0/GstGLImageSink:glimagesink0<br>ERROR: pipeline doesn't want to preroll.<br></div><br></div><div>Where do I go from here?<br><br></div><div>Thanks in advance for hints and pointers.<br>
<br></div><div>best regards<br></div><div>Peter Maersk-Moller<br></div><div><br></div><div><br><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 3, 2014 at 10:52 AM, Sebastian Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Fr, 2014-06-27 at 19:33 +0200, Peter Maersk-Moller wrote:<br>
> And the debug is attached to mail ... lets see if the mail list can accept<br>
> attachments??<br>
<br>
</div>From the logs the problem seems to be that your sink does not handle the<br>
resolution and also the decoder is outputting frames in CPU memory. This<br>
is going to be too slow for HD video on the RPi.<br>
<br>
Try a manual pipeline that does not use decodebin but instead just has<br>
<br>
... ! h264parse ! omxh264dec ! queue ! glimagesink<br>
(or if you're using 1.2 use eglglessink).<br>
<br>
You'll ideally have gst-omx from latest GIT master, compiled for the RPi<br>
and with libgstgl support.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Sebastian Dröge, Centricular Ltd - <a href="http://www.centricular.com" target="_blank">http://www.centricular.com</a><br>
Expertise, Straight from the Source<br>
</div></div><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>
<br></blockquote></div><br></div>