code: def _write_video(video_path, fps, size, num_frames):
      frame_size = (size[1], size[0])
      with etav.FFmpegVideoWriter(
          video_path, fps, frame_size
      ) as writer:
          for _ in range(num_frames):
              img = np.random.randint(
                  255, size=size + (3,), dtype=np.uint8
              )
              writer.write(img)
  
file_path: fiftyone/tests/intensive/utils_tests.py
imports: import os
  import numpy
  import pytest
  import eta.core.utils
  import eta.core.video
  import fiftyone
  import fiftyone.utils.image
  import fiftyone.utils.video
label_desc: Use image node_id 3 for calling a global function with example usage: _write_video(video_path, fps, size, num_frames) without return types