title: How to dump raw RTSP stream to file?
body: <p>Is it possible to dump a raw RTSP stream to file and then later decode the file to something playable?</p>
  
  <p>Currently I'm using FFmpeg to receive and decode the stream, saving it to an mp4 file.  This works perfectly, but is CPU intensive, and will severely limit the number of RTSP streams I can receive simultaneously on my server.</p>
  
  <p>I would like to save the stream to file without decoding it, and delay the decoding part to when the file needs to be opened.</p>
  
  <p>Is this possible?</p>
  
  <p>I have tried VLC, which is even more CPU intensive than FFmpeg.  I've also looked at <a href="https://stackoverflow.com/questions/15543014/dump-rtsp-to-file-like-rtmpdump">this question</a> where the answer says dumping RTSP to file is not useful, and <a href="https://stackoverflow.com/questions/7932389/rtsp-stream-capturing">this question</a>, where the comment below the question says "Raw RTSP content is not well suited for save and replay...", which seems to indicate that there is way.</p>
  
  <p>Thanks in advance!</p>
  
  <hr>
  
  <p><strong>EDIT</strong>
  Here is the command I'm using for FFmpeg:</p>
  
  <p><code>ffmpeg -i rtsp://@192.168.241.1:62159 -r 15 C:/DB_Videos/2013-04-30 17_18_34.703.mp4</code></p>