From//http://blog.chedushi.com/archives/6532?utm_source=tuicool
Using Nginx to build a streaming media server with HTTP and rtmp protocols
Experimental Purpose:
Allows Nginx to support FLV and MP4 format files while supporting RTMP protocol while
Introduction to the Scripting environmentIi. Introduction to the scriptIntroduction to the function of the script
Introduction to the Scripting environment
This script runs on the Rhel 6.4 versionTo run this script you need to note:1, the host
Prepare an article
First, firewall configuration
CentOS 7.x defaults to use firewall as a firewall, here to iptables firewall.
1. Close firewall:
Systemctl Stop Firewalld.service #停止firewall
Linux
Lower
How to install FFMPEG
Keyword: LinuxFFmpeg
Finally installed, record the processFirst install various Decoder
1. LameLame-3.97.tar.gzURL: http://sourceforge.net/project/showfiles.php? Group_id = 290 & package_id = 309
The installation
1, lameLame-3.97.tar.gzURL:http://sourceforge.net/project/showfiles.php?group_id=290&package_id=309The installation method is as follows:
TAR-ZXVF lame-3.97. tar.gz
CD lame-3.97
./configure--enable-shared--prefix=/usr
Make
I have recently configured several Web servers and posted Installation notes. You don't have time to write the system as you did before. Sorry. For detailed configuration, see the previous article:Http://blog.s135.com/nginx_php_v61. Install
I have recently configured several Web servers and posted installation notes. 1. install Nginx: mkdir-p/Data/tgzcd/Data/tgzyuminstallwgetyuminstallpcreyuminstallopenssl * yum-yinstallgccgcc-c ++ autoconflib#libjpeg-devellibpnglibpng-develfr
I have
As a PHP developer, we have to understand how Linux is related. One of the most important is the build and build of the lamp environment. In this paper, the installation of the source code to demonstrate the lamp environment to build.First,
Use Nginx + FFmpeg to build an HLS live video transcoding Server
Objective: To enable Nginx to support Rtmp streaming, HLS distribution, and FFmpeg transcoding multi-bit rate.
I. PreparationsModule: nginx-rtmp-module-master (rtmp protocol supported):
Before compiling these source code packages, make sure that the GCC, GCC-C ++, and make compilers are included in the system. Generally, the GCC and make compilers are included in the system.
Generally, the process of installing a source code
Objective: To enable the Nginx support RTMP protocol to push the stream, and support HLS distribution function and FFmpeg transcoding multi-bit rate function.First, the preparatory workModule: Nginx-rtmp-module-master (rtmp protocol
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
: 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
Objective: To enable the Nginx support RTMP protocol to push the stream, and support HLS distribution function and FFmpeg transcoding multi-bit rate function.First, the preparatory workModule: Nginx-rtmp-module-master (rtmp protocol
Note: This tutorial includes the following three parts: 1. source code compilation and installation Nginx2. source code compilation and installation of php and mysql and redis extension modules 3. the installation package program involved 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.