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

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
| Setting | Recommended |
|---|---|
| Format | MP4 with H.264 video and AAC audio |
| Shape | 16:9 landscape or 1:1 square; vertical video also plays |
| Resolution | 1920 × 1080 or 1280 × 720 for landscape, 1080 × 1080 for square |
| Frame rate | 30 or 60 frames per second |
| Length | Up to 2 minutes 20 seconds (140 seconds) for most accounts |
| File size | Keep 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
- Upload from a computer or on Wi-Fi when the video matters.
- 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.
- Upload your original file, not a copy that has been through a messaging app.
- 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.