Skip to content

huuhabn/node-m3u8-to-mp4

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

m3u8-to-mp4

convert m3u8 to mp4

install

npm install node-m3u8-to-mp4 -S

usage

const converter = require("node-m3u8-to-mp4");

converter("http://m3u8-url","to/your/path.mp4").then(() => {
  console.log("finished");
});

or if you want to convert ts file to other media type, just modify the destination path extension:

const converter = require("node-m3u8-to-mp4");

converter("http://m3u8-url","to/your/path.extension").then(() => {
  console.log("finished");
});

see mechanism: https://www.zhangyangjun.com/post/m3u8-to-mp4-development.html

About

convert m3u8 to mp4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%