X/Twitter Media Guidelines (as of 2/14/2024)

Videos
Video ratio: 16:9 and 1:1.
File size: 1GB Max
File types: MP4 or MOV.

Max time: 2 minutes and 20 seconds. (Select advertisers are eligible to request an increase up to 10 minutes. Please contact your Twitter Account Manager for more information.)

Video codec recommendation: H264, Baseline, Main, or High profile with a 4:2:0 color space.

Frame rate recommendation: 29.97FPS or 30FPS. Higher is acceptable. If the available video has a lower frame rate don’t try to “upsample” it.

Video bitrate recommendation: 6,000 – 10,000k (recommended 6,000k) for 1080p. 5,000k – 8,000k (recommended 5,000k) for 720p).

Audio codec recommendation: AAC LC (low complexity).

Photos
Photo size: 800 x 418 pixels for 1.91:1 aspect ratio, 800 x 800 pixels for 1:1 aspect ratio (max 3mb)

Aspect ratio: 1.91:1 or 1:1.

File types: PNG and JPEG are recommended. No BMP or TIFF files.

Mixed media
Aspect ratios: 1:1 photos with 1:1 videos or 1.91:1 images with 16:9 videos. Aspect ratios must be consistent across photos and videos in a single ad.

Sizes, file types and other format guidelines for photos and videos should follow the recommendations above.