module and video files
module and video files
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
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.
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
okay thanks =). same thing with jpeg sequences?