Upload video

Videos are uploaded using the same push() method as images:

dataset.push(["/path/to/video.mp4"])

There are two video-specific options to be aware of:

  • 1: Videos are uploaded using a default frame rate of 1 frame per second. You can control this through the fps argument. To upload a videos at their native framerate, simply leave the fps argument out.
  • 2: By default, videos are uploaded as entire video files. They can however be uploaded as individual frames through the as_frames argument:
dataset.push(["/path/to/video.mp4"], fps=10, as_frames=True)