<div dir="ltr">Hi Matt,<div><br></div><div>I used current git master of from gst-omx [1] and tag 1.8.1 for gstreamer & gst-plugins-bad.</div><div><br></div><div>Gottfried</div><div><br></div><div>[1] <a href="https://cgit.freedesktop.org/gstreamer/gst-omx/log/examples/egl/testegl.c">https://cgit.freedesktop.org/gstreamer/gst-omx/log/examples/egl/testegl.c</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 28, 2016 at 7:27 AM, Matthew Waters <span dir="ltr"><<a href="mailto:ystreet00@gmail.com" target="_blank">ystreet00@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 28/04/16 06:40, Gottfried Haider wrote:<br>
> Hello all,<br>
><br>
> I've managed to narrow down the issue I described yesterday - so<br>
> posting again, in the hope that someone has an idea:<br>
><br>
> Running testegl.c from gst-omx [1] with the playbin uri set to<br>
> v4l2:///dev/video0 only renders a black cube.<br>
><br>
> Is this expected? I am running GStreamer 1.8.1. Running testegl.c with<br>
> a video file works just fine, as does playing back /dev/video0 via<br>
> gst-launch-1.0 - which does include a GLUpload & GLImageSink for me as<br>
> well, btw.<br>
><br>
><br>
> Changes to testegl.c that I have attempted:<br>
> * using GST_PLAY_FLAG_VIDEO instead GST_PLAY_FLAG_NATIVE_VIDEO<br>
> * adding format=RGBA to the capsfilter<br>
> * removing the max-lateness property from the fakesink caps<br>
<br>
</span>Which version of testegl.c did you use?  You need git master of gst-omx<br>
for the latest (>= 1.8) changes to libgstgl.<br>
<br>
Cheers<br>
-Matt<br>
<span class=""><br>
> Here is the resulting pipeline:<br>
> <a href="http://sukzessiv.net/~gohai/gstreamer/testegl-v4l.png" rel="noreferrer" target="_blank">http://sukzessiv.net/~gohai/gstreamer/testegl-v4l.png</a><br>
</span>> <<a href="http://sukzessiv.net/%7Egohai/gstreamer/testegl-v4l.png" rel="noreferrer" target="_blank">http://sukzessiv.net/%7Egohai/gstreamer/testegl-v4l.png</a>><br>
<span class="">><br>
> Compared to "gst-launch-1.0 playbin uri=v4l2:///dev/video0":<br>
> <a href="http://sukzessiv.net/~gohai/gstreamer/gst-launch-v4l.png" rel="noreferrer" target="_blank">http://sukzessiv.net/~gohai/gstreamer/gst-launch-v4l.png</a><br>
</span>> <<a href="http://sukzessiv.net/%7Egohai/gstreamer/gst-launch-v4l.png" rel="noreferrer" target="_blank">http://sukzessiv.net/%7Egohai/gstreamer/gst-launch-v4l.png</a>><br>
<div class="HOEnZb"><div class="h5">><br>
><br>
> Thanks in advance<br>
> Gottfried<br>
><br>
> [1] <a href="https://cgit.freedesktop.org/gstreamer/gst-omx/tree/examples/egl/testegl.c" rel="noreferrer" target="_blank">https://cgit.freedesktop.org/gstreamer/gst-omx/tree/examples/egl/testegl.c</a><br>
<br>
</div></div></blockquote></div><br></div>