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

coded_height
int coded_height;
Undocumented in source.
coded_width
int coded_width;

Dimensions of the coded video.

convergence_duration
deprecated int64_t convergence_duration;

@deprecated unused

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.
format
int format;

The format of the coded data, corresponds to enum AVPixelFormat for video and for enum AVSampleFormat for audio.

frame_offset
int64_t frame_offset;
Undocumented in source.
height
int height;
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.

width
int width;

Dimensions of the decoded video intended for presentation.

Meta