AVCodecParameters.sample_aspect_ratio

Video only. The aspect ratio (width / height) which a single pixel should have when displayed.

When the aspect ratio is unknown / undefined, the numerator should be set to 0 (the denominator may have any value).

struct AVCodecParameters
AVRational sample_aspect_ratio;

Meta