Set up a live environment to achieve plug flow, pull flow (super-simple tutorial) Windows using FFmpeg + nginx + rtmp

1. Environment
Development Environment: windows
development tools: FFmpeg, nginx, nginx-rmtp -module
Description: Nginx is a lightweight Web server / reverse proxy server and e-mail (IMAP / POP3) proxy server. nginx-rmtp-module is a streaming media plug Nginx server. nginx module provided by rtmp rtmp service, ffmpeg push a rtmp flow nginx, and then the client by accessing the nginx to watch the live video stream
2. Prepare the documents
       required for the configuration file, here I am all organized, including Nginx, nginx-rmtp -module, FFmpeg and examples mp4 video, you can safely download (CSDN shielding Baidu network disk you can copy the URL into the browser to download):

Links: https://pan.baidu.com/s/1lN1ps0ZhCb-1A56ycNR88g     

Password: 2t88

3. Start nginx server
cmd into the windows of; 

> Cd nginx-1.7.11.3-Gryphon // into the directory of nginx

> Nginx.exe -c conf \ nginx-win-rtmp.conf // run rtmp profile 

     Note: At this point in the command line will always perform in close and do not ignore

Test: browser and enter localhost: 80, if the following instructions for configuring nginx start page appears successfully!
--------------------- 
Author: Sen did not talk much to Y 
Source: CSDN 
original: https: //blog.csdn.net/qq_32381727/article/details/81078213 
copyright: This article is a blogger original article, reproduced, please attach Bowen link!

https://blog.csdn.net/qq_32381727/article/details/81078213

Guess you like

Origin blog.csdn.net/az44yao/article/details/94054402