title: How to use ffmpeg to stream x11 via netcat?
body: <p>These are the commands I'm trying to use</p>
  
  <p>Server side: </p>
  
  <pre><code>ffmpeg -f x11grab -video_size cif -framerate 25 -i :0.0+10,20 -f avi - | nc -l 1500
  </code></pre>
  
  <p>Client side:</p>
  
  <pre><code>nc &lt;server ip&gt; 1500 | mplayer -vo x11 -cache 3000 - 
  </code></pre>
  
  <p>It seems to be streaming on the server side but client is not able to view the stream.</p>