code: def setUpClass(cls):
      num_frames = 31
      roi_start = (90, 0)
      roi_end = (630, 1280)
      size_1 = (215, 128)
      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()
          )
  
imports: import itertools
  import os
  import unittest
  import random
  import numpy
  from scipy.stats import chisquare
  from nose2.tools import params
  from nvidia.dali import fn, types
  from nvidia.dali import pipeline_def
  from nvidia.dali.auto_aug import auto_augment, augmentations
  from nvidia.dali.auto_aug.core import augmentation, Policy
  from test_utils import get_dali_extra_path, check_batch
  from nose_utils import assert_raises, assert_warns
label_desc: Use image node_id 1 for calling the VideoTest obj's underlying member method code with example usage: obj.setUpClass(cls) and returns: video