Raspberry pi hardware accelerated playback

Nicolas Dufresne nicolas at ndufresne.ca
Wed Mar 22 14:23:13 UTC 2017


Le mercredi 22 mars 2017 à 14:45 +0100, Damien Picard a écrit :
> How do you see in the logs that zerocopy is not used ? I wonder if I have the same problem...
> 
> > 2017-03-22 14:43 GMT+01:00 Matthew Waters <ystreet00 at gmail.com>:
> > On 23/03/17 00:19, David Ventura wrote:
> > > My caps seem to be not using zerocopy:
> > > 
> > > /GstPipeline:pipeline0/GstOMXH264Dec-omxh264dec:omxh264dec-omxh264dec0.GstPad:sink: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)4, profile=(string)high, width=(int)1280, height=(int)720, framerate=(fraction)0/1, parsed=(boolean)true
> > > /GstPipeline:pipeline0/GstOMXH264Dec-omxh264dec:omxh264dec-omxh264dec0.GstPad:src: caps = video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)mpeg2, colorimetry=(string)bt709, framerate=(fraction)0/1

In zero-copy, the omx decoder src caps should start with:

  video/x-raw(memory:GLMemory),...

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


More information about the gstreamer-devel mailing list