Skip to content

YouTube API video and thumbnail requirements

YouTube upload limits: 256 GiB or 12 hours per video, any video MIME type, 50 MiB thumbnails in JPEG or PNG, 100-character titles, and PubNio's smaller caps.

videos.insert takes any video/* file up to 256 GiB; YouTube Help also caps length at 12 hours. Thumbnails can be 50 MiB (2 MiB for the Movies category) in JPEG or PNG. Titles stop at 100 characters and descriptions at 5,000. PubNio’s own caps are much smaller. (Checked 2026-12-05.)

Facts

Fact Official value Source Checked
Video max size 256 GiB YouTube Data API: Videos: insert 2026-12-05
Video MIME types video/*, application/octet-stream YouTube Data API: Videos: insert 2026-12-05
Thumbnail max size 50 MiB (2 MiB for the Movies category) YouTube Data API: Thumbnails: set 2026-12-05
Thumbnail MIME types image/jpeg, image/png, application/octet-stream YouTube Data API: Thumbnails: set 2026-12-05
Title max characters 100 YouTube Data API: Videos resource 2026-12-05
Description max characters 5,000 YouTube Data API: Videos resource 2026-12-05

Where official docs disagree

What PubNio enforces

  • Video uploaded to a PubNio workspace is capped at 5GiB, and other media at 256MiB. Only media given to a post by URL can be larger, so a provider limit above those sizes applies to URL media only.
  • PubNio accepts MP4, MOV, WebM video up to 5GiB, its own media cap.
  • Descriptions are capped at 5,000 characters, matching the API.

Read the live value

  • PubNio reports a file it will not send as media_mime_type, media_too_large, or media_count on the target, before any provider call.
  • YouTube error codes lists the errors PubNio returns for YouTube and how to fix each.

Limits

  • PubNio’s YouTube rule stops at 5GiB, even for URL media; upload larger files to YouTube directly.

Sources

Type to search…

↑↓ navigate↵ selectEsc close