<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    On 28/10/16 03:11, Stuart Axon wrote:<br>
    <blockquote
      cite="mid:%3C1166920396.2620953.1477584704197@mail.yahoo.com%3E"
      type="cite">
      <div style="color:#000; background-color:#fff;
        font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
        Lucida Grande, sans-serif;font-size:16px">
        <div id="yui_3_16_0_ym19_1_1477566408997_90876"><span
            id="yui_3_16_0_ym19_1_1477566408997_90911">I was playing
            with this example</span></div>
        <div id="yui_3_16_0_ym19_1_1477566408997_90917" dir="ltr"><span
            id="yui_3_16_0_ym19_1_1477566408997_90911"><a
              moz-do-not-send="true"
href="https://lubosz.wordpress.com/2014/05/27/gstreamer-overlay-opengl-sink-example-in-python-3/comment-page-1/#comment-409"
              class="" id="yui_3_16_0_ym19_1_1477566408997_92754">https://lubosz.wordpress.com/2014/05/27/gstreamer-overlay-opengl-sink-example-in-python-3/comment-page-1/#comment-409</a><br>
          </span></div>
        <div id="yui_3_16_0_ym19_1_1477566408997_92773"><br>
        </div>
        <div id="yui_3_16_0_ym19_1_1477566408997_92827"><br>
          And found that gltestsrc doesn't seem to work for me</div>
        <div id="yui_3_16_0_ym19_1_1477566408997_96646"><br>
        </div>
        <div id="yui_3_16_0_ym19_1_1477566408997_96647">On a raspberry
          pi it is not available.</div>
        <div><br>
        </div>
        <div>On my PC, I get the error below.   Is it supposed to work,
          or has it been deprecated or something ?</div>
        <div id="yui_3_16_0_ym19_1_1477566408997_96601"><br>
        </div>
        <div dir="ltr" id="yui_3_16_0_ym19_1_1477566408997_96599">$
          gst-launch-1.0 -v gltestsrc ! glimagesink<br
            id="yui_3_16_0_ym19_1_1477566408997_96569">
          Setting pipeline to PAUSED ...<br
            id="yui_3_16_0_ym19_1_1477566408997_96570">
          Pipeline is PREROLLING ...<br
            id="yui_3_16_0_ym19_1_1477566408997_96571">
          Got context from element 'sink': gst.gl.GLDisplay=context,
          gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayX11\)\
          gldisplayx11-0";<br id="yui_3_16_0_ym19_1_1477566408997_96572">
          /GstPipeline:pipeline0/GstGLTestSrc:gltestsrc0.GstPad:src:
          caps = "video/x-raw\(memory:GLMemory\)\,\
          format\=\(string\)RGBA\,\ width\=\(int\)320\,\
          height\=\(int\)240\,\ framerate\=\(fraction\)30/1\,\
          texture-target\=\(string\)2D"<br
            id="yui_3_16_0_ym19_1_1477566408997_96573">
/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0.GstGhostPad:sink.GstProxyPad:proxypad0:
          caps = "video/x-raw\(memory:GLMemory\)\,\
          format\=\(string\)RGBA\,\ width\=\(int\)320\,\
          height\=\(int\)240\,\ framerate\=\(fraction\)30/1\,\
          texture-target\=\(string\)2D"<br
            id="yui_3_16_0_ym19_1_1477566408997_96574">
/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLUploadElement:gluploadelement0.GstPad:src:
          caps = "video/x-raw\(memory:GLMemory\)\,\
          format\=\(string\)RGBA\,\ width\=\(int\)320\,\
          height\=\(int\)240\,\ framerate\=\(fraction\)30/1\,\
          texture-target\=\(string\)2D"<br
            id="yui_3_16_0_ym19_1_1477566408997_96575">
/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLColorConvertElement:glcolorconvertelement0.GstPad:src:
          caps = "video/x-raw\(memory:GLMemory\)\,\
          format\=\(string\)RGBA\,\ width\=\(int\)320\,\
          height\=\(int\)240\,\ framerate\=\(fraction\)30/1\,\
          texture-target\=\(string\)2D"<br
            id="yui_3_16_0_ym19_1_1477566408997_96576">
/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLColorBalance:glcolorbalance0.GstPad:src:
          caps = "video/x-raw\(memory:GLMemory\)\,\
          format\=\(string\)RGBA\,\ width\=\(int\)320\,\
          height\=\(int\)240\,\ framerate\=\(fraction\)30/1\,\
          texture-target\=\(string\)2D"<br
            id="yui_3_16_0_ym19_1_1477566408997_96577">
/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLImageSink:sink.GstPad:sink:
          caps = "video/x-raw\(memory:GLMemory\)\,\
          format\=\(string\)RGBA\,\ width\=\(int\)320\,\
          height\=\(int\)240\,\ framerate\=\(fraction\)30/1\,\
          texture-target\=\(string\)2D"<br
            id="yui_3_16_0_ym19_1_1477566408997_96578">
