Clip time via OSC?
-
- Posts: 8
- Joined: Sun Jan 06, 2019 10:58
Clip time via OSC?
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)?
- mygeneration
- Posts: 21
- Joined: Thu Sep 21, 2017 20:48
- Location: South Florida, USA
Re: Clip time via OSC?
Yeah looperhacks,
It might help to know what is the destination application that will receive the OSC data?
It might help to know what is the destination application that will receive the OSC data?
-
- Posts: 8
- Joined: Sun Jan 06, 2019 10:58
Re: Clip time via OSC?
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!
Re: Clip time via OSC?
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.
It's floats, so once it would get to 1 with a clip playing forwards, the clip would reach it's end.
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
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free: http://programs.palffyzoltan.hu
-
- Posts: 8
- Joined: Sun Jan 06, 2019 10:58
Re: Clip time via OSC?
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.
Re: Clip time via OSC?
If you assume that clips play at nominal speed, or ask Resolume for the clip speed, you can calculate their approximate length also 

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
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free: http://programs.palffyzoltan.hu
Re: Clip time via OSC?
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