fast forward on a video over remote
  • simonhu
    member
    Posts: 30
    Joined: Sat Mar 16, 2019 10:23 am
    Location: Switzerland
    Contact:

    fast forward on a video over remote

    by simonhu » Mon Jan 15, 2024 10:15 pm

    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
  • mad-matt
    garageCube team
    Posts: 1556
    Joined: Mon Sep 09, 2013 5:50 pm

    Re: fast forward on a video over remote

    by mad-matt » Thu Jan 18, 2024 4:41 pm

    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 ] }
  • simonhu
    member
    Posts: 30
    Joined: Sat Mar 16, 2019 10:23 am
    Location: Switzerland
    Contact:

    Re: fast forward on a video over remote

    by simonhu » Tue Apr 16, 2024 9:07 am

    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

Who is online

Users browsing this forum: No registered users and 30 guests