Added code to dump frame by frame. Need to put in asset writer