Save an HLS (m3u8) Stream to MP4 Edit 0 0 No Preview. If you feel like this example could be improved, you may edit this example here. Download a DRM-free HLS (HTTP Live Streaming) playlist and save it as a single MP4 file - handy for archiving a stream you have permission to keep. -i https://example.com/stream.m3u8 - the m3u8 playlist URL of the stream (a master or media playlist both work). -c copy - copies the video and audio streams without re-encoding, so the save is fast and lossless. by Elad Gariany <elad@gariany.com> Updated on: October 19, 2026 tags: #hls #m3u8 #stream-download ffmpeg -i https://example.com/stream.m3u8 -c copy output.mp4 Copy to clipboard Try it online