0.0.4 • Published 1 year ago

fetch-scte-segments v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

fetch-scte-segments

CLI for parsing HLS media playlist and fetching SCTE35 CUE-OUT/IN segments

Install

NPM

Usage

Usage:
	fetch-scte-segments manifest-url [options]
Options:
	--cue-in-only
	If set, only CUE-IN segments are fetched. The defalut behavior is fetching both CUE-OUT/IN segments.

	--outdir=[relative path to the directory]
	If specified, the fetched segment files are stored in the directory. The defalut outputdir path is "./log_YYYY-MM-DDTHH:MM:SS.SSSZ".

	--outfile=[filename]
	If specified, the fetched segment files are concatenated into a single file using FFmpeg. If not specified, the concatenation is skipped.
Example:
	$ fetch-scte-segments "https://example.com/live.m3u8?last-hour=6" --cue-in-only --outdir=SCTE_2023-01-01 --outfile=concatenated.ts
        $ open SCTE_2023-01-01/concatenated.ts
  • Please make sure that FFmpeg is installed in case the --outfile option is specified.
0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago