Page 1 of 1

How to read video files from Folder using Resolume Avenue or Arena and/or Wire?

Posted: Mon Jan 23, 2023 22:44
by DaleReindeer
I am still on the search for the best and easiest way to simply play a series of videos in a folder.

Imagine there is a folder called "Weekday" and another called "Weekend".

Now imagine I create a Resolume file for each.

Then, imagine that when Resolume "Weekday" launches it looks at the "Weekday" folder and then plays all of the videos in it in a loop, one after another. Same for "Weekend".

Now here is the sauce. I can then drag and drop new video files into the folder and the next time Resolume "Weekday" launches it re-looks at the folder and puts the new files in there and removes the old ones. Or rather it just only and always plays whatever it finds in there.

I took a look at Wire, which is cool, but I didn't see any patches for files or file names, etc. Just video player. See screenshot. I could totally be missing this...

I have written this in Processing but it is buggy and won't do 4k60. Same with Quartz Composer but it's a dinosaur with memory leaks...

I am looking into how to do this in MadMapper... Nothing yet though...

But.... I would really prefer doing it in Resolume.

Any ideas on how to make this happen?

As always, thanks for the great product!

Re: ow to read video files from Folder using Resolume Avenue or Arena and/or Wire?

Posted: Tue Jan 24, 2023 12:29
by Zoltán
The Rest-API can be used to load video files: https://resolume.com/support/en/restapi

Re: ow to read video files from Folder using Resolume Avenue or Arena and/or Wire?

Posted: Tue Jan 24, 2023 16:17
by DaleReindeer
That is very interesting. Thank you for sharing.

How might you interpret those documents to make Resolume load files from a certain folder on launch?

I am new to the REST/API with Resolume and the doc referenced looks like it is more about interfacing with all the features over the Web.

Also, I did read through the REST portion but it does still look like a solution mainly for use over the web.

Or, is there a way to make all this happen, with REST, with the web interface, but locally?

Or, or, can there be a patch for Wire where the video player has a filepath? Pretty sure that would solve about everything as the rest of the patches can parse a folder/file structure by the looks of it.

Thank you for the insight!

Re: ow to read video files from Folder using Resolume Avenue or Arena and/or Wire?

Posted: Tue Jan 24, 2023 19:09
by Zoltán
You can use web calls from command line or scripts using curl, or other apps you make.
The documentation you can reach from the preferences - Webserver tab will give you examples, and the example commands you can run in a terminal.

Re: ow to read video files from Folder using Resolume Avenue or Arena and/or Wire?

Posted: Wed Jan 25, 2023 21:48
by DaleReindeer
Could you provide an example or even a section in the documentation that would enable me to load the files from a folder into Resolume on Launch?

I feel the documentation is just a littler too verbose to imagine how this could happen based on what I have read above. I know this may be completely natural to you but I am learning how to do it and I would like to use your product.

Can you please help me understand a little more clearly?

Alternatively, perhaps I should just reach out to a technical sales representative and continue the conversation there?

Re: How to read video files from Folder using Resolume Avenue or Arena and/or Wire?

Posted: Mon Jan 30, 2023 09:17
by Zoltán
https://resolume.com/docs/restapi/#/clip/clip_open

If you open the reference form the Resolume preferences, you can also try it out easily with a file of yours.

A terminal script could forward the result of an ls command to curl with an increasing index.
Moved this to the devs section.

Re: How to read video files from Folder using Resolume Avenue or Arena and/or Wire?

Posted: Sun Mar 12, 2023 11:48
by 4omp
i've made python script that look for new files in folder and auto-upload it to Resolume. If you familiar with python i think i can share it.

https://t.me/vjschool/377