add num_frames
argparse finished