[FFmpeg-devel] [PATCH 1/2] lavc: Add coded_w/h to AVCodecParameters

James Almer jamrial at gmail.com
Thu Jan 18 07:14:44 EET 2018

On 1/18/2018 2:03 AM, Zhong Li wrote:
> coded_width/height may be different from width/height sometimes

> (e.g, crop or lowres cases).

Which is why it's not a field that belongs to AVCodecParameters.

Codec level cropping has nothing to do with containers. Same with
lowres, which is an internal feature, and scheduled for removal.

More information about the ffmpeg-devel mailing list