I'm currently making a website that will host videos for users to view. I'm unsure about two things.
- How do I store video on the website ( Storage is very limited on the server atm ) - Should I compress the videos that are uploaded, if so how should I go about doing that? ( Create a zip of the videos?, is there a library for video compression? (ect) )
- How do I then stream the video to users. Should I send the video in buffers, how do I do that - If the video is stored in a compressed format.. how do I uncompress and then stream it to the user requesting.
I'm very unsure of how to build this as I've never built anything that streams files before. So apologies for all the questions. Which ever direction I take, more questions arise.
I would really appreciate any feedback.