Socket
Book a DemoInstallSign in
Socket

m3u8_to_mpegts

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

m3u8_to_mpegts

A small library that allows the user to download mpeg-ts chunk files after he provides it with a m3u8 playlist url file, and an output directory.

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

LIVE-HLS-FETCHER (JS ONLY)

A simple CLI tool to fetch an entire hls manifest and it's segments and save it all locally.

Installation

npm install m3u8_to_mpegts

Usage

Then on your main file you run this

Example

var tsFetcher = require('m3u8_to_mpegts');

tsFetcher({
	    uri: "http://api.new.livestream.com/accounts/15210385/events/4353996/videos/113444715.m3u8",
	    cwd: "destinationDirectory",
	    preferLowQuality: true,
    }, 
   function(){
	   console.log("Download of chunk files complete");
   }
);

Special thanks to:

Tenacex for making it live

and

imbcmdth for creating hls-fetcher.

Keywords

m3u8

FAQs

Package last updated on 11 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts