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

Hendrik Leppkes h.leppkes at gmail.com
Thu Jan 18 12:40:21 EET 2018


On Thu, Jan 18, 2018 at 6:14 AM, James Almer <jamrial at gmail.com> wrote:
> 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.

Indeed, the coded w/h are technical details internal to a codec, and
not relevant as a codec parameter.

- Hendrik


More information about the ffmpeg-devel mailing list