v4l2src & GstGLUpload (was: White frames with v4l2 source & GstGLUploadElement)
Matthew Waters
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 [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
Which version of testegl.c did you use? You need git master of gst-omx
for the latest (>= 1.8) changes to libgstgl.
Cheers
-Matt
> Here is the resulting pipeline:
> http://sukzessiv.net/~gohai/gstreamer/testegl-v4l.png
> <http://sukzessiv.net/%7Egohai/gstreamer/testegl-v4l.png>
>
> Compared to "gst-launch-1.0 playbin uri=v4l2:///dev/video0":
> http://sukzessiv.net/~gohai/gstreamer/gst-launch-v4l.png
> <http://sukzessiv.net/%7Egohai/gstreamer/gst-launch-v4l.png>
>
>
> Thanks in advance
> Gottfried
>
> [1] https://cgit.freedesktop.org/gstreamer/gst-omx/tree/examples/egl/testegl.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160428/0f0f7f3f/attachment.sig>
More information about the gstreamer-devel
mailing list