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
Thank you
This one is easy, since you can send a value to "/medias/myMovie.mov/play_speed"pushing a button to play in double speed
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:pushing a button to move forward 15 seconds
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
]
}
Which gives
Code: Select all
{
"VALUE": [
0.1126674849083748
]
}
Users browsing this forum: No registered users and 30 guests
Copyright 2017 © garageCube. All Rights Reserved. Powered by phpBB® Forum Software © phpBB Limited.