Nvarguscamera timestamp location

Hi everyone,

I’m actually trying to get the timestamp of frames with nvarguscamerasrc to record videos. I find out that using the “Argus::ICaptureMetadata::getSensorTimestamp” function was a good start.

I would like to know where this timestamp is generated. From the documentations of “getSensorTimestamp” I get that :

This is the time that the first data from this capture arrives from the sensor

But my question is “where the data is generated”? My final goal is to have the most precise timestamp possible for a frame.


It’s the kernel time when receive SOF package.
You can reference to below topic for timestamp relatived.

Thanks for your precision.

Can you tell me where in the source code of the kernel is this time calculated ?

Please check the vi5_fops.c and channel.c at …/kernel/nvidia/drivers/media/platform/tegra/camera/vi/

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.