A
A
Aidsoid2012-02-11 15:51:00
Video
Aidsoid, 2012-02-11 15:51:00

The easiest way to broadcast video

I have a large video file, I want to make like youtube a video viewing service. To reduce traffic, you need to convert the video on the fly, and as it is converted, you need to send the stream to the flash / html5 player . Tell me the simplest way to broadcast the video in such a way that it is available at the stage of converting. Maybe there are some C++ libraries that you can use in your project? As I understand it, you need, like, an rtmp server, but I have no experience with this. Help me to understand. The solution must be cross-platform.

Convert video with 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 are people who want to join this OpenSource project, you are welcome. The meaning of the project is to create an application on Qt for remote viewing of video from a home computer through a browser. Those. we launch the application at home, leave the computer turned on, go on business / to work / go for a walk and we can watch videos (in youtube style) from our home computer anywhere where there is an Internet and a browser.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
switlle, 2012-02-11
@switlle

I advise you to look towards crtmpserver (rtmpd). Very cool stuff. Unlike any red5, FMS, Wowza eats little memory. On our 2 large projects, it consumes so much memory and CPU that it does not even go to the first page in htop. We tweaked it to fit our needs. Everything is written in C++ clearly and beautifully. Shit code 0%.

E
Evgeny Bezymyannikov, 2012-02-14
@psman

Like airplayit.com ??

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question