<div dir="ltr">How can I extract the count of particular macro block types(I, P and S)
from the frames in the video (H.264 and MP4)? <br>Also, I would like to
extract the prediction residual of each of the P and B frames (computed
from its corresponding reference frame) in the video from the encoded
version itself while the package is decoding it.</div>