v4l2src & GstGLUpload (was: White frames with v4l2 source & GstGLUploadElement)

Gottfried Haider gottfried.haider at gmail.com
Thu Apr 28 05:31:32 UTC 2016


Hi Matt,

I used current git master of from gst-omx [1] and tag 1.8.1 for gstreamer &
gst-plugins-bad.

Gottfried

[1]
https://cgit.freedesktop.org/gstreamer/gst-omx/log/examples/egl/testegl.c

On Thu, Apr 28, 2016 at 7:27 AM, Matthew Waters <ystreet00 at gmail.com> wrote:

> 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 --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160428/fdf7e58c/attachment.html>


More information about the gstreamer-devel mailing list