. very cool!
"And even if I manage to pull this off, these VJ programs doesn’t seem to have an automated way of importing media (please correct me if I’m wrong)."
. you could probably code something around that (and tie it in to background processing). i wrote a module to allow the user to move a static image (from various webding fonts) then press a button and it would save a screen capture, then load the updated image on a lower layer, so that could 'collage' more images on top of it...
Code: Select all
def saveLiveToImage() :
global okToTakePic
okToTakePic = False
modul8.setValue('direct_snapshot_mainOutput',1,0)
if os.path.isdir(capturePath) :
for fn in os.listdir(capturePath):
myFN = capturePath+"/"+fn
#print myFN
loadVal = workMedia,myFN
modul8.setValue('direct_media_change',loadVal,currentWork)
modul8.setValue('ctrl_layer_media',workMedia,currentWork)
okToTakePic = True
. of note, 'capturePath' is set to where you're saving screen caps from modul8, but would be wherever your converted quicktime/.gifs were
. the 'os.listdir' would give me all the files in the directory in alphabetical order, which was ok, since modul8 screen caps are stored date first. then the last item listed (myFN) would be the most recent file, that I would load into 'workMedia' (which was media_id 2 - on layer 3, - layer two was where they moved stuff around before 'saving')
. so... to do an auto load of images, perhaps you can write something in periodicalEvent that after some time, calls a script to read your incoming directory, compare it to a list of already loaded videos, and then load any that weren't found to the next available media slot.
. just a thought...
-james
(a nomad. )