What is the M4S file format?
An .m4s file is a media segment used in MPEG-DASH (Dynamic Adaptive Streaming over HTTP), the international standard for adaptive bitrate video streaming (ISO/IEC 23009-1). M4S segments are fragments of a larger video or audio stream and are not standalone playable files.
The format is built on ISOBMFF (ISO Base Media File Format, ISO 14496-12) - the same container family as .mp4. A complete DASH presentation consists of an initialization segment containing codec configuration, followed by a series of media segments each typically covering 2-10 seconds of playback. Each media segment is structured as moof (Movie Fragment Box) + mdat (Media Data Box) pairs.
A companion .mpd XML manifest (Media Presentation Description) describes all available quality levels, segment URLs, durations, and DRM information. Adaptive players fetch the .mpd first, then request individual .m4s segments at the appropriate quality level based on available bandwidth.
Content protection uses Common Encryption (CENC, ISO 23001-7), enabling Widevine, PlayReady, and FairPlay DRM to operate on the same encrypted segments. Browsers handle .m4s delivery transparently through the Media Source Extensions (MSE) API via players such as Shaka Player or dash.js. Segments commonly appear in browser cache or temp directories when watching DASH streams on services such as YouTube, Netflix, and Disney+.
Concatenating all segments for a single quality level with a tool like ffmpeg produces a complete, playable .mp4 file.
Security & safety
RISK: LOWM4S files are passive media data segments - they contain no executable code and cannot run malware by being opened in a media player. The main caution: tools claiming to "download and convert .m4s from streaming services" may violate platform ToS. DRM-protected segments (Widevine/PlayReady) cannot be decrypted without the license key - tools promising to do so for premium content may be scams or malware.
Format details
in a nutshell- Myst IV: Revelation Save Game - Legacy Ubisoft game (2004) used .m4s for save data; extremely rare in the wild compared to DASH segments.
Programs that open M4S files
Technical details
deep spec| File type | Binary ISOBMFF media segment (MPEG-DASH streaming) |
| MIME type | video/iso.segment (primary); video/mp4 or audio/mp4 also used |
| Byte order | big-endian (ISOBMFF standard) |
| Container | ISOBMFF (ISO Base Media File Format, ISO 14496-12) - same family as MP4 and M4V |
| Segment structure | moof (Movie Fragment Box) + mdat (Media Data Box) pairs; may be preceded by styp box |
| Initialization segment | Separate ftyp + moov box file must be fetched before media segments can be decoded |
| Typical segment duration | 2-10 seconds of media per segment file |
| Typical file size | 500 KB - 5 MB per segment |
| Video codecs | H.264/AVC, H.265/HEVC (codec choice is independent of the M4S container) |
| Audio codec | Typically AAC; common sample rates 44,100 Hz and 48,000 Hz |
| DRM support | Common Encryption (CENC, ISO 23001-7); compatible with Widevine, PlayReady, and FairPlay |
| Color depth | 8-bit (SDR) or 10-bit (HDR10/HLG) depending on encoded video stream |
| Browser delivery | Handled by Media Source Extensions (MSE) API via players such as Shaka Player or dash.js |
| Standalone playability | Not directly playable; requires MPD manifest and ordered segment sequence; concatenating all segments yields a valid MP4 |
| Released | 2012 (MPEG-DASH standard ISO/IEC 23009-1 published) |
| Latest version | MPEG-DASH 5th Edition (ISO/IEC 23009-1:2022) |
| Open standard | Yes · royalty-free |
| Specification | www.iso.org |
M4S conversions
Community Q&A
asked by usersNo questions yet - be the first to ask about M4S files.