def METHOD_NAME(cls):
    num_frames = 31
    roi_start = (90, 0)
    roi_end = (630, 1280)
    size_1 = (223, 367)
    size_2 = (215, 220)
    @pipeline_def(batch_size=6, device_id=0, num_threads=4, seed=42)
    def pipeline(size):
        video = fn.readers.video_resize(
            filenames=vid_filenames,
            sequence_length=num_frames,
            roi_start=roi_start,
            roi_end=roi_end,
            resize_x=size[1],
            resize_y=size[0],
            file_list_include_preceding_frame=True,
            device='gpu',
        )
        return video
    cls.vid_files = []
    for size in (size_1, size_2):
        p = pipeline(size=size)
        p.build()
        out, = p.run()
        cls.vid_files.extend(np.array(sample) for sample in out.as_cpu())