Nginx-rtmp-mudule rtmp is an excellent car-eye-http-flv-module is a streaming media server modified on Nginx-rtmp-mudule rtmp basis, in addition to support Flash player, Players that are now common are also supported. A perfect way to achieve the HTTP mode of FLV Live Functi
RTMP structure firstAfter you start, you will initiate a handshake connection message to RTMP server.Once the connection is successful, you can start looping the message, where you need to specify the timestamp and data type (Audio, Video, Metadata). One thing to note here is that before calling send, the data in BUF must be an already encapsulated H264 or AAC data stream.Shut downand finally the release.H
stream.Shut downand finally the release.H264 and AAC data streamsAs mentioned in this paper, rtmp push audio and video streaming package form similar to the FLV format, it can be seen, to the FMS push H264 and AAC live stream, need to first send "AVC sequence header" and "AAC sequence Header", these two data contain important coding information, without them, th
I. PreambleCore: Server (Nginx-rtmp-module) + push-to-stream (OBS) + Accept-end (Jwplayer)Second, the service side 1. Download Nginx-rtmp-module ModuleAddress: Https://github.com/arut/nginx-rtmp-module2. Compile and install NginxCD./nginx-1.10.0/./configure--add-module=/path/to/nginx-
Your Nginx already has the RTMP live function, if you also want to count a live channel currently viewing the user volume, you can join the With-http_xslt_module module. The steps are as follows:1. View the original parameters/usr/local/nginx/sbin/nginx-vThe output can be obtained from the original compile-time parameters, such as the author obtained:--user=nginx
. Configuration of rtmp
Now we're going to modify the nginx.conf configuration file and configure the RTMP
Copy nginx configuration file location
/usr/local/etc/nginx/nginx.conf
Turn on the Finder Shift + command + G to go and open the nginx.conf with the Notepad tool
HTTP {
...
}
After the HTTP node, add the rtmp configuration:
time messaging Protocol) protocol, and the target address of the push stream is similar to "Rtmp://0.0.0.1/path", in the context of the test, No more suitable for stress testing tools. Finally decided to use Python to develop scripts that can execute concurrent push streams. Initially, a Python third-party module, Rtmpy, was found on the web to support the RTMP
IOS RTMP -based video push streamFirst, the basic introductioniOS live a birth, immediately fiery not, a variety of live platforms springing up, because of this, also led to the rapid development of live broadcasting technology, in the IT industry proficient in live technolo
-http_ssl_module make install Problem: is already installed Nginx, how to reconfigure the third-party module, find a write a very comprehensive blog!http://blog.csdn.net/ystyaoshengting/article/details/48436409 How to install nginx Third party module--add-module(./configure --prefix=/Your installation directory --add-module=/third-party module directory)Installation may cause error without installing OpenSSL, you need to execute the command:Yum-y Install OpenSSL Openssl-devel Third, m
Rtmp (real time messaging protocol) is a common streaming media protocol used to transmit audio and video data. Combined with flash, rtmp is widely used in live broadcast, on-demand broadcast, chat, and other applications, as well as PCs, mobile devices, and embedded platforms, it is a protocol that is often used for streaming media development. I used to write a
As mentioned in the previous article, the RTSP (Real Time Streaming Protocol) method is used to implement live video. However, one drawback of the RTSP method is that if the client needs to be accessed through a webpage, you need to embed an ActiveX control in the page, and ActiveX usually requires a signature for normal use. Otherwise, you need to change the browser settings when using ActiveX, and ActiveX only supports IE kernel browsers, chrome and
://localhost:1935/rtmplive/room
EffectPush stream fast integrated live push streamPrerequisites:
Go to GitHub to download the latest Meow project.
Configure the NGINX+RTMP server according to the tutorial above.
Originally prepared to achieve their own live streaming, but today in the t
clicking ConnectEverything is ready, start recording.FMLE's encodeing log records recording information.Flash Media Live Encoder video LiveYou can use Flash Player that you have previously made to play. You can also open http://www.osmf.org/configurator/fmp/You can set the width of the player and other data, here video Source:rtmp://localhost/live/livestreamIf it is multi-bit recording, livestream behind t
Use librtmp for H264 and AAC live(ext: http://www.codeman.net/2014/01/439.html)1. Frame Division 1.1 H. FramesFor H. 00 00 00 01 or 00 00 01 for each frame.For example, the following H264 file fragment this packet three frame dataE0 9F 96 10 00 (C0)In the F1 2A 00 00 00 013C (CE) 5D DC E9 BDE6 D9 B7 2C D8 D9 EE EF ...The first frame is the xx-C0-DA-E0-9F, which was F1 2A.The second frame is xx 3C 80The third frame is the FF FF 5D DC E9 BD E6 D9 B7 2C
()
Rtmp_enablewrite ()
Rtmp_connect ()
rtmp_write () rtmp_pause () Rtmp_seek ()
rtmp_read
() rtmp_close () Rtmp_free ()
rtmp Push Stream
At the end of this article, the Android-side data has been transferred to JNI for conversion, then H.264 encoded and read Sps,pps frame information, now we need to encapsulate the data into RTMP packet, and then push!
You have uploaded the file to csdn at http://download.csdn.net/detail/avsuper/7421647...
This program can record the camera video and microphone audio as FLV files.
Video Compression uses H.264 encoding, and audio compression uses AAC encoding. rtmp live video can be synchronized (the server end must be FMS/wowza/red5 ). Information such as bit rate, resolution, frame rate, and key frame interval can be s
configuration, the traditional monitoring industry inside the HD Network Camera IP Camera, NVR and other devices with RTSP protocol output access to the EASYNVR,EASYNVR can be these video source audio and video data to pull, Convert to Rtmp/hls, carry on the whole platform terminal H5 live Broadcast (WEB, Android, IOS), and EASYNVR can send live data of the vide
In the RTMP Audio Video preview transmission, the video to the Crtmpserver server, and then play with the Flashbuilder, playback failure, and then use the FMS server for transmission, on the flashbuilder can play normally, So suspect that the problem is on the Crtmpserver server side, open the log of the Crtmpserver server, found this line of warning: Default implementation of Processinvokegeneric:request: _ CHECKBW, immediately found in the source of
Configuration referenceHttps://github.com/simple-rtmp-server/srs/wiki/v2_CN_LowLatencyLatency Impact factorsEncoders: Different encoders (free or open source), the delay is also different.Streaming Media server: SRS2Streaming protocol: For example: RTMP is real-time high, http_flv is also high-real-time, HLS is not, the official said 60s can tolerate ...Player: VLC is slower than Ffplayer and player.Network
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.