[Libav-user] packet flag AV_PKT_FLAG_KEY

Don Moir donmoir at comcast.net
Sat Nov 23 04:47:19 CET 2013


Not sure what AV_PKT_FLAG_KEY is supposed to mean. The assumption to me early on is it represented a key frame but not necessarily.

Is it not a application flag ?

Seems for at least H264 it doesnt have much meaning to application. If the packet dts value is in the stream index_entires then that represents a key frame for sure ( hopefully :)

What if there are no index_entries ? Whats a key packet then and how to determine ?

Just trying to clear up my own confusion with this.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20131122/cc839f58/attachment.html>


More information about the Libav-user mailing list