package in the HTTP request, can pass through the firewall;
3) Rtmps similar to rtmpt, but using HTTPS connection;
The RTMP protocol (Real time Messaging Protocol) is used by Flash for object, video, and audio transmission. This protocol is based on the TCP protocol or the polling HTTP protocol.The RTMP protocol is like a container for data packets, which can be either in AMF format or as video/au
I. rtmp Headers
For details about rtmp protocol packets, refer to red5.
The rtmp Protocol packet consists of a packet header and a packet body. The packet header can be of any of the four lengths: 12, 8, 4, 1 byte (s ). the complete rtmp header should be 12 bytes, containing the timestamp, head_type, amfsize, amftype,
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: V
August 18, 2016 12:42:35 refer to official document Https://github.com/arut/nginx-rtmp-module/wiki/Directives
Please note that this is a coarse translation, only for reference, not to be updated after the fine school edition
Directory core RTMP Server Listen application timeout ping ping_timeout max_streams ack_window chunk_size max_queue max_message buf Len Out_queue out_cork access permission allow deny
1, the project needs to use FFmpeg push rtmp stream to Crtmpserver, and then live./usr/bin/ffmpeg-re-loop 1-i tmp/234.jpg-r 10-f flv rtmp://127.0.0.1:8085/live/phone-2342, download Crtmpserver source code, official website (http://www.rtmpd.com/) often not go, to GitHub downloadHttps://github.com/j0sh/crtmpserver3, need to install CMake and then compile.Yum Install CMakeCD Crtmpserver/builders/cmakeCMake.Ma
rtmp Protocol
The RTMP protocol packet consists of a header and a package, and the header can be any of 4 lengths: 8, 4, 1 byte (s). The full rtmp header should be 12bytes, containing timestamps, amfsize,amftype,streamid information, The 8-byte header only records timestamps, Amfsize,amftype, and other bytes of header record information in turn. The maximum leng
Ffplay and FFmpeg call the same library.I just tried it, but I can play it.Ffplay "Rtmp://tsl.s1979.cutv.com:1935/cutvchannellive/axefrth/live live=1"FFmpeg Integration librtmp Implement RTMP related functions, sometimes librtmp default parameters will not fit, may need to attach some parameters. You can try this live stream like this:Ffmpeg-i "rtmp://. Live=1 "-
=====================================================
The simplest example series based on Librtmp is a list of articles:
Simplest LIBRTMP-based example: Receive (rtmp saved as FLV)
Simplest LIBRTMP-based example: Publish (FLV is released via RTMP)
Simplest LIBRTMP-based example: release of H. (H. rtmp Post)
=====================================================
T
I. Configuring HLS in the Rtmp module of the Nginx configuration fileHls_key_path/tmp/hlskeys;Prompt for error message:the same path name "/data/hlskeys" used in/usr/local/nginx/conf/nginx.conf:178 and in/usr/local/nginx/conf/ nginx.conf:178Workaround:View official RTMP Source code:nginx-rtmp-module / HLS /ngx_rtmp_hls_module.c Ngx_conf_merge_str_value (conf->
Pre-readiness to understand RTMP definition readiness Rtmpdump in LIBRTMP using the Libssllibcrypto push flow work overall framework diagram in OpenSSL use the LIBTRMP provided API to package streaming into rtmp format Advanced rtmp Client and RTMP server interaction process Rtmpdump Source Analysis handshake handsshak
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
Recent visits to foreign sites found that the translation is not accurate please understand.1. Send files to live as LiveFfmpeg-re-i localfile.mp4-c copy-f flv rtmp://server/live/streamname2. Save the live media to a local fileFfmpeg-i rtmp://server/live/streamname-c Copy dump.flv3, one of the live stream, video instead of H264 compression, audio unchanged, sent to another live streaming serviceFfmpeg-i
RTMP Request General format is rtmp://domain name/app/file such as Rtmp://fantefei.blog.51cto.com/fantefei/3.mp4 so it can play, but rtmp:// Fantefei.blog.51cto.com/fantefei/mp4:v/abc/3.mp4 or RTMP://FANTEFEI.BLOG.51CTO.COM/FANTEFEI/MP4:/V/ABC/3. What format is MP4?In genera
The simplest example based on librtmp: Release H.264 (H.264 via RTMP), librtmprtmpThis article records a program that publishes the H.264 code stream based on libRTMP. This program can publish H.264 data to the RTMP Streaming Media Server. The current example is not very stable, and the next step is to be modified.
This program uses the callback function as the input. Through the custom callback function, y
If we want to encapsulate Speex encoding into rtmp or FLV, we may encounter problems with how to populate Audiotagheader, Speex encoding supports 8k,16k,32k sample rate, but only 16k in rtmp or FLV protocol, At this point the sampling rate needs to be treated as 11.025k, that is, the packet of this byte is 0xb6
For the AAC encoding in RTMP or FLV packets, AAC sa
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-rtmp-module--with-http_ssl_modulema
Nginx rtmp ffmpeg combo mimic HLS LiveA few days ago, Mister said to engage in a LAN live broadcast, think of the rtmp module mentioned before, holding a try to open the mentality of theSystem environment:[Email protected] html]# uname-a Linux localhost.localdomain 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:35 EDT i686 ATHL On i386 Gnu/linux[[email protected] html]# getconf Long_bit32Nginx Environment:1, Nginx:h
This load test tool is a tool for sharing online games and can be used in http://blog.csdn.net/win_lin/article/details/11835011 or https://github.com/winlinvip/ St-load found a very detailed introduction, including how to install, how to use. Server load Test Tool (St-load):
Analog huge concurrency: 2G of memory can open 300k connections. The States-threads-based process.
Supports HLS parsing and testing, downloading TS slices after waiting for a slice length, impersonating the clie
-1.11.3Move out of the latest stable version codeHG Co release-1.11.3# Modify the error level to 3 levels, D:\GIT\NGINX\AUTO\CC\MSVC 83 lines, change-W4 to-W3# Otherwise, at compile time (nmake-f build/makefile), the following error will occur:# build/lib/nginx-rtmp-module/ngx_rtmp_core_module.c (611): Error C2220: Warning is treated as error-no "object" file generated# build/lib/nginx-rtmp-module/ngx_rtmp_
rtmp Protocol
Real Time messaging Protocol (Real-time Messaging Protocol protocol) is a private protocol developed by Adobe for Audio, video, and data transmission between flash players and servers. The RTMP protocol is an application layer protocol in the TCP/IP five-tier architecture.
The basic data unit in the RTMP protocol is called a message, and when the
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.