https://github.com/schpet/cvthls
cvthls: Convert Video To HLS
https://github.com/schpet/cvthls
cli deno
Last synced: 2 months ago
JSON representation
cvthls: Convert Video To HLS
- Host: GitHub
- URL: https://github.com/schpet/cvthls
- Owner: schpet
- Created: 2024-11-11T15:56:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-16T16:02:30.000Z (over 1 year ago)
- Last Synced: 2025-02-18T04:11:34.485Z (over 1 year ago)
- Topics: cli, deno
- Language: TypeScript
- Homepage: https://jsr.io/@schpet/cvthls
- Size: 185 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cvthls: convert video to hls
cli to convert video files into HLS chunks and a playlist. upload them to
R2/S3/etc with rclone.
adapted from
[wesbos/R2-video-streaming](https://github.com/wesbos/R2-video-streaming)
> [!NOTE]
> project is very much WIP, mostly just an excuse to mess around with deno and
> jsr
## prerquisites
- ffmpeg
- rclone (if using rclone to upload to a storage system like R2)
## usage
```bash
# print help
deno run -A jsr:@schpet/cvthls
# convert video to hls
deno run -A jsr:@schpet/cvthls ./input/sample.mp4
# convert video to hls
deno run -A jsr:@schpet/cvthls ./input/sample.mp4
# convert video to hls and upload with rclone (https://rclone.org/) with a uuid
deno run -A jsr:@schpet/cvthls ./input/sample.mp4 --rclone-dest "r2files:streaming-video/cvthls" -u
```