[FFmpeg-devel] [PATCH] ffv1dec: Ensure that pixel format constraints are respected
Vittorio Giovara
vittorio.giovara at gmail.com
Wed Jul 18 17:01:04 EEST 2018
On Tue, Jul 17, 2018 at 11:58:06PM +0200,Michael Niedermayer <michaelat niedermayer.cc> wrote:
> > Its a consequence of the subsampling factor.
>
> this does not follow from what you write below. But more so this is not
> how pixel formats were implemented in FFmpeg.
> Where does this idea come from ?
I found the following description of this pixel format pretty accurate:
https://linuxtv.org/downloads/v4l-dvb-apis/uapi/v4l/pixfmt-yuv410.html
I am not sure how non-mod4 sizes work, but probably codecs within ffmpeg
take into account more alignment than necessary and make things work
within the ffmpeg libraries. Problems like this usually affect API users.
Vittorio
More information about the ffmpeg-devel
mailing list