title: How to display multiple rtmp streams from Gryphon nginx?
body: <p><strong>CONTEXT :</strong></p>
  
  <p>-I received a rtsp stream link from an onvif ip camera.</p>
  
  <p>-The camera can only host 5 streaming connection at a time (I want/need more connections).</p>
  
  <p>-I've been informed that a combination of ffmpeg (to convert the rtsp stream to rtmp) and nginx (to redistribute as many streams as I want) would do what I want.</p>
  
  <p>-I'm on Windows 10.</p>
  
  <p>-I downloaded ffmpeg from <a href="https://ffmpeg.zeranoe.com/builds/" rel="nofollow noreferrer">this</a> source and nginx from <a href="http://nginx-win.ecsds.eu/download/" rel="nofollow noreferrer">this</a> source (nginx 1.7.11.3 Gryphon.zip).</p>
  
  <p>-Here's the conf file of the nginx server:</p>
  
  <pre><code>user nobody;
  worker_processes 1;
  
  events {
    worker_connections  1024;
  }
  
  rtmp {
          server {
                  listen 1935;
                  chunk_size 4096;
  
                  application live {
                          live on;
                          record off;
                  }
          }
  }
  </code></pre>
  
  <p>-I'm using this command to push my camera's stream to the nginx server:</p>
  
  <p><code>ffmpeg -hide_banner -i "rtsp://user:password123@192.168.10.116:554/videoMain" -an -f flv -rtmp_live live "rtmp://127.0.0.1:1935/live"</code></p>
  
  <p>-I can then see the output stream using vlc's open network stream tool (rtmp://127.0.0.1:1935/live)</p>
  
  <p><strong>QUESTION :</strong></p>
  
  <p>Is there a way to have multiple input/outout streams at the same time?</p>
  
  <p>I want to have multiple cameras redirected at the same time by one server...</p>
  
  <p><a href="https://i.stack.imgur.com/eMB8d.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eMB8d.png" alt="enter image description here"></a></p>