2018-07-17 23:58 GMT+02:00, Hendrik Leppkes <h.lepp...@gmail.com>: > On Tue, Jul 17, 2018 at 11:54 PM Carl Eugen Hoyos <ceffm...@gmail.com> > wrote: >> >> 2018-07-17 21:39 GMT+02:00, Vittorio Giovara <vittorio.giov...@gmail.com>: >> > YUV410P requires that sizes are divisible by 4. >> >> Do you mean that AV_PIX_FMT_YUV410P requires it? >> Where is this documented? > > Its a consequence of the subsampling factor. 4:1:0 is one-fourth the > horizontal resolution and half the vertical resolution, as such the > width has to be a multiple of 4 for that to result in a valid chroma > dimension.
(Apart from the fact that it appears to work here and is needed to archive some multimedia files.) Why wouldn't the chroma dimension be rounded up? Carl Eugen _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel