Previous topicNext topic

module and video files

Questions, comments, feedback, etc.
Post Reply
blackdot
Posts: 528
Joined: Sun Jul 06, 2014 10:18 pm

module and video files

Post 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?
Magic
Site Admin
Posts: 3441
Joined: Wed Apr 09, 2014 9:28 pm

Re: module and video files

Post 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.
blackdot
Posts: 528
Joined: Sun Jul 06, 2014 10:18 pm

Re: module and video files

Post by blackdot »

okay thanks =). same thing with jpeg sequences?
Magic
Site Admin
Posts: 3441
Joined: Wed Apr 09, 2014 9:28 pm

Re: module and video files

Post by Magic »

Yup ;)
Post Reply