How to get keyframes from videofile?
Is there any way in openCV to grab from videofile keyframes only?
I googled ( http://code.opencv.org/issues/1419 ) before video.set(CV_CAP_PROP_POS_FRAMES)
worked this way: position was "nearest keyframe", but now it is "fixed" and I can not find the way how to process keyframes for perfomance purpose only even in one way:
- 1st way :
read()
next keyframe - 2nd way: do fast-working
grab()
for each frame, check it's propertie (which one?) and if it is keyframe then do slow-workingretrieve()
.
P.S. password reminder does not work, at least today for my old profile -- so I had to create new account
A four year old question is not promising. I also need to extract keyframes and I am new to OpenCV.
@matt.briggs better was to ask your own question to get attention of users. i think no one is aware of your problem now.