# Revision history [back]

double pts = vc.get(CV_CAP_PROP_POS_MSEC);


whether it contains proper value depends on driver implementation.

v4l driver for pi camera implements it; some notes:

• the unit of measurement in second
• it has 3 decimal place precision (1ms)
• internally mmal driver has ns resolution
• don't know what the point of reference is.
double pts = vc.get(CV_CAP_PROP_POS_MSEC);


whether it contains proper value depends on driver implementation.

v4l driver for pi camera implements it; some notes:

• the unit of measurement in second
• it has 3 decimal place precision (1ms)
• internally mmal driver has ns resolution
• don't know what the point of reference is.

double pts = vc.get(CV_CAP_PROP_POS_MSEC); vc.get(CV_CAP_PROP_POS_MSEC);

whether it contains proper value depends on driver implementation.

v4l driver for pi camera implements it; some notes:

• the unit of measurement in secondms
• it has 3 decimal place precision (1ms) (1µs) -- mmal has µs precision for pts & sts.
• don't know what value should be taken from pts. to translate it to system clock we'll need to pull sts and system clock and calculate the point of reference is.offset.