0dedd2acb8 | ||
---|---|---|
.circleci | ||
.github/workflows | ||
.dockerignore | ||
.gitignore | ||
Dockerfile | ||
Dockerfile.nvidia | ||
LICENSE | ||
README.md | ||
build-ffmpeg-nvidia.sh | ||
build-ffmpeg.sh | ||
chunk.go | ||
config.go | ||
go.mod | ||
main.go | ||
manager.go | ||
stream.go | ||
temp.go | ||
util.go |
README.md
go-vod
Extremely minimal on-demand video transcoding server in go. Used by the FOSS photos app, Memories.
Usage
You need go and ffmpeg/ffprobe installed
CGO_ENABLED=0 go build -ldflags="-s -w"
./go-vod
The server exposes all files as HLS streams, at the URL
http://localhost:47788/player-id/path/to/file/index.m3u8
Thanks
Partially inspired from go-transcode. The projects use different approaches for segmenting the transcodes.