title: Command to stream MPEG-1 video
body: <p>I'm trying to stream MPEG-1 video over FFMPEG with </p>
  
  <pre><code>ffmpeg -i "out.ts" -f flv -listen 1 -i rtmp://localhost:8889/live/app -c copy -f flv -listen 1 rtmp://localhost:1935/live/app
  </code></pre>
  
  <p>The <em>out.ts</em> file is a MPEG-1 video encoded with</p>
  
  <pre><code>ffmpeg -i out.avi -f mpegts -codec:v mpeg1video -b:v 1500k -r 30 -bf 0 -codec:a mp2 -b 0 -q 5 -t 1 out.ts
  </code></pre>
  
  <p>When I try to open the stream with <a href="https://www.videolan.org/vlc/index.html" rel="nofollow noreferrer">VLC</a>: <code>rtmp://localhost:1935/live/app</code> media is not playing. What's the command to stream MPEG-1 video over FFMPEG? </p>