logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
TL68  
#1 Posted : Tuesday, January 16, 2024 12:54:20 AM(UTC)
TL68

Rank: Advanced Member

Groups: Registered
Joined: 12/8/2022(UTC)
Posts: 79
Sweden

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

This does not work (string used is: SetRateSlowMotion&Input=Preview&Value=0.5):
Replay speed1


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!
doggy  
#2 Posted : Tuesday, January 16, 2024 1:17:14 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,085
Belgium
Location: Belgium

Thanks: 284 times
Was thanked: 920 time(s) in 759 post(s)
Originally Posted by: TL68 Go to Quoted Post
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 1 user thanked doggy for this useful post.
TL68 on 1/16/2024(UTC)
TL68  
#3 Posted : Wednesday, January 17, 2024 6:19:33 PM(UTC)
TL68

Rank: Advanced Member

Groups: Registered
Joined: 12/8/2022(UTC)
Posts: 79
Sweden

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

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?
dmwkr  
#4 Posted : Wednesday, January 17, 2024 7:19:31 PM(UTC)
dmwkr

Rank: Advanced Member

Groups: Registered
Joined: 2/23/2019(UTC)
Posts: 517

Thanks: 62 times
Was thanked: 119 time(s) in 108 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 1 user thanked dmwkr for this useful post.
TL68 on 1/17/2024(UTC)
doggy  
#5 Posted : Wednesday, January 17, 2024 7:21:56 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,085
Belgium
Location: Belgium

Thanks: 284 times
Was thanked: 920 time(s) in 759 post(s)
Originally Posted by: TL68 Go to Quoted Post
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
TL68  
#6 Posted : Wednesday, January 17, 2024 7:57:20 PM(UTC)
TL68

Rank: Advanced Member

Groups: Registered
Joined: 12/8/2022(UTC)
Posts: 79
Sweden

Thanks: 19 times
Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: dmwkr Go to Quoted Post
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!
Users browsing this topic
Guest
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.