[FFmpeg-devel] Video frame line size

Ronald S. Bultje rsbultje at gmail.com
Thu Jan 2 13:43:47 CET 2014


Hi,

On Thu, Jan 2, 2014 at 6:50 AM, Roelof van Wyk <RWyk at irdeto.com> wrote:

> I am writing a filter plug-in and have noticed a 1920x1080 10-bit video
> input frame with a line size of 3904 bytes. Given 2 bytes per pixel for
> 10-bit pixel format I have expected a line size of 3840 bytes instead. Can
> someone please tell me what this additional 64 bytes is used for?


In most encoders (and a few decoders), the edges are used to extend sides
for out-of-visible-frame motion estimation (or in the case of a decoder:
motion compensation).

Ronald


More information about the ffmpeg-devel mailing list