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
LeeL  
#1 Posted : Friday, December 1, 2023 3:17:27 PM(UTC)
LeeL

Rank: Advanced Member

Groups: Registered
Joined: 4/17/2020(UTC)
Posts: 50
United States
Location: Washington DC

Thanks: 6 times
Was thanked: 4 time(s) in 2 post(s)
The value in offering this enhancement would...

1. Built New Layer/Multiview with a couple of buttons.
By adding this small enhancement a user could rebuild a new show with a few button presses.
You could change the background, graphics, and entire layout with only one or two shortcuts, not 10 for every change.

2. SPEED = Money
By allowing the vmix user to create 1 shortcut instead of 10 for every change, it saves valuable time and therefore money.

How it would work


The Layer on or off function only allows for one value.
For example if you multi / layer is #1 or it is named HOST then shortcut to turn off layer 5 would be...

(my syntax might not be exactly correct but you get the idea)

LayerOff Input=HOST Value=5


But if you have 4 or 5 multiview/layer inputs chances are each need to be cropped or moved to align in the layered boxes. Especially if they are calling-in via vmixcall.

The Problem:
In to enable layer 5 it would require you to turn OFF layer 2,3,4 and 5 in order to endable a new layer. The layers might not be exactly lined up and if you do not turn off the non-used layers they can bleed into the frame. This is why using the LAYER OFF function is so handly.

But to make sure no other layers are activated by mistake you are required to create up to 10 shortcuts to turn off each unused layer.

SOLUTION:
Please add a "LayerOff Input=host value=ALL"
The other solution that I am surprised was not implemented when the shortcut was introduced was a comma list of Layers to turn off.

PLEASE add the following feature to eliminate the need to create multiple unnecessary shortcuts.

Instead of the current system with duplicate short cuts:

Guest1 ON (D1) LayerON
Guest2 OFF (D1) LayerOFF
Guest3 OFF (D1) LayerOFF
Guest4 OFF (D1) LayerOFF
Guest5 OFF (D1) LayerOFF
Guest6 OFF (D1) LayerOFF
Guest7 OFF (D1) LayerOFF
Guest8 OFF (D1) LayerOFF
etc ...

SUGGEST NEW FUNCTION SHORTCUT

"LayerOff Input=host value=2,3,4,5,6,7,8"
the same could be implemented for the LayerON function.
doggy  
#2 Posted : Friday, December 1, 2023 6:28:34 PM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 284 times
Was thanked: 921 time(s) in 760 post(s)
Originally Posted by: LeeL Go to Quoted Post

SOLUTION:
Please add a "LayerOff Input=host value=ALL"
The other solution that I am surprised was not implemented when the shortcut was introduced was a comma list of Layers to turn off.

PLEASE add the following feature to eliminate the need to create multiple unnecessary shortcuts.

Instead of the current system with duplicate short cuts:

Guest1 ON (D1) LayerON
Guest2 OFF (D1) LayerOFF
Guest3 OFF (D1) LayerOFF
Guest4 OFF (D1) LayerOFF
Guest5 OFF (D1) LayerOFF
Guest6 OFF (D1) LayerOFF
Guest7 OFF (D1) LayerOFF
Guest8 OFF (D1) LayerOFF
etc ...

SUGGEST NEW FUNCTION SHORTCUT

"LayerOff Input=host value=2,3,4,5,6,7,8"
the same could be implemented for the LayerON function.


Disclaimer: until FR implemented.


one can easely put multiple shortcut functions under the same key or put them all in one single script
If in simple script (vb.net) editing them is also easy by uncommenting/commenting to apply the function to specific layers

also an option is to create a shortcut that contains a value of wanted layers in the form of x,y,z that assigns this to a dynamic valye whereupon a script can read this and apply to the layers mentioned
Again here both calls can be linked to the same shortcut key or put into a single script . one coud specify the list of layer or specify an "All"


Code:


'API.Function("SetDynamicValue1",Value:="All")
'API.Function("SetDynamicValue1",Value:="2,4,5,10")
'choose one of the above or  perform them with another shortcut before calling the rest of the  script below

dim xml as string = API.XML()
dim x as new system.xml.xmldocument
x.loadxml(xml)

dim theLayers as string = ""
dim layer as string = ""

theLayers = (x.SelectSingleNode("//dynamic/value1").InnerText)
'or 
'theLayers = "2,4,5,10" directly if one doesnt want to use dynamic values ignoring the XML read 


Dim myLayers() As String = theLayers .Split(","c)

if myLayers(0) = "All"
  
   For L as integer = 1 to 10
      API.Function("LayerOnOff",Input:="InputName",Value:=L)
   next

else

   For Each layer in myLayers
          API.Function("LayerOnOff",Input:="InputName",Value:=layer)
   Next

end if
          
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.