title: Regex: Getting FPS from FFMPEG log
body: <p>I try and try again with Regex, I just don't <em>get it</em>. I'm trying to traverse a log file for FFMPEG and get the FPS.</p>
  
  <p>Basically, on a variable line (seems to be around 16/17) of the log file this line appears:-</p>
  
  <pre><code>Stream #0.1[0x1e0]: Video: mpeg1video, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc
  </code></pre>
  
  <p>I'd like to traverse line by line, which I think I can do exploding by /n and then for loop through, but I'd prefer to just get the line that line, and then get the FPS value.</p>
  
  <p>Any pointers gratefully received.</p>