Re: ADV7180 Capture with i.MX53

Fabio Estevam
2019-10-08T01:07:39Z

On Mon, Oct 7, 2019 at 9:51 PM Steve Longerbeam <slongerbeam@gmail.com> wrote:

> Ah progress. Try:
>
> v4l2-ctl -d0 --set-fmt-video=field=interlaced

Yes, with this hint I can run:

# v4l2-ctl -d0 --set-fmt-video=field=interlaced
# v4l2-ctl --device /dev/video0 --stream-mmap --stream-to=x.raw --stream-count=1

And it seems to accept the capture of a frame.

Without passing field=interlaced, I used to get:

# v4l2-ctl --device /dev/video0 --stream-mmap --stream-to=x.raw --stream-count=1
[ 163.838944] ipu1_csi0: capture format not valid

So now I need to see if I can get Gstreamer to accept a pipeline like:

gst-lauch-1.0 v4l2src ! kmssink

Thanks

> Unless you specify interlaced at the video interface, the driver will
> just combine alternate fields into seq-bt. I guess the v4l2src plugin
> doesn't support seq-bt.