r/C_Programming 7d ago

How to create a movie platform ?

I have been so fascinating of creating my own movie streaming platform. However, it doesn't mean that I will be using alone,but sharing with friends and mates. So, my question is what features will it be involved? Btw I am kinda beginner. If not enough with beginner level, please let me know the roadmap of building it

Thanks in advance..

0 Upvotes

5 comments sorted by

20

u/EpochVanquisher 7d ago

I would 100% avoid C for making a movie streaming platform, as much as feasible.

The basic starting point is probably HLS. Start by assuming that you want to use HLS, and build everything else around that (web servers, storage, transcoding pipeline).

https://en.wikipedia.org/wiki/HTTP_Live_Streaming

You don’t have to use HLS, but I would still start there as a first iteration of your design. Get domain expertise, then revisit if necessary.

5

u/greg_kennedy 7d ago

Yes, this, there are already a billion parts of this and you just glue them together to make your platform. Linux + web server + ffmpeg + JS movie player (optional) + upload (Django whatever idk), some node or html or js to tie it all up, and then you get to play sysadmin instead and figure out why MySQL is eating 80% of your RAM for 5 users etc

13

u/tastygames_official 7d ago

tell us how you think you should do it and we can tell you if you're on the right track and point you in the right direction. There are tons of open-source video streaming servers out there (I use jellyfin, for example) so if the goal is streaming videos for friends and family, just look for something that already exists.

If the goal is to MAKE it yourself, then why ask us to give you a roadmap when all the fun comes from designing it yourself?

5

u/Ultimate_Sigma_Boy67 7d ago

It’s quite a lot of work if you’re gonna do it from scratch. But assuming yeah, then you gotta learn networking, concurrency, just in general stuff that allow you to actually stream the data over the internet. Also later on security and such stuff.

1

u/Key_River7180 7d ago

Use HLS and FastCGI.