<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 19/10/16 20:04, munez bn wrote:<br>
</div>
<blockquote
cite="mid:%3CCAAMc2fZgEBmHDbbsk7d1d9YOf1Cxi-=PhioKHWcxdP0HByf7Lg@mail.gmail.com%3E"
type="cite">
<div dir="ltr">
<div>Hi Matt,</div>
<div><br>
</div>
<div>After searching both for omx and GLMem and the output was
like below. So little confused now because glupload element
uses GLMemory.</div>
<div>regarding other requirements, I have cross checked
everything excepet latest rpi-userland and there are no
issues. Only thing which I have try now is using latest
rpi-userland, I didn't try it because with same firmware
omxplayer works fine. Second point which I need to verify is
config.txt .. Since I am buildroot <br>
</div>
</div>
</blockquote>
<br>
Yes, glupload is uploading the system memory from the decoder when
the decoder should be producing memory:GLMemory buffers for
zerocopy. This download/reupload across the memory bus is what is
killing your performance.<br>
<br>
Cheers<br>
-Matt<br>
<br>
<blockquote
cite="mid:%3CCAAMc2fZgEBmHDbbsk7d1d9YOf1Cxi-=PhioKHWcxdP0HByf7Lg@mail.gmail.com%3E"
type="cite">
<div dir="ltr">
<div> gst-launch-1.0 playbin
uri=<a class="moz-txt-link-freetext" href="file:/mnt/tears_of_steel_1080p.mov">file:/mnt/tears_of_steel_1080p.mov</a> -v
video-sink=glimagesink | grep "omx\|GLMem" </div>
<div>/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstOMXH264Dec-omxh264dec:omxh264dec-omxh264dec0.GstPad:sink:
caps = video/x-h264, stream-format=(string)byte-stream,
alignment=(string)au, level=(string)4, profile=(string)main,
width=(int)1920, height=(int)800, framerate=(fraction)24/1,
pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true </div>
<div>/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstOMXH264Dec-omxh264dec:omxh264dec-omxh264dec0.GstPad:src:
caps = video/x-raw, format=(string)I420, width=(int)1920,
height=(int)800, interlace-mode=(string)progressive,
pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)mpeg2,
colorimetry=(string)bt709, framerate=(fraction)24/1 </div>
<div>/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstGLImageSinkBin:glimagesinkbin0/GstGLUploadElement:gluploadelement0.GstPad:src:
caps = video/x-raw(memory:GLMemory), format=(string)I420,
width=(int)1920, height=(int)800,
interlace-mode=(string)progressive,
pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)mpeg2,
colorimetry=(string)bt709, framerate=(fraction)24/1,
texture-target=(string)2D </div>
<div>/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstGLImageSinkBin:glimagesinkbin0/GstGLColorConvertElement:glcolorconvertelement0.GstPad:src:
caps = video/x-raw(memory:GLMemory), format=(string)RGBA,
width=(int)1920, height=(int)800,
interlace-mode=(string)progressive,
pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)24/1,
texture-target=(string)2D </div>
<div>/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstGLImageSinkBin:glimagesinkbin0/GstGLColorBalance:glcolorbalance0.GstPad:src:
caps = video/x-raw(memory:GLMemory), format=(string)RGBA,
width=(int)1920, height=(int)800,
interlace-mode=(string)progressive,
pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)24/1,
texture-target=(string)2D </div>
<div>/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstGLImageSinkBin:glimagesinkbin0/GstGLImageSink:sink.GstPad:sink:
caps = video/x-raw(memory:GLMemory), format=(string)RGBA,
width=(int)1920, height=(int)800,
interlace-mode=(string)progressive,
pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)24/1,
texture-target=(string)2D </div>
<div>/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstGLImageSinkBin:glimagesinkbin0/GstGLColorBalance:glcolorbalance0.GstPad:sink:
caps = video/x-raw(memory:GLMemory), format=(string)RGBA,
width=(int)1920, height=(int)800,
interlace-mode=(string)progressive,
pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)24/1,
texture-target=(string)2D </div>
<div>/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstGLImageSinkBin:glimagesinkbin0/GstGLColorConvertElement:glcolorconvertelement0.GstPad:sink:
caps = video/x-raw(memory:GLMemory), format=(string)I420,
width=(int)1920, height=(int)800,
interlace-mode=(string)progressive,
pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)mpeg2,
colorimetry=(string)bt709, framerate=(fraction)24/1,
texture-target=(string)2D </div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks & Regards</div>
<div>munez</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Oct 19, 2016 at 12:41 PM,
Matthew Waters <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:ystreet00@gmail.com" target="_blank">ystreet00@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"><span
class="">On 19/10/16 12:10, munezbn.dev wrote:<br>
> Ahh i think i is not using GLmemory copy .. What
could be the issue ?<br>
<br>
</span>Double check that you meet the requirements set out
earlier, otherwise<br>
look through the GStreamer debug logs for why it's not
negotiating<br>
memory:GLMemory.<br>
<br>
Cheers<br>
-Matt<br>
<div class="HOEnZb">
<div class="h5"><br>
> # gst-launch-1.0 playbin
uri=<a class="moz-txt-link-freetext" href="file:/mnt/tears_of_steel_">file:/mnt/tears_of_steel_</a><wbr>1080p.mov -v | grep<br>
> omx<br>
> /GstPlayBin:playbin0/<wbr>GstURIDecodeBin:uridecodebin0/<wbr>GstDecodeBin:decodebin0/<wbr>GstOMXH264Dec-omxh264dec:<wbr>omxh264dec-omxh264dec0.GstPad:<wbr>sink:<br>
> caps = video/x-h264, stream-format=(string)byte-<wbr>stream,<br>
> alignment=(string)au, level=(string)4,
profile=(string)main,<br>
> width=(int)1920, height=(int)800,
framerate=(fraction)24/1,<br>
> pixel-aspect-ratio=(fraction)<wbr>1/1,
parsed=(boolean)true<br>
> /GstPlayBin:playbin0/<wbr>GstURIDecodeBin:uridecodebin0/<wbr>GstDecodeBin:decodebin0/<wbr>GstOMXH264Dec-omxh264dec:<wbr>omxh264dec-omxh264dec0.GstPad:<wbr>src:<br>
> caps = video/x-raw, format=(string)I420,
width=(int)1920, height=(int)800,<br>
> interlace-mode=(string)<wbr>progressive,
pixel-aspect-ratio=(fraction)<wbr>1/1,<br>
> chroma-site=(string)mpeg2,
colorimetry=(string)bt709,<br>
> framerate=(fraction)24/1<br>
><br>
><br>
><br>
><br>
><br>
> --<br>
> View this message in context: <a
moz-do-not-send="true"
href="http://gstreamer-devel.966125.n4.nabble.com/Full-HD-with-gst-omx-on-Raspberry-Pi-tp4667414p4680110.html"
rel="noreferrer" target="_blank">http://gstreamer-devel.966125.<wbr>n4.nabble.com/Full-HD-with-<wbr>gst-omx-on-Raspberry-Pi-<wbr>tp4667414p4680110.html</a><br>
> Sent from the GStreamer-devel mailing list archive
at Nabble.com.<br>
><br>
<br>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
</body>
</html>