On Wed, Nov 19, 2008 at 11:24 PM, aviad rozenhek <[EMAIL PROTECTED]> wrote: > I'm using libavformat to read a video file without decoding it, and I would > like to know the pict_type (I P B etc) of every packet I readwhat's the best > way to have this information without actually decoding the video?
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. - Art _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
