Clip time via OSC?

Post your questions here and we'll all try to help.
Post Reply
looperhacks
Met Resolume in a bar the other day
Posts: 8
Joined: Sun Jan 06, 2019 10:58

Clip time via OSC?

Post by looperhacks » Sun Jan 06, 2019 11:12

Is it possible to have the remaining time of a clip posted via OSC? I'd like to show our show hosts and other team members how long videos will run, so they can prepare for the end of a clip. Is it possible to send the remaining time of a clip (maybe as a text)?

User avatar
mygeneration
Is taking Resolume on a second date
Posts: 21
Joined: Thu Sep 21, 2017 20:48
Location: South Florida, USA

Re: Clip time via OSC?

Post by mygeneration » Sun Jan 06, 2019 21:35

Yeah looperhacks,

It might help to know what is the destination application that will receive the OSC data?

looperhacks
Met Resolume in a bar the other day
Posts: 8
Joined: Sun Jan 06, 2019 10:58

Re: Clip time via OSC?

Post by looperhacks » Tue Jan 08, 2019 21:17

I'd probably write the software myself, so if there's another way to feed the clip time into external applications, that would be great, too!

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

Re: Clip time via OSC?

Post by Zoltán » Tue Jan 08, 2019 22:14

If you're writing the app yourself, you could calculate the remaining time based on the incoming Transport position message values, and their timing.
It's floats, so once it would get to 1 with a clip playing forwards, the clip would reach it's end.
Theatre sound engineer, photographer, programmer, aka ravensc.
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

looperhacks
Met Resolume in a bar the other day
Posts: 8
Joined: Sun Jan 06, 2019 10:58

Re: Clip time via OSC?

Post by looperhacks » Wed Jan 09, 2019 21:25

That's awesome, thank you! Is it possible to get the total time of a clip? I couldn't see anything like this in my OSC monitor.

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

Re: Clip time via OSC?

Post by Zoltán » Thu Jan 10, 2019 09:22

If you assume that clips play at nominal speed, or ask Resolume for the clip speed, you can calculate their approximate length also ;)
Theatre sound engineer, photographer, programmer, aka ravensc.
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

Joris
Doesn't Know Jack about VJ'ing or Software Development and Mostly Just Gets Coffee for Everyone
Posts: 5180
Joined: Fri May 22, 2009 11:38

Re: Clip time via OSC?

Post by Joris » Thu Jan 10, 2019 10:41

You can also get the duration (or rather the values of the in and out points) of a clip by parsing the composition avc file

Post Reply