Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sxzz/free-hls.js
一个免费的 HLS 上传工具
https://github.com/sxzz/free-hls.js
free-hls hls upload video
Last synced: 2 months ago
JSON representation
一个免费的 HLS 上传工具
- Host: GitHub
- URL: https://github.com/sxzz/free-hls.js
- Owner: sxzz
- License: gpl-3.0
- Created: 2020-02-24T14:45:15.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-03-16T14:31:59.000Z (9 months ago)
- Last Synced: 2024-10-04T13:19:31.692Z (3 months ago)
- Topics: free-hls, hls, upload, video
- Language: JavaScript
- Homepage:
- Size: 170 KB
- Stars: 21
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# free-hls.js
一个用 Node.js 写的 Free-HLS 上传客户端
参考代码和转码参数均~~抄~~来自于 [sxyazi/free-hls](https://github.com/sxyazi/free-hls)。
详细使用方法请参考上述链接。
**本项目仅供学习交流使用,在使用过程中对你或他人造成的任何损失我们概不负责。**
## Requirements
- NodeJS
- Yarn
- FFmpeg## Installation
*Only tested on macOS with FFmpeg v4.2.2*
```bash
git clone https://github.com/sxzz/free-hls.js.git
cd free-hls.js
yarn install
yarn upload [title] [segment_time|LIMITED]
```## Usage
```bash
yarn upload test.mp4 # 默认标题,取自文件名
yarn upload test.mp4 my_title # 自定义标题
yarn upload test.mp4 test 5 # 自定义分段大小
yarn upload test.mp4 test LIMITED # 限制码率(需重编码)
```## Related
- [sxzz/free-hls-live](https://github.com/sxzz/free-hls-live) HLS 直播姬
- [sxyazi/free-hls](https://github.com/sxyazi/free-hls) 一个免费的 HLS 解决方案