You can tell Key (I) versus not Key (P or B) by looking at the flags

> field in the AVPacket structure and seeing if the PKT_FLAG_KEY bit is
> set to true.
>

thanks! what about B frames, and even better, knowing if a B frame is a
reference frame or not?
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to