Upload video
An SDK how-to guide. SDK power-users can refer to our full SDK docs generated from our source code here
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 thefps
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)
Updated 2 months ago
Next up