How to get the duration of video using cv2 : <p>I can only get the number of frames <code>CAP_PROP_FRAME_COUNT</code> using CV2.</p>

<p>However, I cannot find the parameter to get the duration of the video using cv2. </p>

<p>How to do that? </p>

<p>Thank you very much.</p>
