Re: Using MT9P031 digital sensor

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

 



On Tue, Nov 8, 2011 at 1:20 PM, Gary Thomas <gary@xxxxxxxxxxxx> wrote:
> On 2011-11-04 04:37, Laurent Pinchart wrote:
>>
>> Hi Gary,
>>
>> On Tuesday 01 November 2011 19:52:49 Gary Thomas wrote:
>>>
>>> I'm trying to use the MT9P031 digital sensor with the Media Controller
>>> Framework.  media-ctl tells me that the sensor is set to capture using
>>> SGRBG12  2592x1944
>>>
>>> Questions:
>>> * What pixel format in ffmpeg does this correspond to?
>>
>> I don't know if ffmpeg supports Bayer formats. The corresponding fourcc in
>> V4L2 is BA12.
>
> ffmpeg doesn't seem to support these formats
>
>>
>> If your sensor is hooked up to the OMAP3 ISP, you can then configure the
>> pipeline to include the preview engine and the resizer, and capture YUV
>> data
>> at the resizer output.
>
> I am using the OMAP3 ISP, but it's a bit unclear to me how to set up the
> pipeline

Hi Gary,

I'm also using another sensor mtv9034 with OMAP3 ISP, so maybe I can help you.

> using media-ctl (I looked for documentation on this tool, but came up dry -
> is there any?)
>
> Do you have an example of how to configure this using the OMAP3 ISP?
>

This is how I configure the pipeline to connect the CCDC with the
Previewer and Resizer:

./media-ctl -l '"mt9v032 3-005c":0->"OMAP3 ISP CCDC":0[1]'
./media-ctl -l '"OMAP3 ISP CCDC":2->"OMAP3 ISP preview":0[1]'
./media-ctl -l '"OMAP3 ISP preview":1->"OMAP3 ISP resizer":0[1]'
./media-ctl -l '"OMAP3 ISP resizer":1->"OMAP3 ISP resizer output":0[1]'
./media-ctl -f '"mt9v032 3-005c":0[SGRBG10 752x480]'
./media-ctl -f  '"OMAP3 ISP CCDC":0 [SGRBG10 752x480]'
./media-ctl -f  '"OMAP3 ISP CCDC":1 [SGRBG10 752x480]'
./media-ctl -f  '"OMAP3 ISP preview":0 [SGRBG10 752x479]'
./media-ctl -f  '"OMAP3 ISP resizer":0 [YUYV 734x471]'
./media-ctl -f  '"OMAP3 ISP resizer":1 [YUYV 640x480]'

Hope it helps,

-- 
Javier Martínez Canillas
(+34) 682 39 81 69
Barcelona, Spain
--
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