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
congoblue  
#1 Posted : Wednesday, December 27, 2023 9:05:00 PM(UTC)
congoblue

Rank: Member

Groups: Registered
Joined: 10/30/2023(UTC)
Posts: 19
United Kingdom
Location: Hull

Thanks: 2 times
Was thanked: 5 time(s) in 5 post(s)
I wanted to use a Streamdeck to select "Next" camera, Cut, Fade, Start/Stop recording and streaming, and have the streamdeck buttons light up to show which camera is active and whether record/stream is active by reading back the XML status from VMix.

If this already exists, I couldn't find it, so I have created a couple of Streamdeck plugins to do this, based on Streamdeck-Api-Request plugin from https://github.com/mjbnz/streamdeck-api-request

The first one is for Record/Stream buttons and lets you pick 2 button icons, one for "Active" and one for "Inactive".
https://github.com/congoblue/streamdeck-vmix-api

The second one is for Input select and monitors the Active/Preview status of VMix so you can create input buttons which show different colours when the input is selected for Preview, Program/Active, and unselect, e.g. Red for "Live", Green for "Preview" and grey for "Not selected".
https://github.com/congoblue/streamdeck-vmix-input-api


This lets you create something like a classic production switcher panel on Streamdeck.

https://github.com/congoblue/streamdeck-vmix-input-api/raw/main/example.jpg


I hope this is helpful to people and might save someone a bit of coding. These plugins could be refined to "hide" a lot of the API stuff since it is the same
thanks 1 user thanked congoblue for this useful post.
miro_lee on 1/11/2024(UTC)
guidogast  
#2 Posted : Monday, January 22, 2024 7:57:40 PM(UTC)
guidogast

Rank: Advanced Member

Groups: Registered
Joined: 5/19/2017(UTC)
Posts: 83
Man
Netherlands
Location: The Netherlands

Thanks: 12 times
Was thanked: 34 time(s) in 22 post(s)
Cool! But why not use the built-in activators in vMix?
thanks 1 user thanked guidogast for this useful post.
doggy on 1/22/2024(UTC)
congoblue  
#3 Posted : Monday, January 22, 2024 9:58:32 PM(UTC)
congoblue

Rank: Member

Groups: Registered
Joined: 10/30/2023(UTC)
Posts: 19
United Kingdom
Location: Hull

Thanks: 2 times
Was thanked: 5 time(s) in 5 post(s)
Originally Posted by: guidogast Go to Quoted Post
Cool! But why not use the built-in activators in vMix?


Is there a way to feedback status to the Streamdeck buttons? So you can show the Preview / Program status on the Streamdeck?
I couldn't work out how to do it. But I would be very happy to find out how, if there is.
guidogast  
#4 Posted : Monday, January 22, 2024 10:14:28 PM(UTC)
guidogast

Rank: Advanced Member

Groups: Registered
Joined: 5/19/2017(UTC)
Posts: 83
Man
Netherlands
Location: The Netherlands

Thanks: 12 times
Was thanked: 34 time(s) in 22 post(s)
Yes, that's what Activators are for :)
thanks 1 user thanked guidogast for this useful post.
congoblue on 1/22/2024(UTC)
congoblue  
#5 Posted : Monday, January 22, 2024 10:48:43 PM(UTC)
congoblue

Rank: Member

Groups: Registered
Joined: 10/30/2023(UTC)
Posts: 19
United Kingdom
Location: Hull

Thanks: 2 times
Was thanked: 5 time(s) in 5 post(s)
Thanks, don't know how I missed that.

My plugin is slightly different for my purpose as it allows icons to be used on the buttons for feedback rather than just solid colours. But, I probably would not have gone that far if I had checked the youtube tutorial videos.

Also, if using VMix shortcuts to trigger actions from Streamdeck, it is easy to break the shortcut by moving buttons or copying profile on the Streamdeck app, because the key scan codes change. Using API to control VMix is a bit more robust in this respect, you can copy/move the buttons without it breaking.
thanks 1 user thanked congoblue for this useful post.
doggy on 1/22/2024(UTC)
guidogast  
#6 Posted : Monday, January 22, 2024 10:59:03 PM(UTC)
guidogast

Rank: Advanced Member

Groups: Registered
Joined: 5/19/2017(UTC)
Posts: 83
Man
Netherlands
Location: The Netherlands

Thanks: 12 times
Was thanked: 34 time(s) in 22 post(s)
Originally Posted by: congoblue Go to Quoted Post
Thanks, don't know how I missed that.

My plugin is slightly different for my purpose as it allows icons to be used on the buttons for feedback rather than just solid colours. But, I probably would not have gone that far if I had checked the youtube tutorial videos.

Also, if using VMix shortcuts to trigger actions from Streamdeck, it is easy to break the shortcut by moving buttons or copying profile on the Streamdeck app, because the key scan codes change. Using API to control VMix is a bit more robust in this respect, you can copy/move the buttons without it breaking.


A fair enough, that's usecase enough for this particular implementation. Thanks for expanding on it :)
Users browsing this topic
Guest (2)
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.