Discover rtmp to http live streaming, include the articles, news, trends, analysis and practical advice about rtmp to http live streaming on alibabacloud.com
The previous article documented the acquisition and deployment of the service-side playlists project, which summarizes the bits and pieces of the client's playback of streaming media.
======================================================================================
1. Article III requirements: The terminal through the live streaming address, broadcast the
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
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
Reprint: http://easydarwin.org/article/Streaming/141.htmlThe similarities and differences between RTSP, RTMP, and HTTPCommon:1:RTSP RTMP HTTP is applied at the application layer.2: Theoretically RTSP rtmphttp can do live and on-de
HTTP (Hypertext Transfer Protocol), RTSP (Real time Streaming protocol live streaming protocol), RTMP (Routing Table Maintenance Protocol Routing Tables Maintenance Protocol) is the application layer protocol, Theoretically all can do li
and change it
user nobody;
Modify the running command and run it in the/data/misc/nginx/sbin/directory.
./nginx -p /data/misc/nginx -c conf/nginx.conf
Run successfully.
Use commands
ps
You can view the running items:
root 2743 1 1328 456 c003f614 4002be64 S nginxnobody 2745 2743 1528 664 c00d8ad4 4002b7a4 S nginxroot 2748 2708 956 332 00000000 40095448 R ps
It indicates that nginx runs successfully.
Open your browser on the development board and
All you have to say
The purpose of using Nginx to build streaming media platform is to support the RTMP protocol, which enables users to use RTMP (RTMP://192.168.201.128/MYAPP) protocol to push streaming to the server. The other user then requests the video stream informatio
HTTP (Hyper-Text Transfer Protocol), RTSP (Real Time Streaming protocol live Stream Transfer Protocol), RTMP (Routing Table Maintenance Protocol Routing Tables Maintenance Protocolis the application layer protocol, theoretically can do live, on-demand, in fact,
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.
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 thir
Previous open-Source Videocore improvements: 1) added a beauty filter; 2) added the librtmp to replace the original too simple rtmpclient;Later listen to friends said, in Videocore above OpenGL modification, add new filter More trouble, iOS filter best to calculate gpuimage.I decided to the multi-filter open-source gpuimage to achieve the rtmp live streaming push
. Without the camera, we can use open-source OBS software to push live streaming, download and install will not say, I believe that the game live broadcast how much to understand. Here is the interface after OBS opens:To set up a video capture source:Click the "Settings" button in the bottom right corner of the main interface to enter the push flow parameter sett
the server and the client, the server continues to send media packets, and media packets are encapsulated using RTP, the client control information is transmitted through the RTSP information package in UDP or TCP mode.
In addition, similar streaming media protocols include Adobe's rtmp (real time messaging protocol) and real's RTSP over RDT (Real Data Transport Protocol ), this article will not introduce
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 down
rtmp mode is the server real-time playback. RTSP: The IPv4 of the RTSP 1.0 standard did not fully anticipate the rapid growth of Internet bandwidth, and the widespread use of NAT technology due to shortage of address, and the presence of proxy servers, which have some drawbacks in transmission reliability and usability. Although the manufacturers have done a certain degree of patching, such as supporting RTSP over
This article from the NetEase cloud community
Preface
This article is for mobile video live development Novice, in order to quickly get started, using the powerful Google search engine with their own understanding of the "video broadcast background Knowledge".
Background Knowledge
noun explanation
Push-Stream Protocol
RTMP
Real Time Messaging Protocol (live messa
This article from the NetEase cloud communityPrefaceThis article is for mobile video live development Novice, in order to quickly get started, using the powerful Google search engine with their own understanding of the "video broadcast background Knowledge".Background Knowledgenoun explanationPush-Stream ProtocolRTMPReal Time Messaging Protocol (live messaging protocol)With Flash Player as the player client
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
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.