/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLColorBalance:glcolorbalance0.GstPad:sink:
          caps = "video/x-raw\(memory:GLMemory\)\,\
          format\=\(string\)RGBA\,\ width\=\(int\)320\,\
          height\=\(int\)240\,\ framerate\=\(fraction\)30/1\,\
          texture-target\=\(string\)2D"<br
            id="yui_3_16_0_ym19_1_1477566408997_96579">
/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLColorConvertElement:glcolorconvertelement0.GstPad:sink:
          caps = "video/x-raw\(memory:GLMemory\)\,\
          format\=\(string\)RGBA\,\ width\=\(int\)320\,\
          height\=\(int\)240\,\ framerate\=\(fraction\)30/1\,\
          texture-target\=\(string\)2D"<br
            id="yui_3_16_0_ym19_1_1477566408997_96580">
/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLUploadElement:gluploadelement0.GstPad:sink:
          caps = "video/x-raw\(memory:GLMemory\)\,\
          format\=\(string\)RGBA\,\ width\=\(int\)320\,\
          height\=\(int\)240\,\ framerate\=\(fraction\)30/1\,\
          texture-target\=\(string\)2D"<br
            id="yui_3_16_0_ym19_1_1477566408997_96581">
/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0.GstGhostPad:sink:
          caps = "video/x-raw\(memory:GLMemory\)\,\
          format\=\(string\)RGBA\,\ width\=\(int\)320\,\
          height\=\(int\)240\,\ framerate\=\(fraction\)30/1\,\
          texture-target\=\(string\)2D"<br
            id="yui_3_16_0_ym19_1_1477566408997_96582">
          ERROR: from element
          /GstPipeline:pipeline0/GstGLTestSrc:gltestsrc0: GL API's not
          compatible context: opengl3 supported: opengl<br
            id="yui_3_16_0_ym19_1_1477566408997_96583">
        </div>
      </div>
    </blockquote>
    <br>
    This is probably because older version of gltestsrc only supported
    legacy OpenGL where we attempt to create a core OpenGL contexts
    (opengl3).  Newer versions have this fixed as well as being
    available on the Raspberry Pi (or any other OpenGL|ES system).<br>
    <br>
    Cheers<br>
    -Matt<br>
    <br>
    <blockquote
      cite="mid:%3C1166920396.2620953.1477584704197@mail.yahoo.com%3E"
      type="cite">
      <div style="color:#000; background-color:#fff;
        font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
        Lucida Grande, sans-serif;font-size:16px">
        <div dir="ltr" id="yui_3_16_0_ym19_1_1477566408997_96599">Additional
          debug info:<br id="yui_3_16_0_ym19_1_1477566408997_96584">
          gstgltestsrc.c(869): gst_gl_test_src_decide_allocation ():
          /GstPipeline:pipeline0/GstGLTestSrc:gltestsrc0<br
            id="yui_3_16_0_ym19_1_1477566408997_96585">
          ERROR: pipeline doesn't want to preroll.<br
            id="yui_3_16_0_ym19_1_1477566408997_96586">
          Setting pipeline to NULL ...<br
            id="yui_3_16_0_ym19_1_1477566408997_96587">
/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLImageSink:sink.GstPad:sink:
          caps = "NULL"<br id="yui_3_16_0_ym19_1_1477566408997_96588">
/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLColorBalance:glcolorbalance0.GstPad:src:
          caps = "NULL"<br id="yui_3_16_0_ym19_1_1477566408997_96589">
/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLColorBalance:glcolorbalance0.GstPad:sink:
          caps = "NULL"<br id="yui_3_16_0_ym19_1_1477566408997_96590">
/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLColorConvertElement:glcolorconvertelement0.GstPad:src:
          caps = "NULL"<br id="yui_3_16_0_ym19_1_1477566408997_96591">
/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLColorConvertElement:glcolorconvertelement0.GstPad:sink:
          caps = "NULL"<br id="yui_3_16_0_ym19_1_1477566408997_96592">
/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLUploadElement:gluploadelement0.GstPad:src:
          caps = "NULL"<br id="yui_3_16_0_ym19_1_1477566408997_96593">
/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLUploadElement:gluploadelement0.GstPad:sink:
          caps = "NULL"<br id="yui_3_16_0_ym19_1_1477566408997_96594">
/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0.GstGhostPad:sink.GstProxyPad:proxypad0:
          caps = "NULL"<br id="yui_3_16_0_ym19_1_1477566408997_96595">
/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0.GstGhostPad:sink:
          caps = "NULL"<br id="yui_3_16_0_ym19_1_1477566408997_96596">
          /GstPipeline:pipeline0/GstGLTestSrc:gltestsrc0.GstPad:src:
          caps = "NULL"<br id="yui_3_16_0_ym19_1_1477566408997_96597">
          Freeing pipeline ...<br
            id="yui_3_16_0_ym19_1_1477566408997_96598">
          <br>
        </div>
        <div><br>
        </div>
        <div id="yui_3_16_0_ym19_1_1477566408997_94654"><br>
        </div>
        <div id="yui_3_16_0_ym19_1_1477566408997_92839"> </div>
        <div class="signature"
          id="yui_3_16_0_ym19_1_1477566408997_90897">S++</div>
      </div>
    </blockquote>
    <br>
  </body>
</html>