i'm not exactly sure how many frames are in there. i'm reading from a file. i just know that a couple of frames misaligned is normal.