title: mplayer can't read udp video stream
body: <p>Im trying to compare latency between different video codecs using ffmpeg and mplayer's benchmark.</p>
  
  <p>I am using this command line to generate and send the stream:</p>
  
  <pre><code>ffmpeg -s 1280x720 -r 100 -f x11grab -i :0.0 -vcodec mpeg2video -b:v 8000 -f mpegts udp://localhost:4242
  </code></pre>
  
  <p>And I'm successfully using ffplay to receive and read it in real time:</p>
  
  <pre><code>ffplay -an -sn -i -fflags nobuffer udp://localhost:4242?listen
  </code></pre>
  
  <p>Now instead of playing the stream with ffplay, i'd like to use the mplayer benchmark to get some information on the latency:</p>
  
  <pre><code>mplayer -msglevel all=6 -benchmark udp://localhost:4242
  </code></pre>
  
  <p>But I get this output instead:</p>
  
  <pre><code>Playing udp://localhost:4242.
  get_path('sub/') -&gt; '/home/XXXXX/.mplayer/sub/'
  STREAM_UDP, URL: udp://localhost:4242
  Filename for url is now udp://localhost:4242
  Listening for traffic on localhost:4242 ...
  Timeout! No data from host localhost
  udp_streaming_start failed
  No stream found to handle url udp://localhost:4242
  </code></pre>
  
  <p>I tried with rtp protocol instead, didn't work either...</p>
  
  <p>Does anyone have an idea what i'm doing wrong?</p>