Skip to content
Snippets Groups Projects
  • Sybren A. Stüvel's avatar
    ef68b294
    Create Video: always pad video to even sizes · ef68b294
    Sybren A. Stüvel authored
    H.264 requires that the width and height of the video frame are
    multiples of the chroma block size. When using the default yuv420 pixel
    format this means the dimensions should be even (e.g. multiples of 2).
    The video filter added in this commit ensures this by padding out the
    frame with black pixels.
    ef68b294
    History
    Create Video: always pad video to even sizes
    Sybren A. Stüvel authored
    H.264 requires that the width and height of the video frame are
    multiples of the chroma block size. When using the default yuv420 pixel
    format this means the dimensions should be even (e.g. multiples of 2).
    The video filter added in this commit ensures this by padding out the
    frame with black pixels.