njzhangyifei / keyframe

keyframe: a simple tool for selecting keyframes from SfM (structure from motion) videos
MIT License
11 stars 2 forks source link

Keyframe rate problem #3

Open magiesrb opened 2 years ago

magiesrb commented 2 years ago

Hi, I managed to install and make the code work but I still have a problem. The keyframe rate is not an integer (29.97 instead of 30) and therefore, it crashes and says "argument 1 has unexpected type 'float'". What could I do ? Thanks !

njzhangyifei commented 2 years ago

Try converting your original video frame rate =30?

29.97 is NTSC standard but it doesn’t make sense here.

Otherwise maybe you can send in a PR that fixes this issue? Shouldn’t be too complicated.