Raspberry pi hardware accelerated playback

Damien Picard picard.damien at gmail.com
Wed Mar 22 14:28:26 UTC 2017


Thank you ! So I see that I don't use the zerocopy while encoding too :

/GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0.GstPad:sink:
caps = video/x-raw, format=(string)I420, width=(int)1920, height=(int)1080,
interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1,
chroma-site=(string)mpeg2, colorimetry=(string)1:4:0:0,
framerate=(fraction)30/1

I should have
/GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0.GstPad:sink:
caps = video/x-raw*(memory:GLMemory)*, format=(string)I420,
width=(int)1920, height=(int)1080, interlace-mode=(string)progressive,
pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)mpeg2,
colorimetry=(string)1:4:0:0, framerate=(fraction)30/1

(Sorry to pollute the thread)

2017-03-22 15:23 GMT+01:00 Nicolas Dufresne <nicolas at ndufresne.ca>:

> 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
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


-- 
Damien Picard
Expert GWT
<http://www.editions-eni.fr/livres/gwt-google-web-toolkit-developpez-des-applications-internet-riches-ria-en-java/.97a1a26e7d5be94763fc45ac2a1e961a.html>
Mob : 06 11 51 47 78
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170322/7f322ccd/attachment.html>


More information about the gstreamer-devel mailing list