Re: imx6 capture via ADV7280

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

 



On Fri, Nov 27, 2020 at 7:58 AM Fabio Estevam <festevam@xxxxxxxxx> wrote:
>
> Hi Nicolas,
>
> On Thu, Nov 26, 2020 at 3:25 PM Nicolas Dufresne <nicolas@xxxxxxxxxxxx> wrote:
>
> > I support kmssink ask for progressive frames, while v4l2src can only produce
> > interlaced. There is likely something to improve there, but meanwhile, consider
> > usign deinterlace element.
>
> Thanks for your feedback. I am configuring the links like this now:
>
> media-ctl -l "'adv7180 0-0020':0 -> 'ipu1_csi1_mux':4[1]"
> media-ctl -l "'ipu1_csi1_mux':5 -> 'ipu1_csi1':0[1]"
> media-ctl -l "'ipu1_csi1':1 -> 'ipu1_vdic':0[1]"
> media-ctl -l "'ipu1_vdic':2 -> 'ipu1_ic_prp':0[1]"
> media-ctl -l "'ipu1_ic_prp':2 -> 'ipu1_ic_prpvf':0[1]"
> media-ctl -l "'ipu1_ic_prpvf':1 -> 'ipu1_ic_prpvf capture':0[1]"
> media-ctl -V "'adv7180 0-0020':0 [fmt:UYVY2X8/640x480 field:seq-tb]"
> media-ctl -V "'ipu1_csi1_mux':5 [fmt:UYVY2X8/640x480]"
> media-ctl -V "'ipu1_csi1':1 [fmt:AYUV32/640x480]"
> media-ctl -V "'ipu1_vdic':2 [fmt:AYUV32/640x480 field:none]"
> media-ctl -V "'ipu1_ic_prp':2 [fmt:AYUV32/640x480 field:none]"
> media-ctl -V "'ipu1_ic_prpvf':1 [fmt:AYUV32/640x480 field:none]"
> v4l2-ctl -d2 --set-fmt-video=field=none
>
> gst-launch-1.0 v4l2src device=/dev/video2 ! kmssink:
>
> And the Gstreamer pipeline works now.
>

Fabio,

I wanted to take a look at this as you are using an adv7280 with the
adv7180 driver and I previously had found using the adv7280 on an
imx6q/dl there was a difference in the output format for the adv7280
that caused an issue with the imx6 format [1].

I have also still have to patch imx-media-csi.c to skip the first few
frames in order to sync properly on bt656 sources [2].

Did you have any patches in the imx-media or adv7180 drivers to deal
with these issues I run into?

Best Regards,

Tim
[1] - https://patchwork.kernel.org/project/linux-media/patch/20190827215539.1286-1-mmichilot@xxxxxxxxxxxxx
[2] - https://github.com/Gateworks/linux-imx6/commit/959fbd4



[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