All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-fsl-arm] Using gstreamer on Nitrogen6x/SabreLite
@ 2014-03-04 15:03 Gary Thomas
  2014-03-04 19:16 ` Daiane Angolini
  2014-03-05 17:44 ` Eric Nelson
  0 siblings, 2 replies; 8+ messages in thread
From: Gary Thomas @ 2014-03-04 15:03 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

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
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-03-06 10:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-04 15:03 [meta-fsl-arm] Using gstreamer on Nitrogen6x/SabreLite Gary Thomas
2014-03-04 19:16 ` Daiane Angolini
2014-03-05 17:44 ` Eric Nelson
2014-03-05 17:52   ` Gary Thomas
2014-03-05 17:59     ` Eric Nelson
2014-03-05 18:06       ` Carlos Rafael Giani
2014-03-05 18:53         ` Gary Thomas
2014-03-06 10:48           ` Philip Craig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.