algora-io / tv

Open source Twitch for developers
https://algora.tv
Other
1.07k stars 67 forks source link

perf(clipper): download segments instead of full video #114

Closed zcesur closed 3 weeks ago

zcesur commented 3 weeks ago

Currently ffmpeg downloads the entire video stream before processing the clips, which can be very slow

This change downloads only the needed segments for each clip using trimmed HLS manifests and then concatenates them using the concat demuxer