Upload video

The basic command to push video to a dataset is no different than with images:

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

There are a couple of additional things to consider with video, however. For one, your video will be uploaded with a default frame rate of 1 frame per second. You can specify how many fps your uploaded video will have by adding fps= and your desired frame rate.

dataset.push(["/path/to/video.mp4"], fps=10)

You can also choose to import each frame of your video to be annotated as an individual image by using the boolean parameter, as_frames

dataset.push(["/path/to/video.mp4"], as_frames=True, fps=10)