YouTube Publishing

YouTube video format guide: codecs, containers and upload checks

A video file combines a container, video stream, optional audio stream and metadata. Checking those properties before uploading can reveal an unusual codec, low resolution or rotated metadata, but no third-party checker can guarantee YouTube acceptance.

By Tubelexity / Updated

Check a local video format

Container and codec are different

MP4 is a container; H.264 is a video codec that can be stored inside it. MP4 with H.264 and AAC is a common combination, while WebM often contains VP9 and Opus.

  • The filename extension does not prove which codec is inside.
  • A compatible container can still contain an unusual stream.
  • Missing audio is acceptable when it is intentional.

Resolution, bitrate and orientation

Resolution describes frame dimensions. Bitrate describes encoded data per second and must be interpreted alongside frame size and motion. Phone video can rely on rotation metadata, so preview the processed upload rather than trusting dimensions alone.

What a local checker cannot prove

Browser metadata APIs do not expose every stream property, and YouTube can change its ingestion rules. Treat Cannot determine as honest uncertainty rather than a failure.

A recommendation is not a rejection rule

YouTube recommends MP4 with H.264 video and common audio options including AAC-LC or Opus at 48 kHz. Its SDR bitrate table lists 8 Mbps for 1080p at standard frame rates and 12 Mbps at high frame rates. These are reference settings, not hard upload bitrate limits. Keep the recorded frame rate unless you have an editing reason to change it.

Separate the container from its contents
PropertyExampleWhat it tells you
ContainerMP4How streams are packaged
Video codecH.264How picture data is compressed
Audio codecAACHow sound is compressed
Bitrate8 MbpsData per second, not pixel dimensions

A repeatable local inspection

Upload a known local clip to the format checker, note the browser's dimensions and duration, then explicitly run detailed stream inspection. Compare the reported video codec, FPS and audio stream against your export settings. Unknown fields stay unknown: do not estimate stream bitrate from total file size when the container includes audio and overhead.

If the file fails in the browser, try the original export in another player before re-encoding. A corrupt/truncated file and an unsupported browser decoder are different problems. If orientation is wrong, inspect rotation metadata and the actual picture. Renaming .mov to .mp4 does not convert the streams.

Recommended workflow

  1. Inspect the container and video codec.
  2. Confirm the decoded dimensions and orientation.
  3. Check whether audio is present and intentional.
  4. Review bitrate and low-resolution warnings.
  5. Re-encode only when the visible checks identify a practical reason.
Check a local video format

Frequently asked questions

Is MP4 always compatible?

No. The codecs and stream properties inside the MP4 also matter.

Can a silent video be uploaded?

Often yes, but confirm that the missing audio is intentional.

Can this guide guarantee acceptance?

No. YouTube makes the final ingestion decision.

Sources and technical references

Related reading and tools