Skip to content

Venatum/VideoHLS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VideoHLS

Requirements

Installation

Use the package manager npm to dependencies.

npm install

Usage

$> npm run start -- --help
# OR
$> node app.js --help
Convert video to HLS

Options:
      --version  Show version number                                   [boolean]
  -i, --input    Path to your video                          [string] [required]
  -o, --output   Output directory path                       [string] [required]
      --ffmpeg   Path to ffmpeg                                         [string]
      --ffprobe  Path to ffmpeg                                         [string]
  -v, --verbose  Run with verbose logging                              [boolean]
  -h, --help     Show help                                             [boolean]

# Example
$> npm run start -- -i bbb.mkv -o media/bbb -v

Demo

You can use VideoJS player from http-streaming in demo folder with:

npx http-server --cors="*" -c-1 .

License

You can check out the full license here

This project is licensed under the terms of the MIT license.

About

Convert your video to HLS with Node & ffmpeg

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published