AVCodecParserContext

Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Members

Variables

convergence_duration
int64_t convergence_duration;

Time difference in stream time base units from the pts of this packet to the point at which the output from the decoder has converged independent from the availability of previous frames. That is, the frames are virtually identical no matter if decoding started from the very first frame or from this keyframe. Is AV_NOPTS_VALUE if unknown. This field is not the display duration of the current frame. This field has no meaning if the packet does not have AV_PKT_FLAG_KEY set.

cur_frame_dts
int64_t[AV_PARSER_PTS_NB] cur_frame_dts;
Undocumented in source.
cur_frame_end
int64_t[AV_PARSER_PTS_NB] cur_frame_end;
Undocumented in source.
cur_frame_offset
int64_t[AV_PARSER_PTS_NB] cur_frame_offset;
Undocumented in source.
cur_frame_pos
int64_t[AV_PARSER_PTS_NB] cur_frame_pos;

Position of the packet in file.

cur_frame_pts
int64_t[AV_PARSER_PTS_NB] cur_frame_pts;
Undocumented in source.
cur_frame_start_index
int cur_frame_start_index;
Undocumented in source.
cur_offset
int64_t cur_offset;
Undocumented in source.
dts
int64_t dts;
Undocumented in source.
dts_ref_dts_delta
int dts_ref_dts_delta;

Offset of the current timestamp against last timestamp sync point in units of AVCodecContext.time_base.

dts_sync_point
int dts_sync_point;

Synchronization point for start of timestamp generation.

duration
int duration;

Duration of the current frame. For audio, this is in units of 1 / AVCodecContext.sample_rate. For all other types, this is in units of AVCodecContext.time_base.

fetch_timestamp
int fetch_timestamp;
Undocumented in source.
field_order
AVFieldOrder field_order;
Undocumented in source.
flags
int flags;
Undocumented in source.
frame_offset
int64_t frame_offset;
Undocumented in source.
key_frame
int key_frame;

Set by parser to 1 for key frames and 0 for non-key frames. It is initialized to -1, so if the parser doesn't set this flag, old-style fallback using AV_PICTURE_TYPE_I picture type as key frames will be used.

last_dts
int64_t last_dts;
Undocumented in source.
last_pos
int64_t last_pos;

Previous frame byte position.

last_pts
int64_t last_pts;
Undocumented in source.
next_frame_offset
int64_t next_frame_offset;
Undocumented in source.
offset
int64_t offset;

Set if the parser has a valid file offset +////< byte offset from starting packet star

output_picture_number
int output_picture_number;

Picture number incremented in presentation or output order. This field may be reinitialized at the first picture of a new sequence.

parser
AVCodecParser* parser;
Undocumented in source.
pict_type
int pict_type;
Undocumented in source.
picture_structure
AVPictureStructure picture_structure;

Indicate whether a picture is coded as a frame, top field or bottom field.

pos
int64_t pos;

Byte position of currently parsed frame in stream.

priv_data
void* priv_data;
Undocumented in source.
pts
int64_t pts;
Undocumented in source.
pts_dts_delta
int pts_dts_delta;

Presentation delay of current frame in units of AVCodecContext.time_base.

repeat_pict
int repeat_pict;

This field is used for proper frame duration computation in lavf. It signals, how much longer the frame duration of the current frame is compared to normal frame duration.

Meta