Re: [beagleboard] [PATCH v6 2/2] Add support for mt9p031 sensor in Beagleboard XM.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Op 2 jun 2011, om 08:52 heeft javier Martin het volgende geschreven:

> Hi Koen,
> 
> On 1 June 2011 20:08, Koen Kooi <koen@xxxxxxxxxxxxxxx> wrote:
>> 
>> Op 1 jun 2011, om 17:36 heeft Javier Martin het volgende geschreven:
>> 
>>> New "version" and "vdd_io" flags have been added.
>>> 
>>> A subtle change now prevents camera from being registered
>>> in the wrong platform.
>> 
>> I get a decent picture now with the following:
>> 
>> media-ctl -r -l '"mt9p031 2-0048":0->"OMAP3 ISP CCDC":0[1], "OMAP3 ISP CCDC":1->"OMAP3 ISP CCDC output":0[1]'
>> media-ctl -f '"mt9p031 2-0048":0[SGRBG12 320x240], "OMAP3 ISP CCDC":0[SGRBG8 320x240], "OMAP3 ISP CCDC":1[SGRBG8 320x240]'
>> 
>> yavta-nc --stdout -f SGRBG8 -s 320x240 -n 4 --capture=10000 --skip 3 -F $(media-ctl -e "OMAP3 ISP CCDC output") | mplayer-bayer - -demuxer  rawvideo -rawvideo w=320:h=240:format=ba81:size=76800 -vo fbdev2 -vf ba81
>> 
>> 720p also seems to work.
>> 
>> It is really, really dark though. Is this due to missing controls or due to the laneshifting?
> 
> I suspect it is due to the patched mplayer.
> I know this because I have enabled some custom patterns in the sensor,
> thus generating pure red, blue and green pictures and they didn't seem
> so when played through mplayer-bayer.
> 
> You could try the same if you want. Just to confirm.

So mplayer-bayer is a bad test :) So what other tool(chain) can I use to display images captured with this driver? Ideally I would use mediactl to point the CCDC output to the v4l2 overlay, but I guess that would need some extra code in the ISP and omapvout drivers.
I heard it's really sunny in Texas where they will be testing this, so the mplayer darkness might be OK for there.

regards,

Koen--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux