def METHOD_NAME(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)