title: How can I use ffmpeg to stream over http
body: <p>I am using the follow commands to stream to my localhost</p>
  
  <pre><code>ffmpeg -i b.mp4 -r 60 -bufsize 1024k -vcode libtheora -qscale:v 1 -f ogg "udp://@127.0.0.1/video.ogg"
  
  ffmpeg -i b.mp4 -r 60 -bufsize 1024k -vcode libtheora -qscale:v 1 -f ogg "http://127.0.0.1/video.ogg"
  </code></pre>
  
  <p>The both work very well, at least do not show any errors, but when I try play such http stream does not, it gave me error "not found"</p>
  
  <p>Can somebody help me on it? I am complety lost in this issue...also when I try include some port, for example <code>ffmpeg -i b.mp4 -r 60 -bufsize 1024k -vcode libtheora -qscale:v 1 -f ogg "http://127.0.0.1:8980/video.ogg"</code> provide me input/output error...I have test the equivalent commands on vlc and is work as well.</p>
  
  <p>Thanks in advance</p>