<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yiv8321436564"><div id="yui_3_16_0_ym19_1_1480530747338_3084"><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" id="yui_3_16_0_ym19_1_1480530747338_3083"><div id="yiv8321436564"><div id="yiv8321436564yui_3_16_0_ym19_1_1480510609391_49556"><div id="yiv8321436564yui_3_16_0_ym19_1_1480510609391_49555" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div id="yiv8321436564"><div id="yiv8321436564yui_3_16_0_ym19_1_1480510609391_3021"><div id="yiv8321436564yui_3_16_0_ym19_1_1480510609391_3020" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div id="yiv8321436564yui_3_16_0_ym19_1_1480510609391_49657">I've done some more testing using the 1920x1080 big buck bunny clip that comes on the pi</div><div id="yiv8321436564yui_3_16_0_ym19_1_1480510609391_49665"><br clear="none"></div><div id="yui_3_16_0_ym19_1_1480530747338_3212">With gst 1.4 it plays smoothly:<br clear="none"></div><div id="yiv8321436564yui_3_16_0_ym19_1_1480510609391_53157"><br clear="none"></div><div></div><div dir="ltr" id="yiv8321436564yui_3_16_0_ym19_1_1480510609391_49653">gst-launch-1.0 filesrc location=/opt/vc/src/hello_pi/hello_video/test.h264 ! decodebin ! glimagesink</div><div dir="ltr" id="yiv8321436564yui_3_16_0_ym19_1_1480510609391_56622"><br clear="none"></div><div dir="ltr" id="yiv8321436564yui_3_16_0_ym19_1_1480510609391_56621"><br clear="none"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1480530747338_6750">With gst uninstalled it stutters<br clear="none"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1480530747338_6752"><br clear="none"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1480530747338_6751">~/gst/gst-master gst-launch-1.0 filesrc location=/opt/vc/src/hello_pi/hello_video/test.h264 ! decodebin ! glimagesink<br clear="none"></div><div id="yiv8321436564yui_3_16_0_ym19_1_1480510609391_49652"><br clear="none"></div><div id="yiv8321436564yui_3_16_0_ym19_1_1480510609391_56620"><br clear="none"></div><div dir="ltr">This is similar (but not as sever as tests on my own videos)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1480530747338_3145"><br clear="none"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1480530747338_3147">With my own videos, smaller ones seem to play 1280x720 seems fine, but 1920x1080 stutters and crashes.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1480530747338_3148"><div><br clear="none"></div><div id="yui_3_16_0_ym19_1_1480530747338_3201">Here is a folder with the test video in different sizes:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1480530747338_8396"><a href="https://drive.google.com/open?id=0Bxe9EapH3b-wcVl2LUJ6M216TlU" id="yui_3_16_0_ym19_1_1480530747338_8395">https://drive.google.com/open?id=0Bxe9EapH3b-wcVl2LUJ6M216TlU</a><br></div><div id="yui_3_16_0_ym19_1_1480530747338_8397"><br></div><div>"good" plays - "bad" stutter and die.<br></div><div><br></div><div id="yui_3_16_0_ym19_1_1480530747338_3202"><br></div><div id="yui_3_16_0_ym19_1_1480530747338_3263"><br clear="none"></div></div><div dir="ltr" id="yui_3_16_0_ym19_1_1480530747338_3152">I'll open a separate ticket for this as it seems like it may be a different issue.<br clear="none"></div><div id="yui_3_16_0_ym19_1_1480530747338_3230"><br clear="none"></div><div class="yiv8321436564qtdSeparateBR" id="yiv8321436564yui_3_16_0_ym19_1_1480510609391_3022"><br clear="none"></div><div class="yiv8321436564yqt4249017711" id="yiv8321436564yqt40288"></div></div></div></div><div class="yiv8321436564yqt6936074762" id="yiv8321436564yqt54301"><div class="yiv8321436564yqt1400418504" id="yiv8321436564yqt60422"><div id="yiv8321436564yui_3_16_0_ym19_1_1480510609391_49569"> <div id="yiv8321436564yui_3_16_0_ym19_1_1480510609391_49568" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div id="yiv8321436564yui_3_16_0_ym19_1_1480510609391_49567" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div dir="ltr" id="yiv8321436564yui_3_16_0_ym19_1_1480510609391_49575"><font id="yiv8321436564yui_3_16_0_ym19_1_1480510609391_49574" size="2" face="Arial"> On Tuesday, November 29, 2016 7:24 PM, Stuart Axon <stuaxo2@yahoo.com> wrote:<br clear="none"></font></div> <blockquote id="yiv8321436564yui_3_16_0_ym19_1_1480510609391_49566" style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;margin-top:5px;padding-left:5px;"> <br clear="none"><br clear="none"> <div class="yiv8321436564y_msg_container" id="yiv8321436564yui_3_16_0_ym19_1_1480510609391_49602"><div id="yiv8321436564"><div id="yiv8321436564yui_3_16_0_ym19_1_1480510609391_49601"><div id="yiv8321436564yui_3_16_0_ym19_1_1480510609391_49600" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div id="yiv8321436564yui_3_16_0_1_1480446408316_7918">I've since done a bit more testing with <a rel="nofollow" shape="rect" id="yiv8321436564yui_3_16_0_1_1480446408316_10059" target="_blank" href="https://github.com/munezbn/dispmanx-gst-play">https://github.com/munezbn/dispmanx-gst-play</a> and been able to reproduce this.</div><div id="yiv8321436564yui_3_16_0_ym19_1_1480510609391_51432"><br clear="none"></div><div dir="ltr" id="yiv8321436564yui_3_16_0_1_1480446408316_10060">I may have been getting confused though, as with further testing and it may not be this that is fatal - I have two files, one of which causes the pi to get in a state where it needs to be rebooted to play again (with further plays dispmanx gets in a state where it is stuck at "buffering")</div><div dir="ltr" id="yiv8321436564yui_3_16_0_1_1480446408316_10061"><br clear="none"></div><div dir="ltr" id="yiv8321436564yui_3_16_0_1_1480446408316_10099"><br clear="none"></div><div dir="ltr" id="yiv8321436564yui_3_16_0_1_1480446408316_10100">This video causes the crash:<br clear="none"></div><div dir="ltr" id="yiv8321436564yui_3_16_0_1_1480446408316_10062"><a rel="nofollow" shape="rect" class="yiv8321436564" id="yiv8321436564yui_3_16_0_1_1480446408316_10065" target="_blank" href="https://drive.google.com/file/d/0Bxe9EapH3b-waDlqTzBzN0hDRmM/view?usp=sharing">https://drive.google.com/file/d/0Bxe9EapH3b-waDlqTzBzN0hDRmM/view?usp=sharing</a><br clear="none"></div><div id="yiv8321436564yui_3_16_0_1_1480446408316_10110"><br clear="none"></div><div id="yiv8321436564yui_3_16_0_1_1480446408316_10160">This video works:</div><a rel="nofollow" shape="rect" id="yiv8321436564yui_3_16_0_1_1480446408316_14162" target="_blank" href="https://drive.google.com/file/d/0Bxe9EapH3b-wMnZlSG5EZWdYd1U/view?usp=sharing">https://drive.google.com/file/d/0Bxe9EapH3b-wMnZlSG5EZWdYd1U/view?usp=sharing</a><br clear="none"><div id="yiv8321436564yui_3_16_0_1_1480446408316_14031">    <br clear="none"></div><div dir="ltr" id="yiv8321436564yui_3_16_0_1_1480446408316_14460">I'm not sure whether the EGL errors and the failed playback are the same issue though ?<br clear="none"></div><div id="yiv8321436564yui_3_16_0_1_1480446408316_14461"> </div><div class="yiv8321436564signature" id="yiv8321436564yui_3_16_0_1_1480446408316_14462">S++</div> <div class="yiv8321436564qtdSeparateBR"><br clear="none"><br clear="none"></div><div class="yiv8321436564yqt8813586129" id="yiv8321436564yqt21456"></div></div></div></div><br clear="none"><br clear="none"></div> </blockquote> </div> </div>  </div></div></div></div></div></div><div class="yiv8321436564yqt6936074762" id="yiv8321436564yqt67583"><div id="yui_3_16_0_ym19_1_1480530747338_3082"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" id="yui_3_16_0_ym19_1_1480530747338_3081"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" id="yui_3_16_0_ym19_1_1480530747338_3080"> <div dir="ltr"><font size="2" face="Arial"> On Tuesday, November 29, 2016 2:52 PM, Philippe Normand <phil@base-art.net> wrote:<br clear="none"></font></div> <blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;margin-top:5px;padding-left:5px;" id="yui_3_16_0_ym19_1_1480530747338_3079"> <br clear="none"><br clear="none"> <div class="yiv8321436564y_msg_container" id="yui_3_16_0_ym19_1_1480530747338_3078">This looks like <a rel="nofollow" shape="rect" target="_blank" href="https://bugzilla.gnome.org/show_bug.cgi?id=775248">https://bugzilla.gnome.org/show_bug.cgi?id=775248</a><br clear="none"><br clear="none">Philippe<br clear="none"><div class="yiv8321436564yqt5790956738" id="yiv8321436564yqtfd26545"><br clear="none">On Tue, 2016-11-29 at 01:14 +0000, Stuart Axon wrote:<br clear="none">> Hi,<br clear="none">>    On raspberry pi I have a pipeline filesrc->decodebin->glimagesink<br clear="none">> and use set_window_handle.    This works fine, but then when I change<br clear="none">> the location of the filesrc, I get errors like below:<br clear="none">> <br clear="none">> GPU memory is 256MB, so I don't think the problem is there, I call<br clear="none">> set_window_handle in on_sync.<br clear="none">> <br clear="none">> <br clear="none">> errors:<br clear="none">> <br clear="none">> eglCreateImageKHR:  failed to create image for buffer 0x5 target<br clear="none">> 12465 error 0x300c<br clear="none">> 0:00:03.313614361  1716  0x1f43ac0 ERROR           glbasememory<br clear="none">> gstglbasememory.c:94:_mem_create_gl: Failed to create GL buffer:<br clear="none">> Failed to create EGLImage<br clear="none">> 0:00:03.313942533  1716 0x6f304690 ERROR           glbasememory<br clear="none">> gstglbasememory.c:168:gst_gl_base_memory_init: Could not create GL<br clear="none">> buffer with context:0x1f47048<br clear="none">> <br clear="none">> ** (lumenplay:1716): CRITICAL **: gst_egl_image_get_image: assertion<br clear="none">> 'GST_IS_EGL_IMAGE (image)' failed<br clear="none">> eglCreateImageKHR:  failed to create image for buffer 0x6 target<br clear="none">> 12465 error 0x300c<br clear="none">> 0:00:03.365311976  1716  0x1f43ac0 ERROR           glbasememory<br clear="none">> gstglbasememory.c:94:_mem_create_gl: Failed to create GL buffer:<br clear="none">> Failed to create EGLImage<br clear="none">> 0:00:03.365580827  1716 0x6f304690 ERROR           glbasememory<br clear="none">> gstglbasememory.c:168:gst_gl_base_memory_init: Could not create GL<br clear="none">> buffer with context:0x1f47048<br clear="none">> <br clear="none">> ** (lumenplay:1716): CRITICAL **: gst_egl_image_get_image: assertion<br clear="none">> 'GST_IS_EGL_IMAGE (image)' failed<br clear="none">> eglCreateImageKHR:  failed to create image for buffer 0x7 target<br clear="none">> 12465 error 0x300c<br clear="none">> 0:00:03.413724790  1716  0x1f43ac0 ERROR           glbasememory<br clear="none">> gstglbasememory.c:94:_mem_create_gl: Failed to create GL buffer:<br clear="none">> Failed to create EGLImage<br clear="none">> 0:00:03.413977704  1716 0x6f304690 ERROR           glbasememory<br clear="none">> gstglbasememory.c:168:gst_gl_base_memory_init: Could not create GL<br clear="none">> buffer with context:0x1f47048<br clear="none">> <br clear="none">> ** (lumenplay:1716): CRITICAL **: gst_egl_image_get_image: assertion<br clear="none">> 'GST_IS_EGL_IMAGE (image)' failed<br clear="none">> eglCreateImageKHR:  failed to create image for buffer 0x8 target<br clear="none">> 12465 error 0x300c<br clear="none">> 0:00:03.460475490  1716  0x1f43ac0 ERROR           glbasememory<br clear="none">> gstglbasememory.c:94:_mem_create_gl: Failed to create GL buffer:<br clear="none">> Failed to create EGLImage<br clear="none">> 0:00:03.460730435  1716 0x6f304690 ERROR           glbasememory<br clear="none">> gstglbasememory.c:168:gst_gl_base_memory_init: Could not create GL<br clear="none">> buffer with context:0x1f47048<br clear="none">> <br clear="none">> ** (lumenplay:1716): CRITICAL **: gst_egl_image_get_image: assertion<br clear="none">> 'GST_IS_EGL_IMAGE (image)' failed<br clear="none">> 0:00:03.466138490  1716 0x6f304690 ERROR                    omx<br clear="none">> gstomx.c:2048:gst_omx_port_populate_unlocked:<omxh264dec-omxh264dec0> <br clear="none">> Failed to pass buffer 0x6f33c178 ((nil)) to egl_render port 221:<br clear="none">> Incorrect state operation (0x80001018)</div><br clear="none">> <br clear="none">> _______________________________________________<br clear="none">> gstreamer-devel mailing list<br clear="none">> <a rel="nofollow" shape="rect" ymailto="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br clear="none">> <a rel="nofollow" shape="rect" target="_blank" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br clear="none">_______________________________________________<br clear="none">gstreamer-devel mailing list<br clear="none"><a rel="nofollow" shape="rect" ymailto="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><div class="yiv8321436564yqt5790956738" id="yiv8321436564yqtfd12911"><br clear="none"></div><br clear="none"><br clear="none"></div> </blockquote> </div> </div>  </div></div></div></div></div></div></body></html>