.M4S

M4S File

MPEG-DASH Video Segment
Ask a question
QUICK ANSWER

An M4S file is a short video or audio fragment generated by MPEG-DASH adaptive streaming. You find these files in your browser's temporary cache after watching video on YouTube, Netflix, or similar services. A single .m4s file is not playable on its own - use ffmpeg or yt-dlp to reassemble all segments into one MP4.

Developer: MPEG / ISO/IEC (ISO 14496-12) Category: Video Files Open standard MIME: video/iso.segment
OPENS ON Windows macOS Linux
Related: .DAV · .MKV · .MP4 · .H264

On this page

19k+ extensions indexed
Last reviewed Sep 2, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

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: LOW

M4S 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
FULL NAMEMPEG-DASH Video Segmentaka DASH segment file, ISO Base Media File segment
DEVELOPERMPEG / ISO/IEC (ISO 14496-12)since 2012 (MPEG-DASH standard ISO/IEC 23009-1 published)
CATEGORYVideo Files
MIME TYPEvideo/iso.segment
TYPEBinary ISOBMFF (ISO Base Media File Format) media segment
STANDARDOpen · royalty-free
This extension is also used by…
  • 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

Windows3 apps
VLC media player Open-source File > Open File - VLC can play individual .m4s segments if they include initialization data; for full stream open the .mpd manifest instead.
FFmpeg Open-source ffmpeg -i init.mp4 -i seg1.m4s -i seg2.m4s ... -c copy output.mp4 - concatenate init segment + all media segments to produce a playable MP4.
yt-dlp Open-source yt-dlp [URL] - downloads and automatically merges DASH segments into a single MP4; the usual way to 'convert' from .m4s to a playable file.
macOS2 apps
VLC media player Open-source File > Open File for a single segment, or open the .mpd manifest to play the full adaptive stream.
FFmpeg Open-source Concatenate init + media segments to assemble a playable MP4 file.
Linux2 apps
VLC media player Open-source Open the .mpd manifest or individual segments.
FFmpeg Open-source Concatenate init + media segments: ffmpeg -i concat.m4s -c copy output.mp4

Technical details

deep spec
File typeBinary ISOBMFF media segment (MPEG-DASH streaming)
MIME typevideo/iso.segment (primary); video/mp4 or audio/mp4 also used
Byte orderbig-endian (ISOBMFF standard)
ContainerISOBMFF (ISO Base Media File Format, ISO 14496-12) - same family as MP4 and M4V
Segment structuremoof (Movie Fragment Box) + mdat (Media Data Box) pairs; may be preceded by styp box
Initialization segmentSeparate ftyp + moov box file must be fetched before media segments can be decoded
Typical segment duration2-10 seconds of media per segment file
Typical file size500 KB - 5 MB per segment
Video codecsH.264/AVC, H.265/HEVC (codec choice is independent of the M4S container)
Audio codecTypically AAC; common sample rates 44,100 Hz and 48,000 Hz
DRM supportCommon Encryption (CENC, ISO 23001-7); compatible with Widevine, PlayReady, and FairPlay
Color depth8-bit (SDR) or 10-bit (HDR10/HLG) depending on encoded video stream
Browser deliveryHandled by Media Source Extensions (MSE) API via players such as Shaka Player or dash.js
Standalone playabilityNot directly playable; requires MPD manifest and ordered segment sequence; concatenating all segments yields a valid MP4
Released2012 (MPEG-DASH standard ISO/IEC 23009-1 published)
Latest versionMPEG-DASH 5th Edition (ISO/IEC 23009-1:2022)
Open standardYes · royalty-free
Specificationwww.iso.org

M4S conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with M4S files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about M4S files.

Frequently asked questions

Why do I have .m4s files on my computer?
Most likely they are cached fragments from a streaming video you watched (YouTube, Netflix, etc.). Browsers store DASH stream segments in temporary folders. They are safe to delete.
How do I play a .m4s file?
A single .m4s segment is not usually independently playable. To view the complete video, open the .mpd manifest in VLC, or use yt-dlp to download and reassemble all segments into one MP4.
How do I convert .m4s to MP4?
Use ffmpeg to concatenate the initialization segment + all numbered media segments in order. If downloading from a website, yt-dlp handles this automatically.
Is the .m4s file the whole video?
No - it is one small fragment (typically 2-10 seconds). A full stream consists of dozens to hundreds of .m4s segments plus an initialization segment and an MPD manifest.
Can VLC open .m4s files?
VLC can open individual segments, but for correct playback you should open the .mpd playlist/manifest which tells the player how to fetch and assemble all segments.

References

1ISO/IEC 23009-1 MPEG-DASH standardwww.iso.org
2DASH Industry Forum - dash.js reference playerreference.dashif.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.DATProgram Data File (generic)
5.EXEWindows Executable (Portable Executable)
6.BINCD/DVD Disc Image (BIN/CUE)
7.NOMEDIAAndroid No-Media Marker File
8.RPMSGRestricted Permission Message
9.MDMarkdown Document
10.TMPTemporary File

Related extensions

.DAVDVR365 / Dahua DVR Video File (DHAV stream)
.MKVMatroska Video
.MP4MPEG-4 Part 14 Video File
.H264Raw H.264 / AVC Video Elementary Stream
.VOBDVD Video Object File
.264Raw H.264 / AVC Video Elementary Stream (DVR/CCTV export)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z