NTSC movies deliver incorrect frame counts via CV_CAP_PROP_FRAME_COUNT (Feature #850)
Description
Summary: The current method of obtaining total frame counts is incorrect for NTSC (non whole) framerates. The implications likely extend to other areas where video_st->duration is relied upon.
A successful implementation is attatched.
Associated revisions
Merge pull request #850 from SpecLad:convhull-orientation
History
Updated by Alexander Reshetnikov about 13 years ago
Thank you for the report! Applied in r7332.
- Status changed from Open to Done
- Priority changed from High to Normal
- Assignee set to Alexander Reshetnikov
Updated by Alexander Reshetnikov about 13 years ago
- Target version set to 2.4.0
Updated by Andrey Kamaev over 12 years ago
- Category changed from highgui-images to highgui-video
Updated by Don El Ron almost 12 years ago
Hi,
not sure if anybody even reads this, but can you please explain how to use the file "ffmpeg-framecount.patch" after downloading it?
I tried to google this, but could not find anything that was both helpful and comprehensible.
Another question would be if it is possible to use this patch with OpenCV version 2.3.1-7?!? Or would I have to upgrade to OpenCV 2.4.0 before I can use the patch?
Many thanks in advance!