Page 1 of 1
Display duration of video asset
Posted: Sun Sep 07, 2025 10:41
by EBMCreative
Hello.
I'm extremely new to wire.
I am making a patch that will let you select a different video file from a drop own menu. This will let me reduce about 35 layers in my composition.
Everything is working good so far. But I can't figure something out.
How do you display the duration of a video asset in wire to the clip window on resolume someplace?
Or how do you update the duration in the transport area to the current duration of the video asset that was selected.
Thank you.
Re: Display duration of video asset
Posted: Mon Sep 08, 2025 14:12
by Zoltán
Updating params from Wire patch to the host is not possible currently.
Re: Display duration of video asset
Posted: Mon Sep 08, 2025 15:44
by EBMCreative
Re: Display duration of video asset
Posted: Tue Feb 10, 2026 19:23
by subpixel
I tried sending the Video Player's Duration value to Resolume via OSC, using the OSC address for the clip duration. Original value not translated exactly, likely due to limit of precision of the normalised float.
--begin-wire-patch--
1696.3ocsX01TaiCD9uRF+4XGI4WEe5RSHcZmBzqvQ6LWXXjsURzUGKe1xA3X3+9sx1wwABgD5c7EbVuZ2U69rOZkezHRllxiTBYZgwI+4iFyxkKgGvTZeCYQjwM8MTxJAA8MDoYkJiadpeqdDTeiDd5b0hVMIHmcqIHVVp.4nNVEbSFKmsjq343ms.20KXa8Yww47hBP4aZbzE4w7biSdzXdtrLqP+D12i5gcsCH1dDsfnEhDXcofUfkEISRXYE7XiSlwRJ38MRgXv3DiqxYoEYxbkwS86XDOW+ivHW9sQ8FN9yqMgOlf8vddNGiI9xmFcZsQ.qjKkp55S0Nz3js1d5j1KjCQ7yj2FFZ4oxXvMPN9IHma.oelN3XkpERHSZTTFlItmmX.gHSwmKye.jxmMCvJfrXdVh7gk7T0Ur74bkdsgPlKZAnETbjk4QbS0CY7Bi1sz2E4b3Wq34E.bSujkr+R6MeH.Do5mH1Z3fRaFjdeGyKhxEYpJ8MzNVTjkvd37ZKVjcex0h3KgT3Yh3d2i64aQrsHfhhXH3DyDZbgwrYDFKJNzLjh3lNynglT6vHy3PNxINJJFxXvZRDQ7zB9DQBu1aMBZ71H4xk77HAKoWyK5wVwDIrvDdOMnsWmr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4qFxzpZnTlrQupIte6yGq5t680Jx02fCx4kjPP7e21am65PfWHlCCAp6n0CPZtjcuYr.lqtn9BY6mNpcI0J8FGRtVe.Ddrt.VxA5hpwQNB6Wq+AZ7hexu6Hrck5GnoUxiL22rfiv7GUduYAGj428zOtdV91dNXpmueMk2KYIgWXs8zQGESIkRFa5.SNYFPFOxDXKQisQim3Gb5u5Xsqg1uNQ.LwV.B0AhteZkmOm7tXd.7xdzvxssrue5o5Z2970VTNMLB6p++4s36tE94co6nKbqFsW1H0sWYW8BaC22EbdaD6FtyyXYuAko66mx7fmuSV8EDJLipma40UtZ1VQbysdecsd6KMh1b6BJF4fP1TT6rHtT33aGnyo8j6WaVDBchoi6oTygPWpIAeJhNx2E8gg9+5yhrcCw+y2sXWP9tWIX6RTaUXCRZXysgdczD3hRQ0mXCVQd02yRWBHAvXnvrm11ct5Nww1h.BQTreUMnuw+H0e1QX1RW3Zf.0nma.J.ibcqFaIo9ijpid8Wan9Fw0G4Wc4iZn7MO8z+B3Wsyv.
--end-wire-patch--
Not shown: Video In > On Change > Write OSC : Write
The OSC message received by Resolume, address matches shortcut address for the (specific) clip's duration and converted back from the normalised float (range 0 to 1) back into seconds.
Original value: 20.033333 s
Resolume interpreted as: 20.03433 s
Discrepancy: approx 1 ms
The scaling factor is a week of seconds:
7 days x 24 hours/day x 60 minutes/hour x 60 seconds/minute = 604800 seconds
It seems to work, however the specific clip's OSC address must be supplied. It could be a parameter to your Wire source/effect/mixer. Not especially elegant, but functional.
Fatal flaw! I hadn't used the OSC Out node before. It worked in the Wire editor, but maybe it does not work from inside Resolume. eg what OSC output does it use? Can a plugin running in Resolume send OSC messages to Resolume?
-subpixel
Re: Display duration of video asset
Posted: Wed Feb 11, 2026 09:44
by tijnisfijn
I'm sorry to say, but at the moment that is not possible because your wire plug-in and Resolume use the same in an output ports. The only way to get this working is to use some sort of middleman software.
Re: Display duration of video asset
Posted: Mon Feb 16, 2026 14:18
by subpixel
By "your wire plug-in and Resolume use the same in an output ports", do you mean that, when a Wire patch is running inside Resolume (as a source, effect or mixer), that the OSC In/Out nodes do work amd the OSC settings are Resolume's OSC settings?
Re: Display duration of video asset
Posted: Tue Feb 24, 2026 03:57
by tijnisfijn
That is indeed the case they both listen to the same input and output if they're inside arena. So if you want to have them communicate, you have to have a external piece of software that can be the middleman, but you really have to watch out no to get feedback. That's one of the reasons it's not in there now the other is you want to control the plug-in inside arena so it has to listen to the same things as arena does otherwise you could not control it. I hope this explains it a bit, probably not the answer you were looking f.