Page 1 of 1

module and video files

Posted: Fri Jun 23, 2017 10:04 am
by blackdot
hi, for magic is there a performance gain when two modules use the same input file, of some sort of instacing maybe? imagine, if you use the same video files and put them next to each other using video modules. one of them is supposed to be smaller though. would it now be better to create a second video file that's in the smaller resolution, or would it be better to use the original file and just scale it down in magic?

Re: module and video files

Posted: Sat Jun 24, 2017 9:27 am
by Magic
It depends on the module. For static modules, such as Image and Model, the same file is used if possible, which saves memory and loading time. But for the VideoFile module, each file is loaded independently (even if it's the same file), because the position (time) of the file has to be kept track of independently.

Probably it would save you a tiny amount of FPS to create a lower-resolution video, but I'm not sure if it's worth it -- just depends on your overall setup.

Re: module and video files

Posted: Sat Jun 24, 2017 6:48 pm
by blackdot
okay thanks =). same thing with jpeg sequences?

Re: module and video files

Posted: Sun Jun 25, 2017 9:01 am
by Magic
Yup ;)