v4l2src & GstGLUpload (was: White frames with v4l2 source & GstGLUploadElement)
ystreet00 at gmail.com
Thu Apr 28 05:27:14 UTC 2016
On 28/04/16 06:40, Gottfried Haider wrote:
> Hello all,
> I've managed to narrow down the issue I described yesterday - so
> posting again, in the hope that someone has an idea:
> Running testegl.c from gst-omx  with the playbin uri set to
> v4l2:///dev/video0 only renders a black cube.
> Is this expected? I am running GStreamer 1.8.1. Running testegl.c with
> a video file works just fine, as does playing back /dev/video0 via
> gst-launch-1.0 - which does include a GLUpload & GLImageSink for me as
> well, btw.
> Changes to testegl.c that I have attempted:
> * using GST_PLAY_FLAG_VIDEO instead GST_PLAY_FLAG_NATIVE_VIDEO
> * adding format=RGBA to the capsfilter
> * removing the max-lateness property from the fakesink caps
Which version of testegl.c did you use? You need git master of gst-omx
for the latest (>= 1.8) changes to libgstgl.
> Here is the resulting pipeline:
> Compared to "gst-launch-1.0 playbin uri=v4l2:///dev/video0":
> Thanks in advance
>  https://cgit.freedesktop.org/gstreamer/gst-omx/tree/examples/egl/testegl.c
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 473 bytes
Desc: OpenPGP digital signature
More information about the gstreamer-devel