https://github.com/venatum/videohls
Convert your video to HLS with Node & ffmpeg
https://github.com/venatum/videohls
ffmpeg hls javascript m3u8 mpegts video
Last synced: 9 months ago
JSON representation
Convert your video to HLS with Node & ffmpeg
- Host: GitHub
- URL: https://github.com/venatum/videohls
- Owner: Venatum
- License: mit
- Created: 2021-05-17T12:27:00.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-25T08:32:20.000Z (over 4 years ago)
- Last Synced: 2025-02-10T12:16:14.525Z (11 months ago)
- Topics: ffmpeg, hls, javascript, m3u8, mpegts, video
- Language: JavaScript
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# VideoHLS
## Requirements
- [ffmpeg](https://ffmpeg.org/) with ffprobe
## Installation
Use the package manager [npm](https://www.npmjs.com/get-npm) to dependencies.
```bash
npm install
```
## Usage
```bash
$> 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](https://github.com/videojs/http-streaming) from http-streaming in demo folder with:
```bash
npx http-server --cors="*" -c-1 .
```
## License
>You can check out the full license [here](LICENSE)
This project is licensed under the terms of the **MIT** license.