CaptureFromFile - what does OpenCV exactly do? [closed]
Hi,
My question is: What exactly happens under the hood in OpenCV when a video file is opened with CaptureFromFile and then RetrieveFrame is called?
In my particular case, I'm opening a H264 video file. When I call RetrieveFrame, I get decoded BGR images. But what exactly happens in between? I am using a Macports-installed OpenCV with Python bindings, so my intuition is that the decoding happens through ffmpeg. Is that correct? Is there documentation anywhere of the exact flow / calls that happen when CaptureFromFile / RetrieveFrame are called?
Thanks!
Michal
Why don't you look into the source code? I think that any answer will be incomplete, because only the code says "what exactly happens".