Do you use any low pass filtering when calculating your max values?
Any encode will introduce overshoots and your max points can be very high, but somehow unreal due to compression.
Also maybe ffmpeg scaling should use nearest neighbour method instead of default bicubic.
|