From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.chez-thomas.org (mail.mlbassoc.com [65.100.170.105]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A44B0E00852 for ; Tue, 4 Mar 2014 07:03:02 -0800 (PST) Received: by mail.chez-thomas.org (Postfix, from userid 1998) id E4F3EF811D8; Tue, 4 Mar 2014 08:03:01 -0700 (MST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hermes.chez-thomas.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable version=3.3.2 Received: from [192.168.1.114] (zeus [192.168.1.114]) by mail.chez-thomas.org (Postfix) with ESMTP id 5FBD9F81199; Tue, 4 Mar 2014 08:03:00 -0700 (MST) Message-ID: <5315EB25.9020903@mlbassoc.com> Date: Tue, 04 Mar 2014 08:03:01 -0700 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: "meta-freescale@yoctoproject.org" X-Enigmail-Version: 1.5.2 Subject: [meta-fsl-arm] Using gstreamer on Nitrogen6x/SabreLite X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2014 15:03:02 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I have a SabreLite with the OV5642 camera. I'd like to capture some video and display it on the screen. Here's my gstreamer pipeline: gst-launch -e -vvv mfw_v4lsrc device=/dev/video0 num-buffers=100 typefind=true \ ! "video/x-raw-yuv, format=(fourcc)I420, width=640, height=480, framerate=(fraction)30/1" \ ! ffmpegcolorspace \ ! ximagesink What I don't understand is why the format from mfw_v4lsrc has to be I420 when the OV5642 [kernel] driver seems to only support YUYV (yuyv422)? To further confuse, I can grab a frame like this: yavta -fYUYV -s640x480 -F -c1 /dev/video0 and the V4l2 subsystem tells me this sensor is YUYV: root@nitrogen6x:~# v4l2-ctl -d /dev/video0 --list-formats ioctl: VIDIOC_ENUM_FMT Index : 0 Type : Video Capture Pixel Format: 'YUYV' Name : Can someone explain this, please? -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------