Re: imx6ull capture from OV5640

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

 



Hi Fabio,

On 1/5/21 12:56 AM, Fabio Estevam wrote:
> Hi Sébastien,
> 
> On Mon, Jan 4, 2021 at 8:15 PM Fabio Estevam <festevam@xxxxxxxxx> wrote:
> 
>> Could you please share your imx6ul board dts file that you used to
>> test camera capture?
> 
> This dts allows csi to probe fine now:
> https://pastebin.com/raw/7GK5dAWD
> 
>> Were you able to capture via Gstreamer? If so, please also share the
>> media-ctl and gst pipelines that you used.
> 
> I am trying to capture via Gstreamer now. If you managed to get it
> working, please share your media-ctl setup and Gst pipeline.

I just tried it with kernel 5.4.84 with the following device tree (from
mainline kernel):
https://pastebin.com/w00EWZa5

I configured the pipelines with:
media-ctl -l "'ov5640 1-003c':0 -> 'csi':0[1]"
media-ctl -l "'csi':1 -> 'csi capture':0[1]"
media-ctl -v -V "'ov5640 1-003c':0 [fmt:UYVY8_2X8/640x480 field:none]"

The topology is then:

Device topology
- entity 1: csi (2 pads, 2 links)
            type V4L2 subdev subtype Unknown flags 0
            device node name /dev/v4l-subdev0
        pad0: Sink
                [fmt:UYVY8_2X8/640x480 field:none colorspace:srgb
xfer:srgb ycbcr:601 quantization:full-range]
                <- "ov5640 1-003c":0 [ENABLED]
        pad1: Source
                [fmt:UYVY8_2X8/640x480 field:none colorspace:srgb
xfer:srgb ycbcr:601 quantization:full-range]
                -> "csi capture":0 [ENABLED]

- entity 4: csi capture (1 pad, 1 link)
            type Node subtype V4L flags 0
            device node name /dev/video1
        pad0: Sink
                <- "csi":1 [ENABLED]

- entity 10: ov5640 1-003c (1 pad, 1 link)
             type V4L2 subdev subtype Sensor flags 0
             device node name /dev/v4l-subdev1
        pad0: Source
                [fmt:UYVY8_2X8/640x480@1/30 field:none colorspace:srgb
xfer:srgb ycbcr:601 quantization:full-range]
                -> "csi":0 [ENABLED]

I used the following gstreamer pipeline to stream on the framebuffer:

gst-launch-1.0 v4l2src device=/dev/video1 ! v4l2convert ! fbdevsink

Regards,

> 
> Thanks for your help!
> 


-- 
Sébastien Szymanski, Armadeus Systems
Software engineer



[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