code: def data(tmp_path):
      num_frames = 9
      videos = [
          "Animation_1080P-01b3",
          "Animation_1080P-05f8",
          "Animation_1080P-0c4f",
      ]
  
      for video in videos:
          directory = tmp_path.joinpath("CLIC2020Video").joinpath(video)
  
          directory.mkdir(parents=True)
  
          for index in range(num_frames):
              path = directory.joinpath(f"{index}_y.png")
  
              img = create_random_image((3, 224, 224))
              write_image_to_file(img, path)
  
      clip_sampler = pytorchvideo.data.clip_sampling.make_clip_sampler(
          "random", 4
      )
  
      data = CLIC2020Video(
          tmp_path.joinpath("CLIC2020Video"),
          clip_sampler=clip_sampler,
      )
  
      return data, len(videos)
  
imports: import pytest
  import pytorchvideo.data.clip_sampling
  from utils import create_random_image, write_image_to_file
  from neuralcompression.data import CLIC2020Video
label_desc: Use image node_id 1 for calling a global function with example usage: data(tmp_path) and returns: data,  len