Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

So .h264 video that I have is NAL stream and doesn't have the information that's why maybe OpenCv is not able to return it. One method is to wrap .h264 in a container like .mp4 and then count the number of frames of the wrapped video. get(7) returns the total frame in that case. I verified both ways to calculate the total number of frames. Both match.