MP4

The universal video container for progressive download, offline playback, and simple delivery.

Overview

What is MP4

MP4 (MPEG-4 Part 14) is a digital multimedia container based on the ISO base media file format. It stores video, audio, subtitles, and metadata in a single file that virtually every device, browser, and media player can open without additional software. MP4 is the most common container for progressive download — where the viewer downloads and plays the file simultaneously without adaptive bitrate switching. While MP4 does not support adaptive streaming natively, it serves as the segment format for both HLS (via fmp4) and MPEG-DASH, making it the foundational container for modern video delivery.

Decision Guide

When to Choose MP4

Choose MP4 when:
  • You need a single file that plays everywhere — MP4 with H.264 is the most universally compatible video format in existence.
  • Your use case is progressive download or offline viewing — social media uploads, downloadable training videos, embedded product demos.
  • You are producing mezzanine or archive files — MP4 is a stable long-term storage format with broad tool support.
Consider alternatives when:
  • You need adaptive bitrate streaming — HLS or MPEG-DASH adjusts quality to viewer bandwidth in real time.
  • You need DRM protection — MP4 alone cannot enforce DRM. Package as HLS (FairPlay) or DASH (Widevine/PlayReady).
  • You need live streaming — MP4 is a file-based format with no live capability. Use HLS or MPEG-DASH.
Try it

Transcoding Demo

Source video

URL
Upload File
Sample Video

Maximum file size: 5GB

Choose our Demo File
4K Sample (Qencode)
Source Type
URL
Transcoding demo creates a small clip with a watermark.To test transcoding full files, Start your Free Plan for 500 credits

Select a source video and click “Convert” to see MP4 output in action.

Reference

Key Characteristics

TypeContainer format
File extension(s).mp4
Supported video codecsH.264, H.265 (HEVC), AV1
Supported audio codecsAAC, MP3, Opus
DRM supportNot natively (DRM requires HLS or DASH packaging)
Adaptive bitrateNo — progressive download only
LatencyN/A (progressive, not streaming)
Live streaming supportNo (use HLS or DASH for live)
Typical use caseDownloads, short-form social video, offline playback, mezzanine files
Compatibility

Browser & Device Support

Platform
MP4 (H.264)
MP4 (H.265)
MP4 (AV1)
Chrome (desktop)
70+
Safari (macOS)
11+
17+
Firefox (desktop)
67+
Edge
HEVC ext.
79+
iOS Safari
11+
17+
Android Chrome
device-dep.
93+
Smart TVs
most 2017+
most 2022+
Game consoles
PS5, Xbox S/X
PS5, Xbox S/X
Implementation

How Qencode Handles MP4

Qencode produces MP4 output with any supported video codec — H.264, H.265, AV1, or VP9 — and handles muxing, metadata, and faststart (moov atom relocation) automatically. Faststart is critical for web playback: it moves the file's metadata to the beginning so browsers can start playing before the full file downloads.

Combine MP4 output with Thumbnails to extract preview images alongside encoded video,or use Video Clips to produce shorter MP4 segments from longer source files.

Request Example

MP4 output with H.264 and Per-Title Encoding

{
  "query": {
    "source": "https://your-storage.com/source.mov",
    "format": [
      {
        "output": "mp4",
        "video_codec": "libx264",
        "resolution": 2160,
        "optimize_bitrate": 1
      }
    ]
  }
}

Copy this payload and use it with your API key to generate MP4 output from any video source.

View Parameter Reference
comparison

MP4 vs. WebM

MP4
WebM
Device support
Universal (99%+)
Broad (Chrome, Firefox, Edge; no Safari)
Royalty status
Depends on codec (H.264 licensed, AV1 free)
Royalty-free
Primary codecs
H.264, H.265, AV1
VP8, VP9, AV1
Audio codecs
AAC, MP3
Vorbis, Opus
File size
Depends on codec
Typically smaller (VP9/Opus)
Best for
Universal playback, downloads
Web-first, open-source projects

For a detailed WebM breakdown, see WebM

Pricing

What It Costs

SD
$0.01
0
Format
Select item
Codec
Select item
Framerate
25
Choose resolution

Planning for budgets over $1,000/month? Schedule a call with us to explore additional volume discounts.

Explore More

Related Features

Video Clips

Extract shorter MP4 segments from longer source videos

Watermarks

Add visual watermarks to MP4 output for branding or protection

We love creating powerful solutions that are aligned with the needs of your business.

Please send us a message if you have a question or Schedule a call for a demo to discuss your integration.

Let's talk

First Name
Last Name
Company
Email
Your Message

Contact us with any questions. We'd love to help.

Los Angeles, CA - (HQ)

San Francisco, CA

New York, NY