Playback of time sliced video as single video in browser

I have setup of multiple cctvs and expanding. We have a central location where all the video backups are stored in time sliced based on period selected like 5 mins, 15 mins, etc.

We are creating a website on which each user can playback stored video. How can this be done? Do I need media server for this?