M3U8 MP4
File conversion

Convert M3U8 to MP4

QUICK ANSWER
Is it possible to convert M3U8 to MP4?
Yes - M3U8 converts to MP4.

Run ffmpeg -i URL -c copy output.mp4 to fetch all segments and package them into MP4 without re-encoding. yt-dlp is the simpler option for streams on known video platforms and picks the best quality variant automatically.

Also to MP4: AVCHD · USM · MXF

On this page

Tested on macOS, Windows & Linux
Last verified Oct 2026

More free converters

HEIC, PNG, WEBP, MP3 and more - every tool here is free.

Open the toolbox

Why convert M3U8 to MP4?

An .m3u8 (HLS manifest) lists dozens or hundreds of short .ts or .m4s segments on a streaming server - you cannot copy a single video file from it directly. MP4 is a self-contained ISO Base Media File Format container that plays on any device without a network connection. The typical use is saving a lecture, webinar, or broadcast replay for offline playback.

How to convert M3U8 to MP4

ffmpeg FREE

Run ffmpeg -i URL -c copy output.mp4; -c copy skips re-encoding so quality is fully preserved and the process is fast.

yt-dlp FREE

Run yt-dlp --merge-output-format mp4 URL to download and merge the stream; pass the page URL instead of the raw M3U8 URL for sites yt-dlp recognizes.

VLC media player FREE

Open the M3U8 URL via Media > Open Network Stream, click the arrow next to Play and choose Convert, select an MP4 profile, set a destination file, and click Start. VLC records in real time.

About these formats

Quality & what to watch

  • With -c copy in ffmpeg no re-encoding occurs - this is the fastest method and preserves original quality.
  • VLC records in real time: you must wait as long as the stream lasts; use ffmpeg or yt-dlp for speed.
  • A local .m3u8 listing only local file paths is not a video and cannot be merged into an MP4.

Frequently asked questions

Which tool should I use?
ffmpeg for control and speed; yt-dlp for streams on video platforms where it handles authentication and quality selection automatically.
Will the output MP4 be the same quality as the stream?
Yes, when using -c copy - no re-encoding occurs and the video and audio data are preserved as-is.
What if the M3U8 URL has expired tokens?
You need a fresh M3U8 URL from the browser's Network tab; token-signed segment URLs expire and cannot be reused.
What if I only have the M3U8 file, not the URL?
Pass the local file path to ffmpeg: ffmpeg -i path/to/index.m3u8 -c copy output.mp4; the segments must still be accessible on the network.