# nilaoda/n_m3u8dl-re

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/nilaoda-n-m3u8dl-re).**

7,406 stars · 752 forks · C# · mit

## Links

- GitHub: https://github.com/nilaoda/N_m3u8DL-RE
- awesome-repositories: https://awesome-repositories.com/repository/nilaoda-n-m3u8dl-re.md

## Topics

`dash` `ffmpeg` `hls` `ism` `live` `m3u8` `m3u8-downloader` `mpd` `recorder`

## Description

N_m3u8DL-RE is a command line tool designed for capturing and saving on-demand or live video streams from M3U8 manifest files. It functions as an HLS stream recorder and downloader capable of capturing adaptive bitrate streams and recording live broadcasts with real-time merging and specific duration limits.

The tool features an AES encrypted stream decrypter that removes encryption from media segments using provided keys and external decryption engines. It also includes a media muxer that integrates with the FFmpeg engine to combine downloaded audio, video, and subtitle tracks into a single container.

Additional capabilities include media track filtering by resolution or language via regular expressions and partial content downloading to save specific time ranges of a stream. The system also manages network traffic through configurable proxy settings and multi-threaded segment fetching.

## Tags

### Graphics & Multimedia

- [HLS Stream Capturers](https://awesome-repositories.com/f/graphics-multimedia/streaming-distribution/streaming-broadcasting/media-streaming/video-streaming/hls-streaming/hls-stream-capturers.md) — Captures and saves on-demand and live video streams from M3U8 and MPD manifest files. ([source](https://github.com/nilaoda/N_m3u8DL-RE/blob/main/README.md))
- [Media Muxers](https://awesome-repositories.com/f/graphics-multimedia/ffmpeg-wrappers/media-muxers.md) — Integrates with the FFmpeg engine to combine downloaded audio, video, and subtitle tracks into a single container.
- [Adaptive Track Selection](https://awesome-repositories.com/f/graphics-multimedia/streaming-distribution/streaming-broadcasting/media-streaming/video-streaming/hls-streaming/adaptive-stream-integrations/adaptive-track-selection.md) — Selects specific media tracks by resolution or language from adaptive streaming sources.
- [Video Downloaders](https://awesome-repositories.com/f/graphics-multimedia/video-downloaders.md) — Saves on-demand and live video streams from M3U8 manifest files to local storage.
- [Video Muxing](https://awesome-repositories.com/f/graphics-multimedia/media-processing-analysis/media-manipulation/media-processing/codec-encoding-utilities/video-muxing.md) — Integrates with FFmpeg to combine separate audio and video tracks into a single media container.
- [Media Track Management](https://awesome-repositories.com/f/graphics-multimedia/media-track-management.md) — Selects specific audio, video, or subtitle tracks using regular expressions based on language or quality. ([source](https://github.com/nilaoda/N_m3u8DL-RE/blob/main/README.en.md))
- [Partial Range Downloading](https://awesome-repositories.com/f/graphics-multimedia/video-downloaders/partial-range-downloading.md) — Saves a specific time range of a video stream instead of downloading the entire file. ([source](https://github.com/nilaoda/N_m3u8DL-RE/blob/main/README.md))

### Content Management & Publishing

- [Stream Recorders](https://awesome-repositories.com/f/content-management-publishing/media-management/live-streaming-platforms/stream-recorders.md) — Records live broadcasts with real-time merging and duration limits to create VOD files. ([source](https://github.com/nilaoda/N_m3u8DL-RE/blob/main/README.md))

### Development Tools & Productivity

- [Media Manifest Parsing](https://awesome-repositories.com/f/development-tools-productivity/repository-manifest-parsing/media-manifest-parsing.md) — Parses M3U8 and MPD manifest files to select specific media streams via regular expression matching.

### Security & Cryptography

- [Media Decryption](https://awesome-repositories.com/f/security-cryptography/message-decryption/media-decryption.md) — Decrypts encrypted media segments using provided keys and external engines to enable playback.
- [Media Decryption](https://awesome-repositories.com/f/security-cryptography/privacy-data-protection/data-encryption/end-to-end-encryption/media-encryption/media-decryption.md) — Removes encryption from protected media segments using external keys to make video playable.

### Data & Databases

- [Live Stream Buffering](https://awesome-repositories.com/f/data-databases/real-time-data-streaming/live-stream-buffering.md) — Captures live broadcast data into temporary segments and merges them sequentially to create video-on-demand files.

### Networking & Communication

- [Segmented Downloaders](https://awesome-repositories.com/f/networking-communication/segmented-downloaders.md) — Utilizes a worker pool to download multiple media segments concurrently for maximum bandwidth utilization.
