title: FFMPEG: Output to a new file after certain period of time with creation time stamp?
body: <p>Suppose I have a command:<br></p>
  
  <pre><code>ffmpeg -f v4l2 -framerate 30 -video_size 640x480 -i /dev/video1 -c:v libx265 -x265-params bitrate=60:vbv-maxrate=60:vbv-bufsize=16:keyint=10:qcomp=0.5 -tune zerolatency -s 640x480 -preset ultrafast -pix_fmt yuv420p -r 5 -strict experimental -f somedate.ts
  </code></pre>
  
  <p>What I want to do is that after 30 minutes ffmpeg starts writing the stream to new file with filename as time of creation of new file.</p>