algora-io / tv

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

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

Closed zcesur closed 1 week ago

zcesur commented 1 week 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