title: Can not set period/timeout option for ffmepg
body: <p>I tried to capture streaming via rtsp and limit the clip duration under <code>3 sec</code> </p>
  
  <p>But the option doesn't work. The ffmpeg won't be terminated anymore.</p>
  
  <p>Is there any workaround to fix the problem.</p>
  
  <p>Because I have to run hundreds of similar commands in a batch with Python script.</p>
  
  <pre><code>ffmpeg -loglevel verbose   -i rtsp://172.19.1.42/live.sdp -acodec copy -vcodec copy  c0_s1_h264_640x480_30_vbr_500_99_40000000.mp4 -timeout 3 -y
  </code></pre>
  
  <blockquote>
    <p>$ ffmpeg -h ffmpeg version 1.2.4 Copyright (c) 2000-2013 the FFmpeg
    developers   built on Nov 22 2013 11:59:59 with Apple LLVM version 5.0
    (clang-500.2.79) (based on LLVM 3.3svn)</p>
  </blockquote>
  
  <p>The detailed log at  <a href="https://gist.github.com/poc7667/8234701" rel="nofollow">https://gist.github.com/poc7667/8234701</a></p>