Ffmpeg.exe, when you run the statement, the. exe does not-I: Behind the camera protocol that I need-F FLV: Back to the RTMP server I'm going to go to Nginx-S: Video resolution: (Distribution Rate) is the sharpness of the screen can be adjusted, if the test recommendations on the local 640*480 is good, change the video stream of the analytic CPU will consume a lo
First step: first introduce the relevant technology usedNote: The Jwplayer plug-in used in the project does not support the RTSP protocol, so use the following techniques to turn the art
FFmpeg is an open-source computer program that can be used to record, convert digital audio, video, and turn it into a stream. Here I only use its video format conversion function, the RTSP protocol to the stream i
restrictions. Allow it to also support other protocol video playback (such as the RTMP protocol).
The relevant judgment in the IJKDEMOINPUTURLVIEWCONTROLLER.M can be commented out.
1
if ([Scheme isequaltostring:@ "http"] | | [Scheme isequaltostring:@ "https"]) {
[Ijkvideoviewcontroller presentfromviewcontroller:self withtitle:[nsstring stringwithformat:@ "URL:%@",
/sb_rtmp_publishIf you do not know what parameters you need to use./objs/sb_http_load-help viewReport Analysis[2015-06-01 17:00:06.981] [0] [Trace] Params url=rtmp://10.169.0.66/rtmp/live, Threads=1, start=5.00, delay=1.00, error=3.00, report=30.00, count=0[2015-06-01 17:00:06.981] [0] [Trace] Create thread for task #1 success[2015-06-01 17:00:06.981] [Report] [4
) The HTTP protocol does not have a specific transport stream. (4) HTTP transmission generally requires 2-3 channels, command and data channel separation.Second, the available live stream addressUsually when we do RTMP/RTSP development, we can build our own video server for testing. You can also directly use some of the TV station's live address, save time and ef
or Rtmp://localhost/vod/mp4:c.mp4It is important to note that if it is placed in a level two directory such as the FMS installation folder/applications/vod/media/f4v/b.f4v or the FMS installation folder/applications/vod/media/mp4/c.mp4Then the access address is different from the FLV, should be rtmp://localhost/vod/mp4:f4v/b.f4v or rtmp://localhost/vod/mp4:mp4/c
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
module command is TCP, which does not belong to the HTTP framework, so it is at the same level as HTTP {}.
Tcp {upstream proxy_name {# simple round-route server localhost: 1935; # port requiring proxy # check interval = 3000 rise = 2 fall = 5 timeout = 1000; # check interval = 3000 rise = 2 fall = 5 timeout = 1000 # check interval = 3000 rise = 2 fall = 5 timeout = 1000 # check_http_send "GET/HTTP/1.0 \ r \ n \ r \ n "; # check_http_expect_alive http_2xxhttp_3xx;} server {listen 8888; # proxy p
incomplete, please open the picture separately)
The tool I use is notepad++ (and install binary view plugin)
If you have to do the first step of the work, it is not difficult to see rtmp in the FLV video stream is a next one of the videos tag--is the FLV tag to remove the header information, only the video tag content.
We analyze the FLV standard document one by one
17:1-keyframe 7-AVC
00:AVC Sequence Hea
viewing plug-in)
If you do the first step, it is not difficult to see that the FLV video stream in rtmp is a next-to-next video tag-that is, the header information is removed from the FLV tag, and only the video TAG content is retained.
We will analyze them one by one based on the FLV standard documents.
17:1-keyframe 7-avc
00: AVC sequence header -- AVC packet type
00 00 00: composition time, AV
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
/test.sql-h 127.0.0.1-p 5432-u postgres-c 64-j 32-t Run the Stream replication delay test script on the standby and record the values after the test. After modifying the number of connections and the number of threads in the Pgbench, test several times to get a result similar to the following. [Email protected]:~$./pgl
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.