I am trying to get the timestamp at which the frame was captured using VideoCapture::get(CV_CAP_PROP_POS_MSEC) but i get the value -1. Am i doing something wrong or is there another way of retrieving the timestamp at which a particular frame was captured from the camera?