computed-axial-lithography / VAMToolbox

Other
28 stars 11 forks source link

Video saving output size incorrect #5

Closed jttoombs closed 11 months ago

jttoombs commented 2 years ago

The size of the saved video frame is not same as the input size to the method .saveAsVideo()

Error looks like this:

IMAGEIO FFMPEG_WRITER WARNING: input image is not divisible by macro_block_size=16, resizing from (1080, 1920) to (1088, 1920) to ensure video compatibility with most codecs and players. To prevent resizing, make your input image divisible by the macro_block_size or set the macro_block_size to 1 (risking incompatibility)

jttoombs commented 11 months ago

This was solved by switching to OpenCV for video export