FFmpeg pad filter calculating wrong width
it turns out you can not pad subsampled pixel formats at odd boundries.
the workaroud is to make the boundary even by using
ffmpeg.exe -i in.jpg -filter_complex &quot;[0:v]pad=ceil(iw/2)*2:ceil((ih+10)/2)*2:0:0&quot; out.jpg