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.