AVCodecContext.frame_number

Frame counter, set by libavcodec.

- decoding: total number of frames returned from the decoder so far. - encoding: total number of frames passed to the encoder so far.

@note the counter is not incremented if encoding/decoding resulted in an error.

struct AVCodecContext
int frame_number;

Meta