v4l2src & GstGLUpload (was: White frames with v4l2 source & GstGLUploadElement)
Gottfried Haider
gottfried.haider at gmail.com
Wed Apr 27 20:40:31 UTC 2016
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 [1] 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
Here is the resulting pipeline:
http://sukzessiv.net/~gohai/gstreamer/testegl-v4l.png
Compared to "gst-launch-1.0 playbin uri=v4l2:///dev/video0":
http://sukzessiv.net/~gohai/gstreamer/gst-launch-v4l.png
Thanks in advance
Gottfried
[1]
https://cgit.freedesktop.org/gstreamer/gst-omx/tree/examples/egl/testegl.c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160427/f86e5385/attachment.html>
More information about the gstreamer-devel
mailing list