Buffered framerate detection using lines