AVCodecContext.height

picture width / height.

@note Those fields may not match the values of the last AVFrame outputted by avcodec_decode_video2 due frame reordering.

- encoding: MUST be set by user. - decoding: May be set by the user before opening the decoder if known e.g. from the container. Some decoders will require the dimensions to be set by the caller. During decoding, the decoder may overwrite those values as required while parsing the data.

  1. int width;
  2. int height;
    struct AVCodecContext
    int height;

Meta