Skip to main content

Specifications

Supported file format: MP4 Video encoding: H.264 (also referred to as AVC), H.265 Limits:
  • Maximum file size: 1024 MB
  • Maximum frame count: 20,000
Import methods:
  • IAM Delegated Access
  • Signed URLs (https URLs only)
  • Direct upload of local files Note: Direct upload currently does not support adding additional metadata and attachments.
Videos have to pass the frame-count consistency check as well. Read below for details.

Frame-Count Consistency

Please note that the Labelbox Editor only supports videos which have frame-count consistency. This is achieved whenFrames Per Second (FPS) x Video Duration (Number of secs) == Total Number of FramesWhile real-world videos may not always satisfy this requirement due to different encoding schemas, we warn you about this on upload with the message “Unsupported video detected” so you can proceed with caution when labeling.Why do we check for this? Because while labeling, every frame unaccounted for is a potential error.Some common examples where frame-count consistency is not achieved:
  • Variable frame rate
  • Negative frame presentation times (PTS)
You can utilize the FFmpeg command line tool to process videos into a compatible format with the following command: ffmpeg -i <input.mp4> -vcodec libx264 -acodec aac <output.mp4>
Unsupported attributesPlease note that the Labelbox Editor does not support videos with:
  • Non-square sample aspect ratios (may appear stretched or squashed)
Videos that contain these attributes will be flagged or blocked in the Editor, and will soon be flagged at the time of import as well.
When importing video data to Labelbox, your JSON file must include the following information for each video.

Import format

Python example