title: How can you determine the number of reference frames in h.264 video using libavcodec
body: <p>I'd like to determine the number of reference frames used in encoding a h.264 file using libavcodec. I've been able to determine most of the other information I'm looking for programmatically but so far can't locate this one item. </p>
  
  <p>Any help much appreciated. </p>