Page 1 of 1

fast forward on a video over remote

Posted: Mon Jan 15, 2024 10:15 pm
by simonhu
Hello

I have a case where I would like to press a button/command over OSC where i can fast forward the video movie:
  • pushing a button to move forward 15 seconds
    pushing a button to play in double speed
Are there any solutions for solving this problem?

Thank you

Re: fast forward on a video over remote

Posted: Thu Jan 18, 2024 4:41 pm
by mad-matt
pushing a button to play in double speed
This one is easy, since you can send a value to "/medias/myMovie.mov/play_speed"
pushing a button to move forward 15 seconds
This one is not that easy since if you want to send a position, you need to know the current position. This is possible with OSC Query. For instance if you OSC port is 8010, you can type that in your browser and you'll get the current position value in a json format:
Which gives

Code: Select all

{ "ACCESS": 3, "DESCRIPTION": "Position", "FULL_PATH": "\/medias\/myMovie.mov\/position", "RANGE": [ { "MAX": 1, "MIN": 0 } ], "TYPE": "f", "VALUE": [ 0.2458068401984796 ] }
You can request value only with
Which gives

Code: Select all

{ "VALUE": [ 0.1126674849083748 ] }

Re: fast forward on a video over remote

Posted: Tue Apr 16, 2024 9:07 am
by simonhu
Hello we were able to integrate number 1.

I have another question therefore. We control the speed over a Touch OSC app. When we press (tempory) on the "speed button", the speeds moves up to 3 times, but at the same time the sound sounds very weird like 3 times faster...

I need therefore following configuration:
  • Cue to trigger the 3x normal speed
    no Sound on this specific cue / movie
Currently we have integrated the command directly into the OSC app. But we are only able to integrate one command. But for the case above, we have acutally 2 comands.

How can we programm this? How can we programm it, so it only works when we acutally temporarily press the cue button?

Thank you