Aviad Rozenhek wrote: > > what about B frames, and even better, knowing if a B frame is a reference > frame or not? >
I derive such information from the analysis of AVPacket.data. Just scan for sequences of 0x00 0x00 0x01 and analyze bits following them. Here is the quick reference of MPEG2 headers: http://dvd.sourceforge.net/dvdinfo/mpeghdrs.html And what is "B frame is a reference frame"? -- View this message in context: http://www.nabble.com/getting-video-pict_type-without-decoding-tp20596279p20677882.html Sent from the libav-users mailing list archive at Nabble.com. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
