I am currently working on capturing frames from a camera and writing them to a video file. I am wondering if there is a way to obtain the timestamp of the just-written frame. It seems that the write function returns void, so I’m unsure how to retrieve the timestamp. Any suggestions or hints would be greatly appreciated.
In my scenario, this value is essential for subsequent processing. It needs to be transferred to another process immediately after writing the frame into the file.