SK-AM62A-LP: handle embedded data and imagedata

Part Number: SK-AM62A-LP

Tool/software:

Hello,

We are going to synchronization of embedded statistics metadata and image data.

In one of v4l2 node we are getting image data and in another node we are getting metadata. Both data we want to append.

We are using below command to get image data and metadata:

Image data command:
gst-launch-1.0 -v v4l2src device=/dev/video3 ! video/x-bayer, width=1920, height=1200, framerate=120/1, format=rggb10 ! multifilesink location=frame%d.raw

metadata command:
gst-launch-1.0 -v v4l2src device=/dev/video4 ! video/x-bayer, width=1920, height=5, framerate=120/1, format=grbg10 ! multifilesink location=ed%d.raw


How do we align metadata with its respective image data ?

Is there any common identifier available in both stream(metadata and image data)from which we can match and align embedded data with its respective image-data stream ?

Continuously, In one node we are getting metadata and in 2nd node we are getting image data. How do we identify which metadata is valid for particular frame or vise-versa?

We are using AR0235 onsemi camera-sensor with TI-AM62Ax based board.

Thanks,
Jaimin