<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:large;color:#073763">I see and it's very interesting to have an element which is based on GL shaders and convert bayer to raw-YV12.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:large;color:#073763"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:large;color:#073763">Thanks.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 23, 2015 at 4:23 PM, Nicolas Dufresne <span dir="ltr"><<a href="mailto:nicolas.dufresne@collabora.com" target="_blank">nicolas.dufresne@collabora.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="">Le jeudi 23 juillet 2015 à 15:15 +0100, Hamdi Rakkez a écrit :<br>
> - x-bayer,format=any -------> x-raw,format=YV12<br>
><br>
> I don't want to use bayer2rgb then use glcolorspace or videoconvert<br>
> to pass from RGB to YV12.<br>
<br>
</span>There is no direct converter at the moment. The fact that bayer is not<br>
considered a video/x-raw format might make it difficult to get into<br>
videoconvert in the end. Someone would have to put serious thought into<br>
that. Dealing with bayer format in software is also rare, which means<br>
rare are the hackers that cares. Feel free to propose an element for<br>
that. If you think it can be done with GL shaders, you could consider<br>
adding glbayer2yuv filter (or using two GPU pass, glbayer2rgb followed<br>
by glcolorscale (would ideally be glcolorconvert in 1.5+).<br>
<span class="HOEnZb"><font color="#888888"><br>
Nicolas</font></span><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>