IMX462 workflow raw to uncompressed avi

1.Where did you get the camera module(s)?
2.Model number of the product(s)?
3.What hardware/platform were you working on?
Pi4B 8GB
4.Instructions you have followed. (link/manual/etc.)
Standard Arducam Guide+long exposure mode
5. Problems you were having?
Unable to decode libcamera-vid - - codec yuv420

  1. The dmesg log from your hardware?
dmesg | grep arducam
[   14.728713] arducam: loading out-of-tree module taints kernel.
[   15.040059] arducam-pivariety 10-000c: firmware version: 0x10002
[   15.806029] arducam-pivariety 10-000c: Consider updating driver arducam-pivariety to match on endpoints
  1. Troubleshooting attempts you’ve made?
  2. What help do you need?
    Help with this workflow.

I have opened another thread with corrupt yuv420 and I did not get response, so I need some alternative way, advice, on workflow as yuv420 to lossless x264 does not work.

How do I record 60FPS 1080 video, in raw, any raw, and convert it to uncompressed AVI(DIB preferably).

Thanks in advance!