Skip to content
项目

wesbos/R2-video-streaming

在 GitHub 查看

关于

Streaming video on Cloudflare R2

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

HLS Video Transcoder

A proof of concept script to transcode video.

There are three parts.

Video Chunker

A typescript script to programatically transcode video into:

  1. chunked into 4 second chunks
  2. available in multiple resolutions each with their own .m3u8 file
  3. a master .m3u8 file

Video Viewer

A sample HTML file using Media Chrome and hls-video-element to stream and adapt resolution of the above transcoded video

Cloudflare R2 Deployment

A script to sync the output video files to Cloudflare R2. Currently this script is just rclone copy ./output/dbngin/ r2demo:streaming-video/dbngin

Cloudflare Worker

TODO. A worker to:

  1. Limit access to video files
  2. Enable CDN cache for the video chunks so it will be fast around the wold

探索相关项目

加载中…