Rank: Advanced Member
Groups: Registered
Joined: 10/20/2016(UTC) Posts: 57 Location: Virginia-USA
Thanks: 5 times Was thanked: 6 time(s) in 4 post(s)
|
Just got my Stream Deck in and I LOVE it!
Wanted to drop in and tell anyone who is interested in the stream deck or was wondering about compatibility that it is and isn't compatible.
It isn't directly compatible. As in vMix will not see the stream deck as a midi interface for shortcuts, nor will it be detect any keypress when searching for a shortcut key.
Stream Deck also does not have any built in functionality to speak directly to vMix as it does with other software such as windows' Game Capture and the like.
There are two ways to get the Stream Deck to talk to vMix:
1. Using the Website button and make API calls. Once you learn the basics of API calls, making buttons to perform functions is quite simple. **Note that below the URL field is "Access in background" you will want this selected or your browser will appear after every button press.
2. Using system hotkeys. Setup your buttons in the Stream Deck with the shortcut key for the function, then setup shortcuts in vMix using keyboard presses.
Of the two, here's why I prefer the first method. I use the Stream Deck on a different system than the vMix system, which sits clear across the room. Rather than getup and go out of view of the camera, I can quickly make changes from my seat. I put it on a small laptop that performs no other function than the Stream Deck and my channel's bot and interactive control. Using stream deck I can control both my interactive and vMix with little effort and make it a one man production.
Thought I'd share. How has your experience been?
|
3 users thanked r5dad for this useful post.
|
seomaii on 3/4/2018(UTC), Ario on 8/28/2018(UTC), doa on 11/19/2018(UTC)
|
|
Rank: Newbie
Groups: Registered
Joined: 2/3/2017(UTC) Posts: 9
Thanks: 1 times Was thanked: 1 time(s) in 1 post(s)
|
r5dad wrote:Just got my Stream Deck in and I LOVE it!
Wanted to drop in and tell anyone who is interested in the stream deck or was wondering about compatibility that it is and isn't compatible.
It isn't directly compatible. As in vMix will not see the stream deck as a midi interface for shortcuts, nor will it be detect any keypress when searching for a shortcut key.
Stream Deck also does not have any built in functionality to speak directly to vMix as it does with other software such as windows' Game Capture and the like.
There are two ways to get the Stream Deck to talk to vMix:
1. Using the Website button and make API calls. Once you learn the basics of API calls, making buttons to perform functions is quite simple. **Note that below the URL field is "Access in background" you will want this selected or your browser will appear after every button press.
2. Using system hotkeys. Setup your buttons in the Stream Deck with the shortcut key for the function, then setup shortcuts in vMix using keyboard presses.
Of the two, here's why I prefer the first method. I use the Stream Deck on a different system than the vMix system, which sits clear across the room. Rather than getup and go out of view of the camera, I can quickly make changes from my seat. I put it on a small laptop that performs no other function than the Stream Deck and my channel's bot and interactive control. Using stream deck I can control both my interactive and vMix with little effort and make it a one man production.
Thought I'd share. How has your experience been?
Is it possible for you to elaborate on using the API calls? Would love to be able to use it to make changes in vMix over hotkeys, which require you to be in the program window.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/20/2016(UTC) Posts: 57 Location: Virginia-USA
Thanks: 5 times Was thanked: 6 time(s) in 4 post(s)
|
https://www.vmix.com/help20/WebScripting.htmlShows how to properly configure a url to control VMix. If your shortcut software can open a web url in the background, such as autohotkey, you can create properly formed URLs in a script and activate it from the hotkey. This works on the vmix system, as well as any system on the same network as vMix. To find out your full url parameters, just build a shortcut. The Function dropdown is what you put after the Function= I recommend to make it easier on yourself, make sure none of your inputs have spaces in the names or you'll have to escape your spaces. Hope this helps! Jon
|
1 user thanked r5dad for this useful post.
|
|
|
Rank: Newbie
Groups: Registered
Joined: 2/3/2017(UTC) Posts: 9
Thanks: 1 times Was thanked: 1 time(s) in 1 post(s)
|
r5dad wrote:https://www.vmix.com/help20/WebScripting.html
Shows how to properly configure a url to control VMix.
If your shortcut software can open a web url in the background, such as autohotkey, you can create properly formed URLs in a script and activate it from the hotkey.
This works on the vmix system, as well as any system on the same network as vMix.
To find out your full url parameters, just build a shortcut. The Function dropdown is what you put after the Function=
I recommend to make it easier on yourself, make sure none of your inputs have spaces in the names or you'll have to escape your spaces.
Hope this helps!
Jon Thank you! This makes the Stream Deck infinitely better now that I don't need to keep vMix in focus.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/19/2017(UTC) Posts: 45 Thanks: 11 times Was thanked: 14 time(s) in 7 post(s)
|
Hi team, I had a go at this the other night, and thanks to your help, and the API cheat sheet, I made this layout: The layout on the deck looks like a basic, small standard switcher, and works with or without focus. Here are some of the buttons and their codes: Mix Code Preview input 1 code Program input 1 code Toggle recording code (Only recording one at this stage) Cut from preview to program (Also discovered that localhost and 127.0.0.1 are interchangable) Works nicely now. Just have to make sure your inputs line up as you like them first. Enjoy :)
|
1 user thanked NewsworthyVision for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/20/2016(UTC) Posts: 57 Location: Virginia-USA
Thanks: 5 times Was thanked: 6 time(s) in 4 post(s)
|
That's pretty cool NewsworthyVision!
Since it doesn't look like you used a specific host IP and did it as localhost, you could save your preset and post it here. If you want. Then others could download it as a template and build theirs.
One of the functions I like to use is turning multiview overlays on/off or even changing them. When we switch games on our stream, I can quickly go into the configuration folder on vmix and select the game we are playing, it immediately updates each input's MV overlay to point to the appropriate game input. But we have a very complicated setup. I'll see if I can get a few screen shots of our setup. Post it possibly tomorrow (Saturday).
I love the API of vMix, literally anything you can do in a shortcut, you can do with Stream Deck!
Jon
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/19/2017(UTC) Posts: 45 Thanks: 11 times Was thanked: 14 time(s) in 7 post(s)
|
|
7 users thanked NewsworthyVision for this useful post.
|
|
|
Rank: Member
Groups: Registered
Joined: 5/24/2018(UTC) Posts: 29 Location: Christchurch
Thanks: 1 times Was thanked: 6 time(s) in 5 post(s)
|
This is very cool and I'll be having a look at the profile you supplied to implement myself. Currently I use the streamdeck as a basic hotkey-presser. So I have scenes bound to a shortcut that is a single keyboard keypress, which I then add to streamdeck as a hotkey. E.g. (I broadcast esports exclusively hence the very specific scene types I have set up) As standard practice I bind my shortcuts to put the relevant input/scene into Preview. In cases where the hotkey launches directly to Active I add a red border to my streamdeck item; and where the button plays a clip I add the little green play icon to it. Of course the problem is that vMix has to be the active application so I'll be looking to switch to that nifty API-driven method from now on!
|
1 user thanked chrisis for this useful post.
|
|
|
Rank: Newbie
Groups: Registered
Joined: 7/17/2018(UTC) Posts: 1 Location: Calgary, Alberta Canada
|
I just ordered the Stream Deck and can't wait to use it in my small studio. The script is amazing BTW, I just wish Vmix would implement it as a controller. They have other Elgato products!
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/19/2017(UTC) Posts: 45 Thanks: 11 times Was thanked: 14 time(s) in 7 post(s)
|
CMG_Richard: From watching todays livestream, it's due to Elgato having higher priorities with bigger software developers, mainly in gaming. vMix would rather be fully integrated, rather than as a separate device using webscripts to activate options. It works, but it's not vMix's ideal scenario.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 4/3/2018(UTC) Posts: 4
Thanks: 1 times Was thanked: 1 time(s) in 1 post(s)
|
Hey there, I am trying to create several scenes that I can switch to during my stream, and for the most part they are working...but with odd behavior. Using vMix and Stream Deck. When I go to change an input (different scene during my stream) I have a wipe transition between scenes, but whichever input is set to the active input, it will flash for a half a second before the wipe transition occurs. This basically destroys the transition as I get a flash of this active input EVERY time I transition on my Stream Deck. I know this is likely a simple solution, but I can't for the life of me figure it out. My API is as such: http://127.0.0.1:8088/API/?Function=OverlayInput1&Input=6 Thanks, GenInternaut
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/20/2016(UTC) Posts: 57 Location: Virginia-USA
Thanks: 5 times Was thanked: 6 time(s) in 4 post(s)
|
It's probably because you are doing overlayinput. So I would recommend your scenes be different inputs entirely. And if you are using overlays that you want to persist across scenes, use the DSK's (the 1-4 below the input) So we use streamlabs for follow alerts and tips, as well as our goals, channel logo, and all our interactive sounds/videos. So I have a transparent input labeled DSK-1 (for dsk1 :) ) and on that input I placed all my persistent overlays. Then I use a merge transition between our scenes. You would use a wipe transition. so if your main scene was called "main", and your cat-cam scene is "cat1", and your persistent overlays on an input "DSK-1" then the following would work. dsk1 active with all your overlays transition to CAT1- http://127.0.0.1:8088/API/?Function=Wipe&Input=cat1 transition to MAIN - http://127.0.0.1:8088/API/?Function=Wipe&Input=main The input names are cap sensitive and I would refrain from spaces in naming them. I also wouldn't use the number reference as it could change. And some more advice, label and use your tabs in vMix. one for scenes, one for overlays, etc. This will make it easier to find stuff once you have a few dozen inputs!! Hope this helps Jon
|
1 user thanked r5dad for this useful post.
|
|
|
Rank: Newbie
Groups: Registered
Joined: 11/13/2018(UTC) Posts: 6
Thanks: 1 times
|
I hope vMix will natively support Streamdeck in the near future. Anyway, has any of you try Bitfocus companion app? It supposed to help Streamdeck integration with vMix and many other live switching or production software. Code:https://bitfocus.io/companion/
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/1/2016(UTC) Posts: 117 Thanks: 88 times Was thanked: 52 time(s) in 31 post(s)
|
Have tested and played aound with companian, but vmix web api is more stable at the momment. companion we get better with time as all the bugs get worked out.
|
|
|
|
Rank: Member
Groups: Registered
Joined: 6/16/2013(UTC) Posts: 13 Location: Netherlands,Lelystad Thanks: 27 times Was thanked: 1 time(s) in 1 post(s)
|
Originally Posted by: SHMD Have tested and played aound with companian, but vmix web api is more stable at the momment. companion we get better with time as all the bugs get worked out. I use this for 2 weeks now and it works perfect. At the mmoment i use companion to switch my switchers (pds 902 and BM Atem) and my timers. When programmed in companion i can call companion the companion functions from vMix by calling the reload of a browser input. I use a midiboard to do it, which has the advantage that it still works if the program leaves his focus. Still have to make some youtube examples in english.
|
1 user thanked doa for this useful post.
|
|
|
Rank: Newbie
Groups: Registered
Joined: 12/24/2016(UTC) Posts: 8 Location: Belfast, Northern Ireland
|
I got my Black Friday Stream Deck yesterday, I think the web interface method should be fine considering it means it's easy to duplicate in a iPad or browser window, but would be cool if there was tighter integration
|
|
|
|
Rank: Member
Groups: Registered
Joined: 7/20/2018(UTC) Posts: 15 Location: Norway
Was thanked: 2 time(s) in 1 post(s)
|
Nice. But how can I have several shortcuts assigned to the same button press? The URL only has one function. I am upgrading from keyboard shortcuts to using a Stream Deck, and I have 4-6 functions on the same shortcut in vMix.
|
|
|
|
Rank: Member
Groups: Registered
Joined: 7/20/2018(UTC) Posts: 15 Location: Norway
Was thanked: 2 time(s) in 1 post(s)
|
Originally Posted by: ebjorno Nice. But how can I have several shortcuts assigned to the same button press? The URL only has one function. I am upgrading from keyboard shortcuts to using a Stream Deck, and I have 4-6 functions on the same shortcut in vMix. I have tried the Multi-Action function of the Stream Deck, but there is a delay between the actions that renders this feature useless.
|
|
|
|
Rank: Member
Groups: Registered
Joined: 7/20/2018(UTC) Posts: 15 Location: Norway
Was thanked: 2 time(s) in 1 post(s)
|
Ok guys, after research and testing I finally figured this out.
Step 1: In vMix Settings>Scripting, add a script.
Step 2: On each new line, write one function code (Function=ActiveInput&Input=3). Write as many functions as you like.
Step 3: Use the URL http://localhost:8088/API/?Function=ScriptStart&Value=live The value being the name you gave the script in vMix, in my case "live".
Step 4: Add this URL to the Stream Deck button of choice.
Hopefully helpful to new users! This is really an awesome way of using the Stream Deck, as the script is a text document and can be exported/imported, and you only have to change the code in vMix and not on every button in the Stream Deck program.
|
2 users thanked ebjorno for this useful post.
|
|
|
Rank: Member
Groups: Registered
Joined: 11/24/2017(UTC) Posts: 12
|
Is it possible to call multiple functions in a single API call using the URL feature on stream deck? like for example the below? I need to call the below functions using 1 button API.Function("PlayPause",Input:="Countdown.gtzip") Sleep(200) API.Function("SetDynamicValue1",Value:="Started") Originally Posted by: NewsworthyVision Hi team, I had a go at this the other night, and thanks to your help, and the API cheat sheet, I made this layout: The layout on the deck looks like a basic, small standard switcher, and works with or without focus. Here are some of the buttons and their codes: Mix Code Preview input 1 code Program input 1 code Toggle recording code (Only recording one at this stage) Cut from preview to program (Also discovered that localhost and 127.0.0.1 are interchangable) Works nicely now. Just have to make sure your inputs line up as you like them first. Enjoy :)
|
|
|
|
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