title: FFMPEG: rtsp stream to a udp stream
body: <p>I am looking for advice on using ffmpeg to convert RTSP stream to udp stream. What would be the simplest general command to do so? This is what I have right now:</p>
  
  <pre><code>ffmpeg -i rtsp://192.168.1.247/play1.sdp -f mpegts -vcodec mpeg4 -acodec mp2 udp://127.0.0.1:1234
  </code></pre>
  
  <p>The error I'm getting:</p>
  
  <blockquote>
    <p>UDP timeout, retrying TCP</p>
    
    <p>method PAUSE failed: 405 PAUSE</p>
    
    <p>rtsp://192....: operation not permitted</p>
    
    <p>Finishing stream 0:0 without any data written to it.</p>
  </blockquote>
  
  <p>I'm running <code>ubuntu 14.04</code>. Thank you!</p>