"I have an M3U8 link from a stream, but Windows Media Player won't save it as MP4. Is there a way to convert it without losing quality or screen recording?"
Unlike standard MP4s, an M3U8 file is actually a plain-text playlist (HLS) that points to thousands of tiny .ts video segments. Simply renaming the extension won't work. To successfully convert M3U8 to MP4, you need a tool that can fetch these segments and merge them into a single, playable file.
Whether you have a local .m3u8 file from a browser download (like UC Browser) or a live streaming URL, we've tested the top 5 methods to help you save it on Windows, Mac, online, and Android.
Method 1. Convert M3U8 to MP4 with VLC media Player
VLC Media Player is a versatile, open-source media player known for its ability to handle almost any file format without extra codecs. Beyond playback, it features a built-in transcoding engine that can stream and save M3U8 network links or local index files directly into a standard MP4 container.
Although there are drawbacks, VLC can serve as a solid, free M3U8 to MP4 option for users who already have VLC installed and need to convert a single M3U8 link without downloading additional software. Here are the steps:
Step 1. Download and install VLC media player.
You will first have to install VLC media player in your device. Then launch the program.
Step 2. Open the Network Stream option.
Navigate to the Media tab and click on the "Open Network Stream" option. This will launch the Open Media window.
Step 3. Add the M3U8 file to convert.
Paste the .m3u8 link to VLC. Switch "Play" to "Convert" in the lower button.
Step 4. Set the output profile to MP4.
Set the Profile to MP4 with H.264 codec. And browse a destination file to put the converted video along with specifying the desired video profile as well as file name.
Step 5. Start the conversion and check the output video.
Ultimately, you will have to click on the "Start" button to activate the conversion.
Note: VLC doesn't work 100% of the time. The fundamental difference of VLC leads to several real-world limitations reported by users:
- Real-time Conversion: VLC often processes the stream at playback speed. For a 2-hour video, it may take nearly 2 hours to "convert" as it must fetch and mux segments sequentially.
- The "0kb" File Error: A frequent frustration on Reddit. This occurs when the M3U8 playlist is encrypted (AES-128) or requires specific "User-Agent" headers that VLC cannot bypass by default.
- Audio Desync (Lip-sync issues): Because VLC is sensitive to network jitters, a brief drop in connection can cause it to lose track of the timestamp, leading to audio that plays seconds ahead of the video.
- Manual Batching: There is no native way to drag-and-drop 10 M3U8 links and convert them; each must be started manually.
Please note that M3U8 files are playlists, so network issues or incomplete segment downloads can cause VLC to fail or produce corrupted output. To convert M3U8 to MP4 without error in batch, try a specialized converter like VideoProc Converter AI.
Method 2. The All-in-One Solution for M3U8 to MP4 Conversion: VideoProc Converter AI
If you are looking for a more stable and efficient alternative to VLC, VideoProc Converter AI is the top-tier choice. Unlike simple players, it is a professional-grade media processor designed to handle both online M3U8 links and local .m3u8 folders (full of .ts clips) with ease.
While VLC "records" streams in real-time, VideoProc Converter AI utilizes an advanced download engine and GPU acceleration to fetch and merge video segments at lightning speed - no more waiting for hours to save a long broadcast.
Why Choose VideoProc Converter AI as M3U8 to MP4 Converter
- Download M3U8 live videos and broadcasting videos from 1000+ websites.
- 1:1 conversion ensures the final MP4 retains the original resolution and bitrate.
- Download multiple M3U8 streams or convert multiple folders simultaneously.
- Automatically handles encryption, network jitters, and audio-video syncing.
- Fully improve video quality by AI upscaling, frame interpolation, deinterlacing, and more.
Excellent ![]()
[Option A] Download M3U8 to MP4 with VideoProc Converter AI
Whether an M3U8 streamed video or an M3U8 broadcasting video stored in a .m3u8 link, VideoProc Converter AI can always read and save video sources with a click. There is no need to watch it in its entirety like with VLC. VideoProc Converter AI will list all the available resolutions to ensure high quality. You don't have to do conversions because VideoProc Converter AI can convert M3U8 to MP4 automatically. Batch download M3U8 files are also supported.
Free download and install VideoProc Converter AI and follow the steps below to download M3U8 to MP4 videos easily.
Step 1. Open the M3U8 downloader in VideoProc Converter AI.
Launch VideoProc Converter AI on your Windows or Mac and navigate to the "Downloader" on the homepage.
Step 2. Get the URL of M3U8 video.
Copy the address of the m3u8 link. It should look like this: "http://www.example.com/.../playlist.m3u8"
If you are working with a video or live from the internet, open it in your browser. Inspect the webpage with F12 or a right-click on the empty area. Search for "m3u" in the Network tab. Click to select it, then "Copy > Copy URL."
Step 3. Paste the link to the M3U8 downloader in VideoProc Converter AI.
Click "Add Video" then "Paste URL & Analyze" at the top of the interface. Select the quality and format you want when the M3U8 downloader lists the available options. Then, add it to the download list by clicking "Download Selected Videos." Repeat this step to add multiple M3U8 files in bulk.
Step 4. Start downloading M3U8 to MP4.
Choose an output folder under the preview window. Hit the "Download now" button to start the process.
[Option B] How to Convert M3U8 Links/URL to MP4
Its powerful built-in video file converter can decode and re-encode all the .ts clips in an M3U8 folder and merge them into an MP4 video. More importantly, it doesn't require much knowledge of video format, codecs, or transcoding stuff. Let's download it and take a look at how to convert M3U8 to MP4 with VideoProc Converter AI.
Step 1. Open VideoProc Converter AI and import the M3U8 file folder to it.
Launch this program, click "Video Converter" and "+Video Folder" to add your M3U8 folder which consists of several .ts files.
Step 2. Choose MP4 as the target format.
Now, click "Video" at the bottom and select "MP4". Alternatively, you can open "Target Format" to find more MP4 profiles.
Step 3. Export the MP4 video from VideoProc Converter AI.
Choose an output folder for your converted video. Tick the box before "Merge" to merge these TS clips in your M3U8 folder into one MP4 video. Ultimately, hit the "RUN" button to export an MP4 file.
Method 3. Convert M3U8 to MP4 with FFmpeg
FFmpeg is the industry-standard multimedia framework used by developers and pro-editors worldwide. It is a command-line tool capable of remuxing HLS (M3U8) streams into MP4 containers without re-encoding, ensuring zero quality loss and extreme speed.
However, it has no straightforward interface like other common media converter. So be prepared like a tech-savvy to use command lines to convert M3U8 files.
Step 1. Download and install FFmpeg on your PC.
Go to www.ffmpeg.org to download the latest static build of program package in terms of the operating system.Unzip the folder and move it to your C: drive (e.g., C:\ffmpeg).Most importantly, add the bin folder to your System Environment Variables (Path) so you can run FFmpeg from any command prompt window.
Step 2. Get the M3U8 URL.
Open your browser, go to the video page, press F12 (Inspect) > Network tab. Type "m3u8" in the filter box. Refresh the page and copy the Request URL of the master playlist.
Step 3. Run the Command.
Open Command Prompt (cmd) or PowerShell and use the following universal command:
ffmpeg -i "YOUR_M3U8_URL_HERE" -c copy -bsf:a aac_adtstoasc output.mp4
What do these parameters mean?
- -i: Defines the input source (your M3U8 link).
- -c copy: Tells FFmpeg to copy the video/audio streams directly without re-encoding. This is why it’s so fast and keeps 100% quality.
- -bsf:a aac_adtstoasc: A bitstream filter sometimes required when the audio stream uses AAC in ADTS format, ensuring compatibility with the MP4 container.
Pro Tips for FFmpeg Users (Information Gain)
• How to handle "403 Forbidden" errors?
If the server blocks FFmpeg, you may need to pass the User-Agent or Referer from your browser:
ffmpeg -user_agent "Mozilla/5.0" -headers "Referer: https://example.com" -i "URL" -c copy output.mp4
Method 4. Use M3U8 to MP4 Converter Online
Online M3U8 to MP4 converters like m3u8downloaders offer a quick way to convert M3U8 to MP4 online. You don't need to download or install any software because all is done in your browser. Most of them are pretty easy to use. You only need to paste the M3U8 link and wait.
However, please note that this M3U8 to MP4 converter doesn't support batch tasks or specifying video quality.
Step 1. Visit m3u8downloaders in your browser.
Step 2. Copy and paste the M3U8 link into the blank space.
Step 3. Click the "Start Download" button.
Step 4. Set a savepath and save the converted MP4 file to your device.
Method 5. Convert M3U8 to MP4 on Android
On Android, M3U8 to MP4 apps can be downloaded on GooglePlay. Here we take Lj Video Downloader as an example.
Step 1. Paste the link of an online M3U8 video.
Step 2. Select the desired resolution. It auto-converts videos to MP4 format so you don't need to set the output format.
Step 3. Start to download and wait for a while. All videos will be saved in \storage\emulated\0\Download\ on your Android phone.
Note: It is NOT a workable tool to convert local M3U8 files on your phone. In such a case, desktop converters like VideoProc Converter AI are versatile assistances to convert M3U8 to MP4.
What is M3U8 and MP4
M3U8: M3U8 is a UTF-8 encoded M3U file format for multimedia playlists. They are plain text files specifying the paths of media files. In addition to locations, they may also carry information like media type, segment duration, encryption method, etc. However, M3U8 files do not contain actual media tracks.
M3U8 files can be read and edited by most text editors. However, as you can see above, opening it with Windows Notepad only lets you read the file references. That is to say, simply having a local M3U8 file doesn't guarantee you can play or convert it — unless you can access the media files it references, whether they are local files or remote URLs. To convert M3U8 to MP4, you'll need to get the M3U8 link online.
MP4: MP4 (MPEG-4 Part 14) is a popular multimedia container format that stores video, audio, and other data like subtitles. It's widely compatible and suitable for both streaming and downloading.
FAQ about M3U8 Files
How Do I Watch M3U8 Videos on My Computer?
You can use online m3u8 players, Chrome extensions, or desktop programs like 5KPlayer, VLC media player to play M3U8 streams directly. After getting the URL of an m3u8 video, paste it to the player, and then you can watch it on your computer.
How to convert an M3U8 file and its respective content folder to MP4?
In VideoProc Converter AI, you can download M3U8 files to MP4 directly with its main index URL. If you save M3U8 in several short clips, then you can merge them into an entire MP4 in VideoProc Converter AI as well.
How to extract M3U8 file?
Use a text editor such as Notepad (Windows) or TextEdit (Mac) to open the M3U8 file. The M3U8 file is a text-based playlist, and it contains references to multimedia files, typically in the form of URLs. Paste the URL to a specialized M3U8 file parser or video downloader tool, you can download and extract the multimedia content referenced in the M3U8 file.
What's the difference between MP4 and M3U8 files?
MP4 files are digital multimedia container files that store audio and video content, while M3U8 files are playlist files used for organizing and streaming multimedia content, particularly video.
Why does FFmpeg show "403 Forbidden" when downloading an M3U8 stream?
Some websites block direct requests from tools like FFmpeg. When this happens, the server may return a 403 Forbidden error because the request is missing browser headers such as User-Agent or Referer. To fix this, pass the same headers your browser uses when requesting the M3U8 playlist.
Example:
ffmpeg -user_agent "Mozilla/5.0" -headers "Referer: https://example.com" -i "M3U8_URL" -c copy output.mp4
This makes FFmpeg behave more like a normal browser request, which can help bypass basic server restrictions.
Can FFmpeg convert encrypted M3U8 streams to MP4?
Yes, FFmpeg can convert some encrypted M3U8 streams, but only when they use standard AES-128 HLS encryption and the encryption key is publicly accessible in the playlist.
However, FFmpeg cannot bypass DRM protection such as Widevine, FairPlay, or PlayReady. If the stream is protected by DRM, the video cannot be downloaded or converted directly with FFmpeg.
Are there legal issues when converting M3U8 to MP4?
When converting M3U8 to MP4, it's crucial to be aware of potential legal issues, primarily surrounding copyright infringement. Here's a breakdown of the key legal considerations:
- Copyrighted Content: Downloading or converting copyrighted material without the owner's permission is generally illegal. This applies to videos accessed via M3U8 links. You need to ensure you have the right to download and convert the content.
- Fair Use Doctrine: In some countries, the "fair use" doctrine allows for limited use of copyrighted material for purposes like commentary, criticism, news reporting, or education. However, applying this to downloading or converting online videos requires careful consideration, and it's always best to err on the side of caution.
- Terms of Service: Many platforms hosting videos accessed through M3U8 links have terms of service that prohibit unauthorized downloading or conversion. Violating these terms could lead to account suspension or other consequences.
- Encrypted Content: M3U8 files can sometimes reference encrypted content. Bypassing such encryption, which is a form of digital rights management (DRM), can be illegal. DRM is designed to protect copyrighted material and prevent unauthorized access.
- Personal Use: While some regions might allow for limited personal use, it's still essential to ensure the content itself is acquired legally. Even for personal use, converting or extracting copyrighted content without permission is generally prohibited.
In summary, be sure to have the necessary permissions or rights to the content before converting it from M3U8 to MP4. Respecting copyright laws and the terms of service of the video platform is vital to avoid potential legal issues. When in doubt, consult with a legal professional.





