.mp4.m4v

MP4 file: what it is and how to open it

An MP4 file is a video in the standard MPEG-4 container, usually H.264 or HEVC picture with AAC sound, and almost every device plays it. Drop one here to play it, add a subtitle file or see its codecs.

Drop your MP4 file here

Opens on this device. Nothing is uploaded. Any other file works too.

What is an MP4 file?

MP4 is the most widely supported video file. MPEG published it in 2003 as ISO/IEC 14496-14, built on Apple’s QuickTime movie format, for the web, phones and broadcasting. One file holds a video track and a sound track, sometimes with subtitles or chapters, kept in step by a shared timeline.

MP4 is a container, so the name says little about what is inside. Most MP4 files use H.264 video and AAC sound, which current phones, computers and browsers all play. Newer files may use HEVC (H.265) or AV1, which save space but need newer hardware or an extra codec; that explains most videos that play on one device and not another.

Close relatives: .m4a is the same format with sound only, and .mov is Apple’s QuickTime format, which shares MP4’s structure, so most players treat .mp4, .m4v and .mov alike. iPhones record HEVC unless the camera is set to Most Compatible.

What is inside

An MP4 file is a series of boxes, each starting with its length and a four-letter type. The ftyp box names the kind of file. The moov box is the index: every track, its codec and timing, and where each frame sits. The mdat box holds the compressed frames and sound themselves.

Recorders usually write the index last, once they know where everything is, so a recording cut off by a dead battery or a full card can lack its moov box and will not play at all. Files prepared for the web move moov to the front, so playback can start before the download finishes.

A web-ready MP4. Straight from a camera, moov usually comes after mdat.

How to open an MP4 file

Windows

  • Windows Media PlayerBuilt in. Plays H.264 MP4 files. HEVC video needs HEVC Video Extensions (US$0.99) from the Microsoft Store; AV1 needs the free AV1 Video Extension.
  • VLC media playerFree. Plays MP4 with its own decoders, HEVC and AV1 included, so no Store extension is needed.
  • Universal File Opener for WindowsOursPlays MP4 and MOV through Windows codecs with speed and repeat, and trims, joins or saves new MP4 copies.

Mac

  • QuickTime PlayerBuilt in. Plays MP4 and trims or splits it, but exports only .mov files.
  • VLC media playerFree. Plays MP4 and switches between audio and subtitle tracks.

iPhone and iPad

  • FilesBuilt in. Tap an MP4 to open it; iPhones play H.264 and HEVC video.
  • VLC for iOSFree. Plays MP4 with several audio tracks and subtitles.

Android

  • VLC for AndroidFree, with no ads. Lists MP4 among its formats and lets you pick audio and subtitle tracks.
  • Universal File OpenerOursPlays MP4 and MOV, then trims, cuts, joins, compresses or converts a copy; the original stays unchanged.

In a browser

  • Chrome, Edge, Firefox or SafariEvery current browser plays MP4 with H.264 video. Drag the file into a tab.
  • Universal File OpenerOursDrop the video on this page to play it, add an SRT or VTT subtitle file and see its codecs. Nothing is uploaded.

Won’t open?

Sound plays but the picture is black on Windows

The video is probably HEVC (H.265), which iPhones record. Install HEVC Video Extensions (US$0.99) from the Microsoft Store, play it in VLC, or convert it to H.264 with HandBrake.

A video cut off by a dead battery or full card will not open

The recorder never wrote the index (the moov box), which it saves last. Copying the file again will not help. Repair tools can rebuild the index from a healthy clip made by the same camera with the same settings.

It plays on the phone but not on a TV or older PC

HEVC, AV1, 4K and HDR need newer hardware. Convert a copy with HandBrake’s Fast 1080p30 preset, which writes H.264 video and AAC sound for wide compatibility.

A site or app wants MP4, and the video is MOV

QuickTime Player exports only .mov. Use HandBrake, or Universal File Opener: search Home for MOV to MP4 on Android, or choose Edit, Save as MP4 on Windows.

Convert an MP4 file

  • To a smaller or more compatible MP4In HandBrake (free), click Open Source and pick the video, choose the Fast 1080p30 preset, set Save As and click Start. It writes H.264 video with AAC sound.
  • To MP3, the sound onlyIn VLC, choose Media, Convert/Save, click Add and pick the video, then Convert/Save. Choose an MP3 profile, set the Destination file and click Start.
  • To MP4 from MOVIn Universal File Opener, search Home for MOV to MP4 on Android, or choose Edit, Save as MP4 on Windows. Both save a new H.264 copy and keep the original.

MP4 files in our apps

Play MP4 and MOV offline on Android or Windows. On Android, trim, cut, join, compress or convert MOV to MP4; trimming, joining, conversion and frame saves are free. Every tool saves a new file and keeps the original.

Get it on Google PlayGet it from Microsoft Store
All Android tools and limits for MP4 files
  • Trim, cut out a middle part, or join clips in the order you choose. Cuts land on the frame shown at each time, and the result is a new H.264 and AAC MP4.
  • MOV to MP4: re-encode a copy to H.264 and AAC with your device codecs. Compress video saves a smaller MP4.
  • Extract the soundtrack as M4A, or save a silent copy with the audio removed.
  • Save a rotated copy by changing its orientation metadata, without re-encoding the video.
  • Save a paused frame as JPG.
  • Playback: speed control from 1/16x to 16x, subtitle and audio-track selection for multi-track files, fullscreen.
  • Repeat a section during playback: set A and B more than half a second apart. The loop lasts for the current session.
  • Export a silent GIF with Pro. Choose 5, 10 or 15 fps and a longest side of 240, 320 or 480 px. Exports are limited to 256 frames and 32 million pixels in total.
  • Trimming, joining, MOV to MP4 and frame saves are free. Cutting out a part, compression, GIFs, audio extraction, muting, speed and rotation need Pro.

Limits

  • Editing and conversion depend on the codecs your device can decode and encode. Playback also depends on them.
  • Video edits cannot keep extra tracks such as subtitles; a video that has them is refused before saving.
  • Sound at the cut points can be a few milliseconds off.
  • Speed-changed copies have no soundtrack. The app shows this limitation before saving.

Walkthrough: Edit video and audio on Android