answered Sep 19 '12
It's not possible with OpenCV and it's out of the current scope of OpenCV. You can use ffmpeg or other similar library for accessing low-level information in video streams.