Avatar of zzhang2006
zzhang2006
Flag for United States of America asked on

Video server on Linux -- how-to

I have a typical linux server with patch/sql that I use in a school campus. I want to be able to
develop video interactive server/client apps similar to google meet or zoom in nature, however in a much smaller capacity, serving 5 - 6 video meeting clients at most, because it is to be used within a campus.

I wish experts to give me some pointers as to how/what video server to setup on Linux. I know how to program JavaScript, php, C++, and am good with HTML and web interfaces. But I don't know what's the state-of-the-art for video server/client web applications. I would what to know how to start or what I will need to learn to build these type of applications.

Thanks

Ze


Linux

Avatar of undefined
Last Comment
David Favor

8/22/2022 - Mon
David Favor

You'll use straight up ffmpeg for this. No other code - PHP or Javascript or C++ or anything else.

Likely a few wrapper scripts to arrange all your ffmpeg options for correct startup up.

https://fftrac-bg.ffmpeg.org/wiki/StreamingGuide provide a likely starting point for this type of project.
ASKER CERTIFIED SOLUTION
David Favor

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
David Favor

@zzhang2006, Once you get into using ffmpeg, you'll be surprised how powerful this can be.

For example... after answering your question... a couple of other interesting considerations...

You can...

1) Use a local GoPro streaming camera - 720p, 1080p, 4K.

2) Capture the stream with ffmpeg.

3) Transcode/Compress the captured stream into h.264 or h.265 or both.

4) Then stream as HLS or using Apache 206 partial/chunk downloads to any number of stream consumers.

5) All on very cheap hardware.

6) You can also passthrough services like https://Redirect.io if you have more money than expertise.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23