Welcome! Log In Create A New Profile

Advanced

specify width and height of video files

Posted by bts 
bts
specify width and height of video files
August 18, 2020 08:31PM
Hi Jaewon,

Would it be possible to add inputs for width and height of video files, like already exists with image files?
Re: specify width and height of video files
August 18, 2020 10:41PM
If you want to change the width and height respectively with different ratios, it is a very costly operation, which NIMH ML does not support, and you may as well just create another movie with the size you want.

If you want to increase/decrease both width and height in the same proportion (i.e., keep the aspect ratio), use the rescale_object function.
https://monkeylogic.nimh.nih.gov/docs_RuntimeFunctions.html#rescale_object
bts
Re: specify width and height of video files
August 19, 2020 01:48PM
Thanks Jaewon, that is what we are currently doing, I was just hoping for the option to specify height and width. I figured there was a reason it's not an option.

The National Institute of Mental Health (NIMH) is part of the National Institutes of Health (NIH), a component of the U.S. Department of Health and Human Services.