Crtmpserver also called RTMPD as the community version of Evostream Media Server (www.evostream.com) with GPLV3 authorization. Its main role is a high-performance rtmp streaming media server, can realize the live and on-demand function multi-terminal support function, in specific cases is a good alternative to FMS. a bunch of protocols that support RTMP (Rtmp,rtmpe, Rtmps, Rtmpt, Rtmpte), it's also a good choice if you don't want to use RED5.
1. Crtmpserver Download
The source or binary version can be obtained from the official website (http://www.rtmpd.com). For example, I downloaded a binary version of the Ubuntu 12.04 version of the package from the official website (http://www.rtmpd.com/index.php/downloads/) for simplicity. Files are: crtmpserver-1.1_beta-x86_64-ubuntu_12.04.tar.gz (http://www.rtmpd.com/assets/binaries/784/crtmpserver-1.1_ beta-x86_64-ubuntu_12.04.tar.gz)
2. Running
Unzip the downloaded compressed package, CD to the extracted directory.
Note: You need to install LUA.
To run the script run_flvplayback.sh Normal, you can see:
3. rtmp Stream Test
We can make the ffmpeg command line push a rtmp stream to Crtmpserver.
For example: ./ffmpeg-re-i source.flv -acodec copy-vcodec copy-f flv rtmp://192.168.1.6/live/test01
We can use a variety of tools to view rtmp stream, I have a player on my Computer FVPlayer.exe (HTTP://PAN.BAIDU.COM/S/1GDEKDQZ), play the effect:
Installation and use of Crtmpserver