📘

Supported Video type and size

File format: MP4
Maximum file size: 256 MB, all import methods (upload, IAM DA, signed URLs)

📘

Video encoding

The Labelbox Editor relies on the browser to view & label videos. Codec support varies depending on the browser / operating system. Visit this Wikipedia page to see which video codec formats are supported for your web browser.
As of now, videos should be encoded with H.264 to be used with the Labelbox platform.

When importing video data to Labelbox, your JSON file must include the following information for each video.

Parameter

Required

Description

externalId

Yes

User-generated file name or ID for the file. For the best experience, this ID should be unique.

videoUrl

Yes

https path to a cloud-hosted image. For IAM Delegated Access, this URL must be in virtual-hosted-style format. For older regions, your S3 bucket may be in https://<bucket-name>.s3-<region>.amazonaws.com/<key> format. If your object URLs are formatted this way, make sure they are in the virtual-hosted-style format before importing.

attachments

No

Attachments

[
    {
        "externalId": "google-cast.mp4",
        "videoUrl": "https://commondatastorage.googleapis.com/gtv-videos-bucket/CastVideos/dash/DesigningForGoogleCastVideo.mp4" 
    }, 
    { 
        "externalId": "bigger-blazes-video.mp4", 
        "videoUrl": "https://commondatastorage.googleapis.com/gtv-videos-bucket/CastVideos/dash/ForBiggerBlazesVideo.mp4" 
    }
]
[
    {
        "externalId": "case_video_000_001_12630-14430.mp4",
        "videoUrl": "https://lb-test-videos.s3.us-west-1.amazonaws.com/case_video_000_001_12630-14430.mp4"
    },
    {
        "externalId": "case_video_000_001_12630-14431.mp4",
        "videoUrl": "https://lb-test-videos.s3.us-west-1.amazonaws.com/case_video_000_001_12630-14431.mp4"
    }
]

Did this page help you?