Skip to main content
X accepts a short video with strict dimensions. Read Media guidelines for the general rules. Repeat the Post body value to publish a thread. You can attach media to each body item. Any body item can contain media without text. If publication stops part-way, a retry resumes at the first missing reply.

Media per post

An X post accepts up to four assets.

Video limits

X recommends the H.264 video codec. OpenPMM gives advice for a different codec, but it does not block the post.

Image limits

X documents no dimension limit for a photo. OpenPMM cannot check a limit that the provider does not document. OpenPMM makes a photo smaller when it is above 5 MB. OpenPMM does not change an animated GIF, because that would remove the animation.

Limits that OpenPMM cannot check

X documents a closed group of pictures (GOP). OpenPMM cannot read this property from the file. Make sure that your encoder writes a closed GOP.

Provider documentation

X media best practices