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

FFGL, OSC, GLSL. If you like abbreviations, this is the forum for you
Post Reply
DaleReindeer
Is taking Resolume on a second date
Posts: 17
Joined: Wed Apr 07, 2021 20:31

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

Post 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!
Attachments
Screen Shot 2023-01-23 at 2.36.59 PM.png
Last edited by DaleReindeer on Wed Jan 25, 2023 21:48, edited 1 time in total.

Zoltán
Team Resolume
Posts: 6283
Joined: Thu Jan 09, 2014 13:08
Location: Székesfehérvár, Hungary

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

Post by Zoltán »

The Rest-API can be used to load video files: https://resolume.com/support/en/restapi
Software developer, Sound Engineer,
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free: http://programs.palffyzoltan.hu
VJ footage: https://goo.gl/58oHy7

DaleReindeer
Is taking Resolume on a second date
Posts: 17
Joined: Wed Apr 07, 2021 20:31

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

Post 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!

Zoltán
Team Resolume
Posts: 6283
Joined: Thu Jan 09, 2014 13:08
Location: Székesfehérvár, Hungary

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

Post 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.
Software developer, Sound Engineer,
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free: http://programs.palffyzoltan.hu
VJ footage: https://goo.gl/58oHy7

DaleReindeer
Is taking Resolume on a second date
Posts: 17
Joined: Wed Apr 07, 2021 20:31

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

Post 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?

Zoltán
Team Resolume
Posts: 6283
Joined: Thu Jan 09, 2014 13:08
Location: Székesfehérvár, Hungary

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

Post 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.
Software developer, Sound Engineer,
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free: http://programs.palffyzoltan.hu
VJ footage: https://goo.gl/58oHy7

Post Reply