twittLoad Local only

Guide

How to export video for X

One set of export settings that works for almost every clip, and how to set it in the apps people actually use.

Contents
  1. The settings that work
  2. Why each setting matters
  3. iPhone
  4. Android
  5. Desktop editors
  6. Screen recordings
  7. Check before you post
  8. Questions

Most videos straight from a phone upload to X without any trouble. The ones that don't usually have one of a short list of problems: they're too long, too big, in a codec X doesn't like, or at a resolution or frame rate outside what X expects. A sensible export fixes all of them at once.

This guide gives one set of settings that works for almost everything, then shows where to find those settings in common apps. If you aren't sure what's wrong with a particular file, drop it into the checker first. It reads the codec, frame rate, bitrate and length locally and tells you which setting to change.

The settings that work

Setting Use this
Container MP4
Video codec H.264, High profile
Resolution 1920 × 1080 (landscape), 1080 × 1920 (vertical), 1080 × 1080 (square)
Frame rate 30 fps, constant (or match the source if it's 24 or 25)
Bitrate 8 to 12 Mbps for 1080p, 4 to 6 Mbps for 720p
Audio AAC (AAC-LC), 48 kHz, stereo, 128 to 192 kbps
Length Up to 2:20 for standard accounts

These settings sit well inside X's published limits (see the limits guide), and they give X's own re-encoder good material to work with. Going higher doesn't help, because X re-encodes everything. A 40 Mbps file looks no better on X than a 10 Mbps one, and it takes four times as long to upload.

Why each setting matters

H.264 is the codec X recommends, and the one every device can decode. iPhones record in HEVC (H.265) by default. The X app normally copes, but web uploads and some Android devices can stumble, and HEVC files sometimes come out with odd colors after re-encoding. If you shoot a lot for X on an iPhone, setting Camera > Formats to Most Compatible makes the camera record H.264 from the start.

Resolution is capped. X's web guidance lists 1920 × 1200 as the maximum, and the developer documentation is stricter still. A 4K file is slow to upload, might be refused, and if accepted gets scaled down by X anyway. Scale it down yourself and you control how it looks.

Frame rate: X's web upload guidance lists 40 fps as the maximum. Phone clips at 60 fps often post fine from the app, but 30 fps is the safe choice when an upload fails. Use a constant frame rate. Phones record variable frame rate to save power, and while it usually works, it's the classic cause of audio slowly drifting out of sync after upload.

Audio has to be AAC. The developer docs say HE-AAC isn't supported, and surround audio (5.1 or more) isn't allowed. Most apps export plain AAC-LC unless you ask for something else.

Bitrate controls file size. Size equals bitrate times length, so a 2:20 clip at 10 Mbps comes to about 175 MB, comfortably under 512 MB. If a long clip is too big, lower the bitrate before lowering the resolution.

iPhone

If a video won't post, the quickest fix is often trimming. In the Photos app, tap Edit and drag the ends of the timeline to bring it under 2:20.

For format problems, the free iMovie app exports H.264 MP4 files. Create a movie, add your clip, tap Done, then the share button, Save Video, and choose 1080p. iMovie uses sensible bitrates on its own.

To stop the problem at the source, go to Settings > Camera > Formats and choose Most Compatible. Under Record Video, 1080p at 30 fps gives files that need no conversion at all. You lose HEVC's smaller files and 4K, which X wouldn't show anyway.

Android

Most Android phones record H.264 MP4 at 1080p by default, which is ideal. If yours is set to 4K or 60 fps, change it in the camera app's video settings. Some phones call the HEVC option "High efficiency video"; turning that off records H.264.

For trimming, the Google Photos editor and most gallery apps let you cut the ends off a clip and save a copy.

Desktop editors

Most editors include a preset that's close to what X wants. Start there and check the settings in the table.

In Adobe Premiere Pro, export with the H.264 format and pick the "Match Source - High bitrate" preset, then set the resolution to 1920 × 1080 if your source is larger and the bitrate to around 10 Mbps. Under Audio, choose AAC, 48 kHz, stereo.

In DaVinci Resolve, on the Deliver page, choose MP4 format and H.264 codec, set the resolution to 1920 × 1080, the frame rate to match your timeline, and quality to a restricted bitrate of about 10,000 kbps. Set audio to AAC.

In Final Cut Pro, use Share > Apple Devices 1080p, or Export File with the H.264 video codec. Avoid exporting ProRes for X; those files are huge and the format isn't supported.

HandBrake is free and works on Windows, macOS and Linux. Its "Fast 1080p30" preset produces an MP4 with H.264 and AAC that suits X well. For a smaller file, raise the RF value by two or three.

Screen recordings

Screen recordings are a special case. They're often at odd resolutions, such as a 2560 × 1600 laptop screen or a 1170 × 2532 phone screen, and use variable frame rates. Export them at a standard size: scale a laptop recording to 1920 × 1200 or 1920 × 1080, and a phone recording to 1080 wide with the height that keeps the shape. Text in screen recordings suffers most from X's compression, so keep the bitrate at the higher end of the range.

Check before you post

Once you've exported, drop the file into the checker. If everything passes, it should upload. If X still refuses it, try posting from the other platform (web instead of app, or the reverse), since the limits differ slightly, and tell us what happened. We use those reports to keep the checker's rules current.

Questions

What is the best video format for X?

An MP4 file with H.264 video and AAC audio. Use 1920 × 1080 for landscape or 1080 × 1920 for vertical, 30 fps, and a bitrate around 8 to 12 Mbps.

Why does my video fail to upload to X?

The usual causes are a video longer than 2:20 on a standard account, a file over 512 MB, a codec X doesn't like (HEVC, ProRes), 4K resolution or an unusual frame rate. Drop the file into the checker to see which one it is.

Should I upload 4K video to X?

No. X's web upload guidance tops out at 1920 × 1200, and even 1080p is shown only to some viewers. A 4K file is slower to upload and may be refused or compressed harder.

X limits in this guide were last checked on November 6, 2026. X is a trademark of X Corp.; twittLoad is independent and not affiliated with X Corp.