class_docstr: some timings: https://github.com/lightly-ai/lightly/pull/754
class_docstr_tok: ["some","timings",":","https",":","\/\/github.com\/lightly-ai\/lightly\/pull\/754"]
code: def setUpClass(cls) -> None:
      cls.video_url_12min_100mb = "https://mediandr-a.akamaihd.net/progressive/2018/0912/TV-20180912-1628-0000.ln.mp4"
      with av.open(cls.video_url_12min_100mb) as container:
          stream = container.streams.video[0]
          duration = stream.duration
      # This video has its timestamps 0-based
      cls.timestamps = (
          np.linspace(0, duration, num=1000).astype(int).tolist()
      )
  
file_path: lightly/tests/api/benchmark_video_download.py
imports: import time
  import unittest
  import av
  import numpy
  from tqdm import tqdm
  from lightly.api.download import download_all_video_frames, download_video_frame, download_video_frames_at_timestamps
label_desc: Use image node_id 1 for calling the BenchmarkDownloadVideoFrames obj's underlying member method code with example usage: obj.setUpClass(cls) without return types