Guides · Updated

Video specs for TikTok, X and LinkedIn

TikTok's Content Posting API takes videos up to 4 GB at 23 to 60 fps. X's app allows 2:20 without Premium. LinkedIn's API takes MP4, 3 seconds to 30 minutes, 75 KB to 500 MB. App and API limits differ: LinkedIn's app takes a 5 GB file, while developers report X's API refusing videos over 2:20 even from Premium accounts.

Specifications checked on October 28, 2026, against each network's own help pages and developer docs, linked under Sources. The networks change these without notice, so check them again before you build on one.

For photos, see social media image sizes.

One file for all three

Start with these shared settings, then check the account and posting route below. They aren't a guarantee of acceptance: X's own pages conflict, and TikTok's length allowance depends on the creator.

This ffmpeg line makes that format from most files. It keeps the picture size and the length, so trim and resize separately (to turn 1080 × 1920 into 720 × 1280, start the filter with scale=-2:1280,). CRF encoding doesn't cap the file size or bitrate; check both afterwards:

ffmpeg -i input.mov -vf fps=30,setsar=1 -c:v libx264 -profile:v high -pix_fmt yuv420p -crf 20 \
  -c:a aac -b:a 128k -ac 2 -movflags +faststart video.mp4

X (Twitter)

In the X app Through the X API
Length Up to 2:20 (140 seconds) without a subscription. With X Premium, up to 4 hours on the web and iOS, and up to 10 minutes from Android. Its FAQ requires 720p above 2 hours, although its overview says 4 hours at 1080p 0.5 seconds to 20 minutes, or 125 minutes for Premium or verified accounts, by X's docs. Developers report refusals over 2:20, Premium accounts included (below)
File size 512 MB without a subscription, 16 GB with Premium 8 GB, or 16 GB for Premium or verified accounts
Formats Not listed. X tells you if a file isn't supported H.264 High Profile recommended. 4:2:0 colour only, AAC-LC sound only (not HE-AAC), mono or stereo, no open GOP, progressive scan
Picture size 32 × 32 to 1920 × 1200 (1200 × 1900 upright) on the web 32 × 32 to 1280 × 1024. The same page says subscribed accounts can upload 1080p and get 1080p playback, others 720p
Aspect ratio 1:2.39 to 2.39:1 on the web 1:3 to 3:1, with square pixels
Frame rate Up to 40 fps on the web Up to 60 fps. 30 or 60 recommended
Bitrate Up to 25 Mbps on the web Recommended: at least 5,000 kbps video and 128 kbps sound

X's help counts the Plus, Premium, Super and Ultra plans on The X Subscription as Premium for longer videos. Its app also supports posts with multiple videos or a video and an image. Flaghand's single-video rule below is its own, not a general X app limit.

The X API and 2:20

X's media docs give a post's video 20 minutes without Premium, and also say "Post-video caps match the X app", whose cap without a subscription is 140 seconds. Developers on X's forum report the API holding accounts to that, Premium ones included: the upload finishes, then POST /2/tweets answers 403 with "This user is not allowed to post a video longer than 2 minutes." The reports run from May 2025 to May 2026, for videos the same accounts could post in the app. X checks the limits twice, when you upload and again when the post is created, so a finished upload is no promise. Keep API videos to 2:20 until your account has posted a longer one through the API.

LinkedIn

In the LinkedIn app Through the LinkedIn API
Length 3 seconds (2 from the mobile app) to 15 minutes 3 seconds to 30 minutes
File size 75 KB to 5 GB 75 KB to 500 MB
Formats MP4, MOV, AVI, WebM, MKV, WMV, VC1, MPEG-1 and MPEG-2, DV, QuickTime RLE and TSCC2, on desktop, iOS and Android. ProRes may upload but won't process MP4
Picture size 256 × 144 to 4096 × 2304 Not listed
Aspect ratio 1:2.4 to 2.4:1 Not listed
Frame rate 10 to 60 fps Not listed
Bitrate 192 Kbps to 30 Mbps Not listed

TikTok

In TikTok (TikTok Studio's web upload) Through the Content Posting API
Length Up to 60 minutes 3 minutes for every creator, and 5 or 10 for some. A video sent to the creator's inbox can be up to 10 minutes, and they can trim it in TikTok to fit
File size Up to 30 GB Up to 4 GB
Formats MP4 recommended. "Other major formats are supported" MP4 (recommended), WebM or MOV. H.264 (recommended), H.265, VP8 or VP9
Picture size 1080p, 1440p or 4K recommended 360 to 4096 pixels on each side
Aspect ratio 9:16 upright or 16:9 wide recommended Not listed
Frame rate Not listed 23 to 60 fps

What Flaghand checks

Flaghand is a publishing desk where your agent drafts the post and you approve it. Its own upload limit is smaller than any network's, so here it is plainly:

Start a free trial to draft, check and approve your videos in Flaghand. Every media field is in Flaghand's drafts and media docs. Start free trial.