vMix Forums
»
General
»
Instant Replay
»
SetRateSlowMotion not working with API call /streamdeck button
Rank: Advanced Member
Groups: Registered
Joined: 12/8/2022(UTC) Posts: 81 ![Sweden Sweden](/Content/images/flags/SE.png) Thanks: 19 times Was thanked: 1 time(s) in 1 post(s)
|
Hi! Trying to run a custom command on a streamdeck button in companion with "SetRateSlowMotion" but fail to make it work. If I do a vMix shortcut it works fine. So I think I must be using the wrong setting in companion. Also: if I run the command in the browser it does not work either. So this works: ![Replay speed 2 Replay speed 2](https://i.postimg.cc/3wRg2t8v/Sk-rmbild-2024-01-15-155210.png) This does not work (string used is: SetRateSlowMotion&Input=Preview&Value=0.5): ![Replay speed1 Replay speed1](https://i.postimg.cc/Dw7Qw2R5/Sk-rmbild-2024-01-15-155133.png) In browser I run this: http://localhost:8088/api/?function=SetRateSlowMotion&Input=Preview&Value=0.5 but speed is not set to 50% But I get response "Function completed successfully." Thanks for any help with this!
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,171 ![Belgium Belgium](/Content/images/flags/BE.png) Location: Belgium Thanks: 288 times Was thanked: 942 time(s) in 778 post(s)
|
Originally Posted by: TL68 ![Go to Quoted Post Go to Quoted Post](/Themes/yafpro/icon_latest_reply.gif) Hi! Trying to run a custom command on a streamdeck button in companion with "SetRateSlowMotion" but fail to make it work. If I do a vMix shortcut it works fine. So I think I must be using the wrong setting in companion. Also: if I run the command in the browser it does not work either.
In browser I run this: http://localhost:8088/api/?function=SetRateSlowMotion&Input=Preview&Value=0.5 but speed is not set to 50% But I get response "Function completed successfully."
Thanks for any help with this! Try using the specific input name/number instead of preview FYI input number for preview = 0
|
![thanks](/Themes/yafpro/heart_small.png) 1 user thanked doggy for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/8/2022(UTC) Posts: 81 ![Sweden Sweden](/Content/images/flags/SE.png) Thanks: 19 times Was thanked: 1 time(s) in 1 post(s)
|
Thanks for input, Doggy! Got some progress when using input number. So making the api call from browser with: http://localhost:8088/api/?function=SetRateSlowMotion&Input=2&Value=0.5 works! But strangely using the same call in companion still does not work. So this does nothing: ![SeRateSlomo not working SeRateSlomo not working](https://i.postimg.cc/C5mVPQJG/Sk-rmbild-2024-01-17-091800.png) I have tried without the "0" and changing to comma but it did not help. I use other cusom commands in companion which works so companion seems to connect as it should to vMix. So what am I doing wrong here?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 2/23/2019(UTC) Posts: 537
Thanks: 62 times Was thanked: 125 time(s) in 114 post(s)
|
From the readme at https://bitfocus.io/connections/studiocoast-vmix : Quote:Using Custom Commands/shortcuts<br /> When using vMix shortcuts, please follow this syntax/layout, with space before the first value:
ReplayMarkInOut Value=5000
and if there is more than one parameter use "&" as a separator between them like this example:
SetOutput2 Value=Input&Input=3
|
![thanks](/Themes/yafpro/heart_small.png) 1 user thanked dmwkr for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,171 ![Belgium Belgium](/Content/images/flags/BE.png) Location: Belgium Thanks: 288 times Was thanked: 942 time(s) in 778 post(s)
|
Originally Posted by: TL68 ![Go to Quoted Post Go to Quoted Post](/Themes/yafpro/icon_latest_reply.gif) Thanks for input, Doggy! Got some progress when using input number. So making the api call from browser with:
http://localhost:8088/api/?function=SetRateSlowMotion&Input=2&Value=0.5
works!
But strangely using the same call in companion still does not work. So this does nothing:
I have tried without the "0" and changing to comma but it did not help.
I use other cusom commands in companion which works so companion seems to connect as it should to vMix.
So what am I doing wrong here? Sounds like a Companion issue
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/8/2022(UTC) Posts: 81 ![Sweden Sweden](/Content/images/flags/SE.png) Thanks: 19 times Was thanked: 1 time(s) in 1 post(s)
|
Originally Posted by: dmwkr ![Go to Quoted Post Go to Quoted Post](/Themes/yafpro/icon_latest_reply.gif) From the readme at https://bitfocus.io/connections/studiocoast-vmix : Quote:Using Custom Commands/shortcuts<br /> When using vMix shortcuts, please follow this syntax/layout, with space before the first value:
ReplayMarkInOut Value=5000
and if there is more than one parameter use "&" as a separator between them like this example:
SetOutput2 Value=Input&Input=3 Aaahhhh! Of course: a space before the first value!! As always the saying "The devil is in the details" is true. Now it works like a charm! Big thanks dmwkr!
|
|
|
|
vMix Forums
»
General
»
Instant Replay
»
SetRateSlowMotion not working with API call /streamdeck button
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close