The problem is a mis-alignment in your capture buffers somewhere. There are several YUV formats, some mix the components, some don't. This looks like a planar format that separates the Y from the UV components and the luma buffer doesn't align with the chroma buffers, though I guess that the chroma buffers do align. That is why the green stripe at the top and elsewhere in the image (the tops of your fingers).<br>
<br><div class="gmail_quote">On Tue, Oct 23, 2012 at 4:31 AM, rpappalax <span dir="ltr"><<a href="mailto:rpappalax@gmail.com" target="_blank">rpappalax@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hi,<br>
<br>
I've been able to do video capture on iOS 5.1, but after upgrade to 6.0,<br>
there's a green stripe across the top of the video and some color<br>
separation.  This happens only when using AVCaptureSessionPresetMedium<br>
(480x360).  I'm trying to track down if the issue is in recent changes to<br>
AVFoundation or in the way gstreamer handles them.<br>
<br>
I've tried filing a defect with Apple, but they're requesting more<br>
information about use of API (and taking stride into account).  I assume<br>
they want to see if there's some mishandling with postprocessing of video<br>
stream.  I'm not familiar enough with avfvideosrc to understand padding<br>
might be might be taking place.<br>
<br>
Any help in better understanding this would be appreciated.<br>
<br>
Thanks!<br>
-Richard<br>
<br>
<br>
<<a href="http://gstreamer-devel.966125.n4.nabble.com/file/n4656685/ios6_GREEN_BAR.png" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/file/n4656685/ios6_GREEN_BAR.png</a>><br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/iOS-capture-problem-tp4656685.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/iOS-capture-problem-tp4656685.html</a><br>

Sent from the GStreamer-devel mailing list archive at Nabble.com.<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" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>