[ANSWERED+LOGGED] Load pictures automatically
-
@dusx said:
@skulpture
Not currently.I have done things where I replace a file (same path and file name) via scripting, and 'trick' Isadora is a sense.
This is a pretty high ranking feature request, so....Yeah this has just jumped up the list massively for me. A HUGE job requires Isadora to automatically videos in a 'watch folder' type scenario. Do you think this would be easy to code? Javascript? C++? @Dux
-
Thanks. A great little app. Unfortunately will not help my situation. Thanks for sharing though.
-
I have a plugin I'm making that should load an image by file path. .. that's as close as I might be able to help out.
A python script could watch a folder and spit out OSC file paths to Isadora perhaps.
-
@dusx said:
@skulpture
I have a plugin I'm making that should load an image by file path. .. that's as close as I might be able to help out.
A python script could watch a folder and spit out OSC file paths to Isadora perhaps.Both sound interesting. I need to find a solution pretty quick.
-
@skulpture maybe you can trick the system a bit. Add 20 generically named videos into Isadora, take your huge database of videos in the same folder and make a script that gets the files you want (say 10 at a time) and renames them to the names of the files added to Isadora. Or do something similar makiing copies and replacing them in the media folder. As long as your scene structure is OK and you don't overwrite playing videos it should work fine. (I am guessing you are windows and that is why the applescript solution is a no go). I would go for python for this task, there is a pyosc module that will let you control the python script via OSC.
-
And here we go @Skulpture, I worked a bit on a solution what I like to call 'Dynamic Media bins', using Processing and Spout we are able to create a 'Watch folder' and output those images to Izzy.
Instructions
1. Get the files at IzzyDynamicMediaBin.zip
2. Install the latest version of processing
3. Import the libraries that are required for the Processing patch (OSCP5 and Spout)
4. Open the Isadora file, set your port correct in Isadora and Processing (Izzy needs the port where it sends its commands to, Processing will respond on IP address 127.0.0.1 and the default Izzy port. You can change this in the settings section of the Processing patch)
5. Create a new folder at a location at your PC
6. Get the path of the Folder and paste it inside our 'Trigger Text' actor
7. Make sure that we get a valid OSC communication on channel 1 (Feedback of the Processing patch to izzy)
8. Drop your files inside and get patching :)
Hopefully this helps you out, if you need any changes hit me up at the forum or send me an email at hello@juriaan.me
Thanks !
-
Thank you very much peoples! Very kind. Some good ideas here.
-
Hey,
Im just wondering if you've found a neat solution to this problem.
I know this post is quite old.. and I read somewhere that some solutions might not work on Izzy 3?
I did start to explore python last year ... but for now its a little beyond my skill-set.
Thanks
Jim
-
@DusX is working on a Pythoner example file that will do exactly this.
-
@video-architect said:
neat solution to this problem
As @Woland mentioned, I have a Pythoner solution to this problem. It was one of the first Pythoner examples I worked on. It is available in the first Pythoner example file at: TROIKATRONIX : ISADORA - Pythoner Example File
I am working on getting an updated version of this example file out ASAP (with regular updates), which will include some really fun new examples. If you think you want to start working with Isadora 4's new Pythoner actor, checking out the Example file regularly is a must.
-