memories/README.md

21 lines
544 B
Markdown
Raw Normal View History

2022-11-11 04:20:45 +00:00
# go-vod
2022-11-11 05:23:20 +00:00
Extremely minimal on-demand video transcoding server in go. Used by the FOSS photos app, [Memories](https://github.com/pulsejet/memories).
2022-11-11 04:20:45 +00:00
## Usage
You need go and ffmpeg/ffprobe installed
```bash
CGO_ENABLED=0 go build -ldflags="-s -w"
2022-11-11 04:22:07 +00:00
./go-vod
2022-11-11 04:20:45 +00:00
```
The server exposes all files as HLS streams, at the URL
```
http://localhost:47788/player-id/path/to/file/index.m3u8
```
2022-11-11 05:30:54 +00:00
## Thanks
2022-11-11 05:31:47 +00:00
Partially inspired from [go-transcode](https://github.com/m1k1o/go-transcode). The projects use different approaches for segmenting the transcodes.