The simplest way to stream online video

There is a video file of a large size, I want to make a service like youtube watching videos. To reduce traffic you need to convert videos on the fly, and as it conversion need to give thread in the flash/html5 player. Could you tell me the simplest way to broadcast video so that it will be available at the stage of conversion. Maybe there are some libraries in C++ that you can use in your project? I'm, like, rtmp server, but the experience that I have. Can you help? The solution must be cross-platform.

Convert video using ffmpeg:
ffmpeg -y-ss 0-i %inputVideoFileName -async 1-b 200k -s 640x480 -ar 44100 -ac 2 -v 0-f flv %outVideoFileName

Also if there is a wish to join this open Source project is welcome. The meaning of the project — creating Qt applications for remote viewing videos from a home computer via the browser. Ie, run the app at home, leave the PC on, go on business/to work/to walk and to watch videos (youtube style) from your home computer anywhere where there is Internet and a browser.
October 8th 19 at 03:39
2 answers
October 8th 19 at 03:41
I will advise you to look in the direction of crtmpserver (rtmpd). A very cool thing. Unlike any red5, FMS, Wowza eats little memory. We have 2 large projects it consumes so much memory and CPU that it doesn't even go out on the first page in htop. We have finished to fit your needs. All written in C++ is clear and beautiful. Of bad code with 0%.
Cherry blossoms of course not to little memory consumed, and so was the interaction with the database and custom file names. And out of the box it is very good work. Here is the website: - Eugenia.Rath commented on October 8th 19 at 03:44
Prou sorry, always thought (but never used) that it is multiplatform. But windows unfortunately is not there. So... sorry. When looking for the right server I met a lot of recommendations about — RTMP server in Erlang
and — RTMP server in Python

while talking about the past was very good. And most likely it can be run under different OS without coarse file - Eugenia.Rath commented on October 8th 19 at 03:47
Picked open source subsonic, there is used for this purpose just suggested you rtmplite on Python. With Python, too, was not the case, it turns out, will have a Python interpreter to carry. In General, the direction you pointed out to me correct, thanks. I will try, but the question is not yet closed. - Hobart.Eber commented on October 8th 19 at 03:50
About subsonic lied accidentally, as it appeared in the folders got lost. - Hobart.Eber commented on October 8th 19 at 03:53
October 8th 19 at 03:43
Type ??
Yes, it is, congratulations, you killed one of my endeavor =) Although you can get an OpenSource counterpart will be. Noticed feature: to work with airplayit you also need the client download, no client in the browser they have, it looks like this:

And I assume directly from the browser see, at the moment looks like this:

In General, now I do not know whether to continue. - Eugenia.Rath commented on October 8th 19 at 03:46

Find more questions by tags VideoRTMP