Twitter/X Video Upload Settings: Length, Size and Format That Work

Twitter/X · Published 29 October 2026 · 3 min read

Video file with settings for length, size and format next to a social media post

A video that uploads easily elsewhere can fail on X with a vague error, or post at a quality lower than you expected. The cause is almost always one of a few limits on length, file size or format.

This guide lists the settings that work, explains the common errors, and shows how to adjust a video that is too long or too large.

The settings that work

SettingRecommended
FormatMP4 with H.264 video and AAC audio
Shape16:9 landscape or 1:1 square; vertical video also plays
Resolution1920 × 1080 or 1280 × 720 for landscape, 1080 × 1080 for square
Frame rate30 or 60 frames per second
LengthUp to 2 minutes 20 seconds (140 seconds) for most accounts
File sizeKeep it well under 512 MB for a standard upload

Subscribers to X Premium can post longer videos, and X changes its limits from time to time. If you upload long videos, check X's help page for your account type.

Why X rejects a video

  • It is too long. Videos over the limit for your account are blocked or must be trimmed during upload.
  • The file is too large. Long or 4K videos can exceed the size limit even when the length is fine.
  • Unsupported format. Files such as MKV, AVI or some MOV variants may fail. Convert to MP4 first.
  • Unusual settings. Very high frame rates, variable frame rate from some screen recorders, or audio in an unusual format can cause errors.
  • A weak connection. Large uploads on mobile data can time out.

How to fix a video that is too long or too big

Trim it

X's uploader lets you trim a video before posting. For more control, trim in your phone's photo editor or any video editor so you choose exactly which part to keep.

Split it into a thread

If every part matters, cut the video into clips under the limit and post them as a thread. Number the posts so viewers can follow along.

Make the file smaller

Export at 1080p or 720p instead of 4K, and use a moderate bitrate. Our guide to reducing video file size walks through each option.

Convert to MP4

A free tool such as HandBrake can convert almost any video to MP4 with H.264, which X accepts reliably. See video formats explained for the details.

Getting the best quality on X

  1. Upload from a computer or on Wi-Fi when the video matters.
  2. Check the app's data settings. On mobile, X can play and upload media at lower quality to save data. Look for the high-quality media options in Settings and turn them on.
  3. Upload your original file, not a copy that has been through a messaging app.
  4. Add captions in the video or upload a caption file, because many people scroll with the sound off.

Keeping a copy of what you posted

Always keep the original file. If you need a copy of a video you already posted, our guide to downloading your own X videos and GIFs covers your X data archive and the Twitter Video Downloader for public posts.

Frequently asked questions

How long can a video on X be?

Most accounts can post videos up to 2 minutes 20 seconds. X Premium subscribers can post longer videos. Limits change, so check X's help page if you are close to the limit.

What is the best format for X videos?

MP4 with H.264 video and AAC audio. It is the most reliable format for upload and playback.

Why does my video say 'This media could not be processed'?

Usually the file is too long, too large or in an unsupported format. Trim it, export at 1080p or 720p, and convert to MP4.

Can I upload 4K video to X?

You can try, but large 4K files often hit the size limit, and most viewers watch at a lower resolution. A 1080p export is a safer choice.

Why does my video look worse on X than on my phone?

X compresses uploads, and data-saving settings can lower quality further. Upload the original on Wi-Fi and turn on the high-quality media settings.

Only save videos, audio and images that you own or have permission to use. Read our Copyright Policy for what is allowed, and see the DMCA page if you are a rights holder.