Hi all, I have a Folder DAT running into a Select DAT, where i can adjust it where the 0,0 field is the name of the file I want to load. However I can’t seem to export it to the Movie In TOP File field?
Looking at tab() it should just be "tab(“select7”,0,0) but the Movie In TOP gives me the red X that says “Error: (Parameter: File) NameError: name ‘tab’ is not defined”
Any advice?
Thanks - slv
First thing I’d check is that your moviein TOP node is in Tscript mode and not Python.
I’ve attached a tox file that may be of some help if you want to approach the same task with Python scripting or expressions. It may not be exactly what you’re going for but it may give you some ideas.
Hope this helps!
–
Brian.
FoldertoTOPSelector.tox (4.59 KB)
Hi Brian,
Thanks, will check the file when I get home.
Couldn’t get it working though even changing the script mode etc.
Ended up just loading every video into separate Movie In TOPs running into a Switch TOP. 48 mp4’s later and no noticeable slowdown and seamless switching (where loading them on the fly I imagine there’d be a touch of delay while it loads). Maybe not the most efficient method but efficient enough for this application.
Still want to figure out this folder-> movie in issue though, for when I don’t necessarily need seamless switching and have oodles of videos to switch between (thinking more of an installation style project).
Cheers and thanks!
Sorry to hear that didn’t work out. I have a lot of years with live event video production so TouchDesigner was VERY new to me 6 months ago. I appreciate the help I’ve received on the forums and am happy that I can finally return some of the favor.
Feel free to post a file and I, or many of the countless brains, will help sort things out. Nothing worse than being on your own trying to navigate an unfamiliar landscape.
Cheers!
–
Brian
Your .tox worked perfectly, thanks! Are there any significant advantages for either method or just a matter of preference?
Perhaps its our fault for not having up to date python tutorials, but I’d recommend python over tscript as Pixeldust showed you in his example. Its much easier to learn, and if you’re new to TouchDesigner you can skip learning tscript to spend your time learning python or other parts of Touch.