def METHOD_NAME(self):
    v = mmcv.VideoReader(self.video_path)
    frame_dir = tempfile.mkdtemp()
    v.cvt2frames(frame_dir)
    assert osp.isdir(frame_dir)
    for i in range(self.num_frames):
        filename = f'{frame_dir}/{i:06d}.jpg'
        assert osp.isfile(filename)
        os.remove(filename)
    v = mmcv.VideoReader(self.video_path)
    v.cvt2frames(frame_dir, show_progress=False)
    assert osp.isdir(frame_dir)
    for i in range(self.num_frames):
        filename = f'{frame_dir}/{i:06d}.jpg'
        assert osp.isfile(filename)
        os.remove(filename)
    v = mmcv.VideoReader(self.video_path)
    v.cvt2frames(
        frame_dir,
        file_start=100,
        filename_tmpl='{:03d}.JPEG',
        start=100,
        max_num=20)
    assert osp.isdir(frame_dir)
    for i in range(100, 120):
        filename = f'{frame_dir}/{i:03d}.JPEG'
        assert osp.isfile(filename)
        os.remove(filename)
    shutil.rmtree(frame_dir)