JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 87
  • Score
    100M100P100Q84442F
  • License Apache-2.0

Download HLS streams.

Package Exports

  • node-hls-downloader

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (node-hls-downloader) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

HLS downloader

NPM version Build Status Code Coverage Project license

About

Downloads a live HLS stream.

Usage

hls-downloader [-V] [-h] [-q QUALITY] -o FILE stream_url

Arguments

  • stream_url: the URL to the stream (either the master file or a playlist)
  • --ffmpeg-merge: merge TS segments using FFMPEG instead of basic concatenation (default: false)
  • --segments-dir DIR: where the TS segments will be stored
  • --merged-segments-file FILE: location of the merged TS segments file
  • -c THREADS, --concurrency THREADS: how many threads to use for downloading segments (default: 1)
  • -q QUALITY, --quality QUALITY: stream quality when possible (worst, best, or max bandwidth), only used when using a master file
  • -o FILE, --output-file FILE: target file to download the stream to

Example

hls-downloader -q best -c 5 -o video.mp4 "https://......./stream.m3u8"

Authors

License

The program is licensed under the Apache License 2.0.