Video format at OV5650 driver

150 views
Skip to first unread message

Evgeny Shirykalov

unread,
Apr 6, 2012, 6:27:34 AM4/6/12
to panda...@googlegroups.com
Hi all,

I work on OV5650 camera module integration with PandaBoard. I use Ubunti 11.10 + TI extensions from Launchpad repository. I can get single shots from camera as described here. But streaming refuses to work. It seems that the only data format supported by current OV5650 driver is SGRBG10. Is this correct? This prevents to use standard GStreamer 'v4l2src' plugin. Is there any way to work with OV5650 driver using v4l2src? Any examples or other helpful information would be greatly appreciated.

Evgeny Shirykalov

Rob Clark

unread,
Apr 9, 2012, 11:29:07 AM4/9/12
to panda...@googlegroups.com

this sensor only supports bayer (sgrbg10).. and the v4l2 mcf driver
isn't yet supporting bayer->yuv (although I saw Sergio has some
patches to enable resizer w/ yuyv->nv12.. now we just need ipipe to
do the bayer->yuyv)

Probably gstv4l2src could be patched to support additional bayer
formats.. although I'm not sure if there is an element that supports
sgrbg10->yuv. Although this will be less of an issue when support to
do the conversion in hw is in place.. so any v4l hackers out there,
feel free to lend Sergio a hand (since he is just doing this in his
spare time) ;-)

BR,
-R

> Evgeny Shirykalov

Jayakrishnan VR

unread,
Apr 10, 2012, 11:45:27 AM4/10/12
to pandaboard
shirykalov,
I am also facing the same problem. Actually v4l2src supports 8 bit
bayer format. I think if we work on v4l2src plugin in gst-plugins-good
of gstreamer v4l2src will be able to
negotiate the format. Let me know if there is any progress in your
venture.
On Apr 9, 8:29 pm, Rob Clark <robdcl...@gmail.com> wrote:
> On Fri, Apr 6, 2012 at 5:27 AM, Evgeny Shirykalov
>
> <e.shiryka...@gmail.com> wrote:
> > Hi all,
>
> > I work onOV5650camera module integration with PandaBoard. I use Ubunti
> > 11.10 + TI extensions from Launchpad repository. I can get single shots from
> > camera as described here. But streaming refuses to work. It seems that the
> > only data format supported by currentOV5650driver is SGRBG10. Is this
> > correct? This prevents to use standard GStreamer 'v4l2src' plugin. Is there
> > any way to work withOV5650driver using v4l2src? Any examples or other

Evgeny Shirykalov

unread,
Apr 12, 2012, 8:01:12 AM4/12/12
to panda...@googlegroups.com
I've modified v4l2src to support 10-bit Bayer formats, but this is _very_ slow way. Packed 10-bit stream is converted to 8-bit one by A9 CPU very slowly; but this was expected.
Driver for kernel 3.3 seems to support 8-bit Bayer stream from ov5650 camera.
Now I try to use it in current TI Ubuntu kernel (3.1.0).
But this attempt is not finished yet? and I'm not sure in success.

Evgeny



вторник, 10 апреля 2012 г., 22:45:27 UTC+7 пользователь Jayakrishnan VR написал:
вторник, 10 апреля 2012 г., 22:45:27 UTC+7 пользователь Jayakrishnan VR написал:
Reply all
Reply to author
Forward
0 new messages