[FFmpeg-devel] meaning of AV_PKT_FLAG_KEY

Michael Niedermayer michaelni at gmx.at
Wed Dec 11 01:49:46 CET 2013

On Wed, Dec 04, 2013 at 07:44:53AM -0500, Don Moir wrote:
> I asked about this 2 years ago in ticket and no answer there.
> I asked in user and no answer there.
> So asking here what is the meaning of AV_PKT_FLAG_KEY and does it have any meaining to an application ?
> The comment for AV_PKT_FLAG_KEY says it represents a key packet. If you decode this packet, the frame indicates it's a key frame.
> If packet contains AV_PKT_FLAG_KEY it does not necessarily reflect a timestamp in index_entries which are known to be keyframes if marked as such.
> Would be damn useful is this flag was dependable as a keyframe or start of keyframe. Right now I don't know if its a bug or what it is supposed to mean.

it means its a keyframe in the sense of a frame from which you can
start decoding

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131211/9822dd79/attachment.asc>

More information about the ffmpeg-devel mailing list