Transloadit
Pricing
  • File Uploads
  • File Importing
  • Video Encoding
  • Audio Encoding
  • Image Processing
  • Document Processing
  • Artificial Intelligence
  • File Filtering & Security
  • Media Cataloging
  • File Compression
  • Code Evaluation
  • File Exporting
  • Smart CDN
  • View all services
  • Explore integrations
  • Explore live demos
  • Uppy
  • TransloaditKit
  • Android SDK
  • Node SDK
  • Python SDK
  • Ruby SDK
  • Go SDK
  • Java SDK
  • PHP SDK
  • Zapier
  • MCP Server
  • Terraform
  • Essentials
  • Best Practices
  • FAQ
  • Robots
  • API
  • Formats
  • Build your first app
  • About
  • Comparisons
  • Open Source
  • Testimonials
  • Jobs
  • Security
  • Posts
  • DevTimes
  • DevTips
  • Press
  • Research
  • Case Studies
  • Solutions
  • Guides
  • Glossary
  • Legal
  • Tools
  • Helping Coursera bring education to millions around the world
  • Transloadit Support
  • Open Source Support
  • Service level agreement
EssentialsRobotsFAQAPIFormatsBest Practices
Supported formats & codecs
  • Overview
  • Video codecs
  • Audio codecs
  • Audio/video filters
  • Audio/video formats
  • Image formats
  • Fonts
  • Archiving
Image formats
  • What is an AVIF file?
  • What is a GIF file?
  • What is a HEIC file?
  • What is a JPEG file?
  • What is a PNG file?
  • What is an SVG file?
  • What is a WebP file?
Audio formats
  • What is an MP3 file?
  • What is a WAV file?
Video formats
  • What is a MOV file?
  • What is an MP4 file?
  • What is a WebM file?
Document formats
  • What is a PDF file?

What is an MP4 file? Everything you need to know about the MP4 format

An MP4 file is a multimedia container defined by the MPEG-4 family of standards. It can combine video, audio, subtitles, chapters, still images, and metadata. MP4 is the most common general-purpose video delivery format because it works across browsers, phones, televisions, and media players.

MP4 is not itself a video codec. A typical web MP4 contains H.264/AVC video and AAC audio, but an MP4 can also carry HEVC, AV1, or other supported tracks.

How does MP4 work?

MP4 stores its data in nested boxes. Metadata describes tracks, timing, codecs, and the location of media samples. For progressive web playback, the metadata box can be moved to the beginning of the file so playback starts before the entire download finishes. This arrangement is commonly called fast start.

A device must support the container, video codec, audio codec, profile, level, pixel format, and other encoding choices. “MP4 support” alone does not guarantee that every MP4 will play.

Benefits of MP4

  • Broad compatibility: supported across modern browsers and consumer devices.
  • Efficient delivery: works with established codecs such as H.264 and AAC.
  • Multiple tracks: can contain audio, subtitles, chapters, and metadata.
  • Progressive playback: fast-start files can begin playing during download.
  • Streaming ecosystem: MP4 segments are widely used in HLS and MPEG-DASH workflows.

Limitations of MP4

MP4 is a delivery container, not a complete compatibility decision. HEVC or AV1 inside MP4 may not play everywhere H.264 does. A single large MP4 is also less adaptive than HLS or MPEG-DASH, which can switch quality as network conditions change.

MP4 compared with WebM and MOV

FormatBest fitCommon codecsMain tradeoff
MP4Broad web and device deliveryH.264, HEVC, AV1, AACCodec choices still affect support
WebMOpen web mediaVP9, AV1, OpusLess support in some production tools
MOVCapture and editingProRes, H.264, HEVC, PCMCan be large and less predictable on the web

How to encode MP4 with Transloadit

Use 🤖/video/encode with a tested preset instead of assembling every FFmpeg option yourself:

{
  "steps": {
    ":original": { "robot": "/upload/handle" },
    "mp4": {
      "use": ":original",
      "robot": "/video/encode",
      "preset": "web/mp4/1080p"
    }
  }
}

For changing network conditions, use 🤖/video/adaptive to create an adaptive HLS or MPEG-DASH package.

Want to test the workflow before writing integration code? Open the live WebM-to-MP4 demo to upload a sample, inspect the Assembly Instructions, and copy them into a Template. You can also create a free account and paste the example above into the Template Editor.

MP4 FAQ

Is MP4 the same as H.264?

No. MP4 is a container; H.264 is a video codec commonly stored inside it.

Why does an MP4 fail to play on a device?

The device may not support one of its codecs, profiles, levels, pixel formats, or audio settings. Transcode to a known delivery preset for predictable results.

Is MP4 suitable for streaming?

Yes for progressive downloads and as segments in adaptive streaming. For long-form playback across variable networks, HLS or MPEG-DASH usually provides a better experience than one fixed MP4.

Related demos

  • Convert WebM video to MP4
  • Implement MPEG-DASH streaming
  • Extract a 15-second video preview
  • Add subtitles to a video

For a broader overview of presets, codecs, and delivery workflows, see our video encoding service.

Previous page ← What is a MOV file?Next page What is a WebM file? →
TransloaditChecking status…

Product

  • Services
  • Pricing
  • Demos
  • Tools
  • Security
  • Support

Company

  • About/Press
  • Blog/Jobs
  • Comparisons/Compliance matrix
  • Research
  • Open source
  • Solutions

Docs

  • Getting started
  • Transcoding
  • FAQ
  • API
  • Guides/DevTips
  • Supported formats

More

  • Platform status⁠
  • Community forum⁠
  • StackOverflow⁠
  • Uppy
  • tus⁠

© 2009–2026 Transloadit-II GmbH

PrivacyTermsImprint