MP4 Video MIME Type
video/mp4 identifies, which codecs MP4 can contain, how browsers play it, and how Poly supports MP4 video. MIME type details for video/mp4
In active use| MIME type | video/mp4 |
|---|---|
| Extensions | .mp4.mpg4 |
| First standardized | 2003 |
| Created by | ISO/IEC Moving Picture Experts Group |
| Browser support | Chrome, Edge, Firefox, Opera, Safari |
| Example applications | Adobe Premiere Pro, VLC media player |
| Poly support | Yes. Poly recognizes `.mp4` video and makes supported picture, sound, and metadata available for playback and discovery. |
| Indexed by Poly | Yes. Poly makes the filename, available technical details, spoken transcript, and visual content searchable. A transcript requires audible speech. |
| Preview in Poly | Yes. Poly provides a thumbnail, timeline previews, and in-app playback for supported media. |
| Poly agent | Yes. The Poly agent can use supported visual content, spoken transcript, and metadata from the video. |
What does video/mp4 mean?
The video/mp4 media type identifies an MP4 presentation that contains video, with or without audio. MP4 is a container rather than a codec. It organizes timed tracks, metadata, captions, and compressed media while each track's codec determines how its samples are encoded.12
That distinction determines the correct media type:
| Contents | Registered media type |
|---|---|
| Video, with or without audio | video/mp4 |
| Audio with no visual presentation | audio/mp4 |
| MPEG-4 systems data with neither audio nor video | application/mp4 |
IANA lists both .mp4 and .mpg4 for video/mp4, although .mp4 is the familiar extension. The registration has no fixed magic number.1
.mp4 videos may need different decoders even though both are valid MP4 files.How MP4 stores video and audio
MP4 is part of the ISO Base Media File Format family. Files are arranged as boxes, each with a size and type. A file-type box named ftyp declares the specifications and brands that the file follows. Other boxes describe the presentation timeline, tracks, sample locations, and metadata.3
The MPEG-4 standard separates these responsibilities. Part 12 defines the shared ISO Base Media File Format, while Part 14 defines the MP4 File Format for MPEG-4 data.23
This flexible structure lets MP4 carry several video and audio codecs. H.264 video with AAC audio is the most broadly compatible web combination, but MP4 can also contain HEVC, AV1, MP3, Opus, and other registered media formats. Actual playback depends on the whole combination, not the container alone.45
When publishing to the web, a codecs parameter can state that combination explicitly. For example:
Content-Type: video/mp4; codecs="avc1.4D4028, mp4a.40.2"
RFC 6381 defines this parameter so a browser can evaluate the required decoders before fetching or playing the file. The file's contents remain authoritative if the label is incomplete or wrong.5
How to identify and open an MP4 video
Do not identify an MP4 by looking only for ftyp at byte offset 4. Closely related formats such as M4V, MOV, HEIF, and AVIF also use box-based structures. A reliable inspector parses box sizes, checks the declared brands, and examines each track's codec.3
Adobe Premiere Pro can export H.264 video as MP4, and VLC can play a wide range of MP4 combinations.67 A browser is often enough for a delivery file made with common web codecs.
Current versions of Chrome, Edge, Firefox, Opera, and Safari support MP4 playback with widely compatible codecs. MDN specifically identifies H.264 video with AAC audio in MP4 as supported across modern browsers.4 Support can still vary with codec profile, level, bit depth, HDR features, hardware, and operating-system decoders.
MP4 video support in Poly
Poly turns supported .mp4 videos into useful, searchable media:
- Browse with a representative thumbnail and timeline previews.
- Play the video in Poly and jump to relevant moments.
- Find available details such as duration, dimensions, frame rate, codecs, color information, and audio tracks.
- Search by filename, spoken transcript, and visual content.
- Ask the Poly agent about supported visual content, speech, and metadata.
Transcript search requires a usable audio track with audible speech. Silent videos can still benefit from visual search. Playback and content-aware features depend on the media carried inside the container.
See Supported File Types for the compact video feature comparison.
MP4 compared with MOV, M4V, and WebM
These labels describe containers or container conventions, not a guaranteed codec:
| Format | Typical extension | Media type | Practical fit |
|---|---|---|---|
| MP4 video | .mp4 | video/mp4 | Broad browser and device delivery |
| QuickTime movie | .mov | video/quicktime | Apple media workflows and specialized production tracks |
| M4V | .m4v | video/x-m4v | Apple's video-file convention, including some purchased media |
| WebM | .webm | video/webm | Open, web-focused delivery, commonly with VP9 or AV1 video |
MOV influenced the ISO Base Media File Format, and MP4 uses that later standardized family. The formats share many structural ideas but are not interchangeable merely because their boxes look similar.34
Renaming clip.mov, clip.webm, or clip.m4v to clip.mp4 does not convert the container or its codecs. It only changes the filename.
Converting MP4 without unnecessary quality loss
First inspect the source tracks, then choose between remuxing and re-encoding:
| Goal | Approach | Tradeoff |
|---|---|---|
| Repair container compatibility | Remux compatible tracks into a new MP4 | Fast and preserves encoded quality, but cannot fix an unsupported codec |
| Reach the widest browser audience | Encode H.264 video and AAC audio in MP4 | Broad compatibility, with possible quality loss from another encode |
| Reduce delivery size on supported devices | Encode HEVC or AV1 in a suitable container | Better compression may come with narrower playback support or slower encoding |
| Publish an open web alternative | Encode VP9 or AV1 video with compatible audio in WebM | Good web delivery, but compatibility differs from MP4 |
FFmpeg can read and write the MOV/MP4 family and can copy compatible streams without re-encoding. After any conversion, check duration, audio synchronization, captions, language tracks, frame rate, rotation, color, and HDR behavior before discarding the source.8
Security and privacy considerations
Treat MP4 files from unknown sources as untrusted. RFC 4337 notes that malformed streams can overrun decoder resources or trigger failures, and MPEG-4 systems content can include command-like behavior. Use maintained playback software and avoid enabling unnecessary external or interactive features.1
MP4 can also carry titles, comments, creation times, location-related metadata, device details, captions, and multiple audio tracks. Review both metadata and hidden tracks before publishing sensitive footage.
Footnotes
- Internet Engineering Task Force. RFC 4337: MIME Type Registration for MPEG-4. The RFC assigns
video/mp4to presentations with visual content, lists.mp4and.mpg4, records no magic number, and discusses security considerations. ↩ ↩2 ↩3 - Moving Picture Experts Group. MPEG-4, ISO/IEC 14496. MPEG identifies Part 12 as the ISO Base Media File Format and Part 14 as the MP4 File Format for MPEG-4 data. ↩ ↩2
- Moving Picture Experts Group. ISO Base Media File Format Overview. The overview explains the box structure, tracks, brands, metadata, and relationship among ISO-family formats. ↩ ↩2 ↩3 ↩4
- MDN Web Docs. Media Container Formats and Transcoding Assets for Media Source Extensions. MDN documents MP4 codec combinations and modern browser support. ↩ ↩2 ↩3
- Internet Engineering Task Force. RFC 6381: The Codecs and Profiles Parameters for Bucket Media Types. The RFC defines
codecsandprofilesparameters for MP4-family media types. ↩ ↩2 - Adobe. Export Video and Audio Files in Premiere. Adobe documents H.264 export to MP4. ↩
- VideoLAN. VLC Features and Formats. VideoLAN lists supported input containers and codecs. ↩
- FFmpeg Project. FFmpeg Formats Documentation. The documentation covers the MOV/MP4 demuxer, muxer, fragmentation options, and related formats. ↩