Labelbox documentation

Videos

Labelbox supports .mp4 files.

This sample JSON will import two cloud-hosted video files via URL. Use this JSON format when importing via the Labelbox UI or GraphQL API.

[
    {
        "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" 
    }
]

Where:

  • externalId is OPTIONAL and is a user-generated file name or ID for the file.

  • videoUrl is REQUIRED and accepts an https:// path to an external video URL.

Note

To see the JSON format for importing via the Python SDK, see Add data rows via JSON.