the difference between hls,http,rtsp,rtmp protocols:
in HTTP mode:The FLV is downloaded to the local cache by the server, and then the FLV is played back through the local connection of the netconnection, which is to play the local video, not the video of the playing server. So this flv can be found in the local cache. The advantage is that the server downloaded this flv, the server is not consumed, save the server consumption. The disadvantage is th
Use FFmpeg to push rtmp streams under Windows platformsIt's customary to use ffmpeg to simulate push rtmp streaming under Linux, but the home computer is a Windows system that needs to use the bandwidth in the home to test the performance of the streaming media server. So we've studied how to push the stream quickly in Windows systems.First Download Install FFmpegDownload the FFmpeg compression package unde
The ninth part---Project ffmpeg command parsingYou have seen the ffmpeg on the arm Development Board to give the following information:usage:ffmpeg [Options] [[infile Options]-I infile] ... {[outfile options] outfile} ...Refer to the previous command to perform the same task on the PC Linux operating systemFfmpeg-i rtsp://admin:[email protected]-vcodec copy-acodec copy-s 640x480-f flv rtmp://192.168.1.102:1935/hls/te St2Do a detailed explanation here
1 Why use flash ActionScript to implement the RTMP protocol to publish or play media streams, play media streaming, protocol controllable, such as the number of streaming media encryption, mixing and so on.2 core ideas using the flash socket to establish a TCP binary transmission channel, the binary data is mainly RTMP protocol package and audio and video data, play audio and video using NetStream appendbyt
format, and the result was shocking:The above test.264 size is 6.2M, converted to. yuv format after the size of 1.6G, really took a surprise. It's too compressed.2. Test the performance of the streaming media serverThe most critical place to be, success or failure stake.(1) Open Nginx[Email protected]:/data/misc/nginx-rtmp/sbin #./nginx-p/data/misc/nginx-rtmp-c conf/nginx.conf(2) FFmpeg push to Nginx[Email
With the FMS/red5 configuration, use flvplayerback to test the rtmp protocol. To further use netstream for development, we found that netstream. Play only supports HTTP and file protocols (refer to the Flash help ).Check the Internet for YouTube, 6rooms, and 56, and find that the playing protocols they use are also HTTP. As the Streaming Media Server, the FMS/red5 has been specially optimized. But why are these websites not using the
This article from csdn ucser, http://blog.csdn.net/perfectpdl reprinted to indicate the source, thank you!
I have created a freeswitch learning and communication group, 45211986. welcome to join.
Freeswtich can be used as the rtmp and SIP gateway of the Streaming Media Protocol. It can communicate with the SIP video phone through flash in a web browser. This function can be used on the browser side for similar click2call or online video communi
are also modified.
6. Connect the phone with the data cable, turn on the USB mode, install the ADB tool
sudo apt-get install android-tools-adb
7, go to the SDK directory, my is/home/wangrui/java/sdk/platform-tools
Execute command:
ADB shellWill go into the phone and execute the command:
CD SDcardGo to the SD card and locate the Arm-nginx directory
8. The complete command is:
Perform
./nginxPrompt error:
Nginx: [alert] could not open error log file:open () "/home/wangrui/arm-nginx/logs/error.
: This article mainly introduces how to use nginx + nginx-rtmp-module + ffmpeg to build a streaming media server (6). If you are interested in the PHP Tutorial, refer to it. Part 6
This problem has been plagued by the nginx startup problem that has been transplanted to the ARM Development board a few days ago. it does not occur when started on the ARM Development Board.
nginx: [emerg] getgrnam("nogroup") failed (2: No such file or directory)
Is to a
Recently made a RTMP transit service program, through the practice, familiar with rtmp play and push in various formats, summarized here.Program GitHub Address: Https://github.com/runner365/rtmp_relayRTMP Play Receive Message analysisMessage received at first frame:1) 0x46 4c: Refer to the following article:Character FLV Header2) 0x01 05Version typeflagsreserved Typeflagsaudio typeflagsreserved typeflagsvi
RTMP is designed for transport network streaming, requires support from servers such as Fms,awaza, and provides better copyright protection for streaming media content, and it also needs to pay royalties to adobe itself.
First, the two work differently:
RTMP data requires a dedicated server to receive, such as FMS, Awazal, etc., and then play through the local Flash player.
The HTTP protocol can transf
Article Link: http://justcoding.iteye.com/blog/2110275Ckplayer, which is all called super cool FLV player, it is a software for playing video on the Web page, supported by the format of: HTTP protocol on the FLV,F4V,MP4 format, while supporting RTMP video streaming format playback, this player is characterized in that the user can define the player's style, such as Play/pause button, mute button, full screen button is called external image interface,
to real-time requirements are very high, such as 0.5s or less, this is a good choice. The former mimic Spydroid wrote a proposed RTSP server, in fact, is options,describe,setup,play,pause,teardown these steps, the agreement with the most extensive, on-line introduction is more. To really understand the RTSP protocol, the C + + language is good to see live555.RTMP protocol, own recent research, if interested, can look at my other articles.RELATED Link
protocol, server, to HTTP. and gradually adapt to the development and demand of the network, complex and changeable network environment, only to generate the HTTP video protocol.----Invited to update.The application scenarios for different protocols have been explained separately above.Pure protocol, HTTP is very simple, the RTSP family is more complex, rtmp did not know in depth.If you just want to do an application, or use it, then HTTP is enough,
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 selected.
No. 1 classroom network (http://www
Adboe's red5 Streaming Media Server is free and open-source. It can be used with flash, but the use of Java and Android as client calls is a trigger.
Adobe's red5 Source Code contains an rtmpclient class, which is not complex in use, but cannot be called successfully. Observe the log and find that the connection is closed when the stream is created after the connection is successful. What I can think of is that the current version of the red5 server used by the company may be incompatible with t
A similar article above found the time: Problems in rtmp handshake
In FFMPEG, rtmp is implemented. In handshake, C1 is, the time field is filled with 0, and the zero field is filled with client_ver. The generated 1528 is treated as follows: Enter the pseudo-random number first, then, encrypt a key in a certain location. Because we do not pay attention to the pseudo-random number generation algorithm and En
The specific parameters in the code meaning, you can go here:
https://wiki.videolan.org/Documentation:WebPlugin/
Looking for half a day, HTML5 can support rtmp but can't play Rtsp,flash also stop in Rtmp, finally colleagues recommended a good East open source VLC, ask Google great God, this goods can be used to make each browser (IE ActiveX mode, Google, FF) to achieve playback RTSP video stream, it is very
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.