Raspi 4: omxdec to EGLImage decoding

Nicolas Dufresne nicolas at ndufresne.ca
Thu Aug 1 17:21:48 UTC 2019


Le jeudi 01 août 2019 à 17:12 +0200, Gert Glass a écrit :
> Quoting Nicolas Dufresne (2019-08-01 16:41:47)
> > Le jeudi 01 août 2019 à 09:47 +0200, Gert Glass a écrit :
> > > Hi,
> > > 
> > > I'm trying to port my application from the Raspberry Pi 3 (raspbian
> > > jesse, gst 1.10.4) to the recently introduced Pi 4 (raspbian buster, gst
> > > 1.14.4).
> > 
> > On RPi 4 the preferred decoder is v4l2videodec.
> 
> Right, so that makes sense, thanks for confirming that.
> 
> Can you also offer any advice on how I can get this decoder to decode to
> EGLImage buffers instead of GLImage buffers?

It produces GstBuffer containing DMABuf (by default), and glupload will
take care of converting to EGLImage and binding a texture to this
EGLImage.

Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190801/f7595639/attachment-0001.sig>


More information about the gstreamer-devel mailing list