The height of 1088 is safe. Almost all decoders and encoders are using 1088 lines for processing 1080-line frames. The reason is memory organization. 1088 is a multiple of 32 (even 64) while 1080 is not. Typical alignment requirements are 16 or 32 for internal processing, most codecs can do arbitrary frame sizes (just no odd values for height and width). Taking 1088 as a target height, causes the width of 1934, which is just a multiple of 2, then it gets odd. Assuming the error would be c