Get frame type for specific frame using ffmpeg
<p>I need to get the frame type (I/B/P) of a specific frame number for an x264 encoded movie.</p>

<p>How do I do this using ffmpeg/ffprobe? 
I'm open to other solutions as well.</p>