computed-axial-lithography / VAMToolbox

Other
27 stars 10 forks source link

Video saving output size incorrect #5

Closed jttoombs closed 10 months ago

jttoombs commented 1 year 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 10 months ago

This was solved by switching to OpenCV for video export