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 Sour
This article outlines:Nginx is a very good open source server, use it to do HLS or rtmp streaming media server is a very good choice. This paper introduces a simple method to quickly set up rtmp streaming media server, also known as RTSP retransmission, the data source is not read files, but use to obtain rtspnal stream after using FFmpeg retransmission. CSDN: [Email protected]Development environment: cento
456 c003f614 4002be64 S nginxnobody 2745 2743 1528 664 C00d8ad4 4002b7a4 S nginxroot 2748 2708 956 332 00000000 40095448 R PSDescription Nginx runs successfully.Open Browser input on the Development Boardhttp://localhost/The reality of the following pageNginx runs successfully.Using commandsKillall NginxKill the Nginx process.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ isolated ~~~~~~~~~~~~~~~~
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]# g
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 wa
Objective
I believe we all know nginx is a very good open source server, use it to do HLS or rtmp streaming media server is a very good choice, so small set up the installation process online, now share to everyone and make a memo. Have the need of friends can refer to study, let's take a look together.
I. Installation of Homebrow
Brow has been installed to skip this step directly.
Execute command
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
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
NginxOfRtmpProtocol server
By ahuner
The following configuration allows nginx to receive rtmp streams and play real-time videos on the web.1. OpenSSL Installation
Nginx requires the http_ssl_module module and the OpenSSL library.
Opensll: http://www.openssl.org/
Latest stable version: openssl-1.0.1e
Modify the code for the three files, md2test. C, rc5test. C, jpa
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 paramet
: This article mainly introduces how to use nginx to build flv and mp4 streaming media servers based on rtmp or http. if you are interested in PHP tutorials, refer to it. Http://itindex.net/detail/48702-nginx-rtmp-http
I. streaming media playback mode1. HTTP
In this way, you need to download the FLV video file and pl
1. Compile nginx that can be used in android and add the option -- add-module =/path/nginx-rtmp-module, prepare ffmpeg files and related library files that can be used by shell on android and m3u8 segmenter files.2. Put the compiled nginx files in the data/android. nginx dir
Http://itindex.net/detail/48702-nginx-rtmp-http
One, streaming media playback mode
1. HTTP mode
this way to download the FLV video file to local playback, once the FLV video file download is complete, will not consume the server resources and bandwidth, but the drag function is not rtmp/rtmp streaming media powerful,
Http://itindex.NET/detail/48702-nginx-rtmp-httpOne, streaming media playback mode1. HTTP modeThis way to download the FLV video file to local playback, once the FLV video file download is complete, will not consume the server resources and bandwidth, but the drag function is not rtmp/rtmp streaming media powerful, many
Battle the people of Russia to develop a nginx streaming plug-in, in addition to live streaming audio and video streaming server with the common functions of the media
such as push-pull streaming media resources
Flv/mp4 VOD on-demand based on HTTP
HLS (HTTP Live streaming) M3U8 's support
HTTP-based operations (publish, play, record)
Can work well with existing streaming media servers and players
Online call FFmpeg stream
1. Installation commandRuby-e "$ (curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/install)" If you want to uninstall RUBY-E after installation, "$ (Curl- Fssl https://raw.githubusercontent.com/Homebrew/install/master/uninstall) "2. Install Nginx first clone Nginx project to local brew tap Homebrew/nginx Installation: Brew Install
to be less stable, perhaps it is not very familiar with it. Perhaps see everyone is using Nginx HLS, so there is the idea of replacing SRS with Nginx. When setting up the Nginx rtmp service, we refer to the predecessor's nginx build one of the streaming media servers that
The article "Let your nginx rtmp live broadcast have the function of counting the number of online viewers of a channel" describes the online statistics module of nginx.Our online live broadcast service uses the nginx rtmp module (see nginx
HLS, then have the SRS to replace Nginx idea.
In the construction of Nginx rtmp service is referred to the predecessors left behind the Nginx build support for the HTTP and rtmp protocol, one of the streaming media server, two or three, because it is the first time in 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.