title: Extract Quantization Parameter for individual frames of h.26x video using ffmpeg
body: <p>If I execute a command like this:</p>
  
  <pre><code>$ ffmpeg -i video.mp4 -qphist -vf codecview=qp=true video_qp.mp4
  </code></pre>
  
  <p>I get the QP histogram of averages across frame types, like so:</p>
  
  <pre><code>[libx264 @ 0x7f8386803c00] frame I:5     Avg QP:21.65  size:  5960
  [libx264 @ 0x7f8386803c00] frame P:172   Avg QP:23.90  size:  3449
  [libx264 @ 0x7f8386803c00] frame B:204   Avg QP:26.77  size:  1168
  </code></pre>
  
  <p>I want to extract the QP for each individual frame in the video, rather than get overall averages.</p>
  
  <p>Is there a way to do this with (or even without, actually) ffmpeg or associated tools (such as ffprobe)?</p>