<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head><body bgcolor="#FFFFFF" text="#000000" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Audric,<br class="">
<br class="">
We've got a similar problem with imxvpudec/imxeglvivsink with the same platform, the same kernel, the same version of GStreamer but on Android. For us, the bug appeared only when decoding/displaying videos with width and/or height not multiple of 16 pixels.<div class=""><br class=""></div><div class="">Here is the bug we opened: <a href="https://github.com/Freescale/gstreamer-imx/issues/90" class="">https://github.com/Freescale/gstreamer-imx/issues/90</a>, from the test we did (with another gstreamer version, a newer kernel, updates plugins) we failed to fix it. Nevertheless the maintainer failed to reproduce its linux platform. We deduced it was a VPU and/or GPU/EGL bug.</div><div class=""><br class=""></div><div class="">If you found any similarity or need more info, do not hesitate.</div><div class=""><br class=""></div><div class="">BR,</div><div class=""><br class=""></div><div class="">Damien;</div><div class="">
<br class="">
<div class="moz-cite-prefix">Le 03/30/2016 10:52 AM, Audric
Ackermann a écrit :<br class="">
</div>
<blockquote cite="mid:1344622212.2581611.1459327953495.JavaMail.zimbra@openwide.fr" type="cite" class="">
<pre wrap="" class="">Hi,
I am trying to play an h264 rtp stream to a gles2 texture on imx6 using an appsink and vivante map feature (zero copy).
I am using gstreamer-imx 0.12.0, gstreamer 1.4.5 and kernel version 3.0.35.
I am able to play the stream using an imxeglvivsink like this:
udpsrc port=5001 name=udpsrc caps=\"application/x-rtp,pt=96,encoding-name=H264,framerate=(fraction)30/1 \" ! rtph264depay ! h264parse config-interval=1 ! imxvpudec ! imxipuvideotransform ! video/x-raw,format=UYVY ! imxeglvivsink
But for some reason, when I use my appsink and feed my texture with my buffer phys address via glTexDirectVivMap, I get sometimes green artefacts.
Sometimes it is the whole picture which is green, and only "key frames" are correct, sometimes it is only the bottom of the video (like 100 pixels) which are green.
The strange thing is it happens to work quiet good for a while, and then (often after reboot) I will get those artefacts.
I have used the imxeglvivsink as a template to build my appsink. It's not complicated at all, just receiving buffers in a thread, saving them with mutex lock, and in the render thread access these buffers with lock and get phys mem adress to display them with TexDirectVivMap.
I would like to remove the imxipuvideotransform but I get then get this issue: <a class="moz-txt-link-freetext" href="https://github.com/Freescale/gstreamer-imx/issues/91">https://github.com/Freescale/gstreamer-imx/issues/91</a>
I am out of ideas about where this can come from.
Any ideas where I should look ?
Cheers,
Audric Ackermann
_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br class="">
</div></body></html>