logo

Live Production Software Forums


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

Notification

Icon
Error

5 Pages123>»
Options
Go to last post Go to first unread
DWAM  
#1 Posted : Monday, February 6, 2017 2:58:01 PM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
Hey vMixers!

vMix UTC is a donationware 3rd party application created by Elgarf ( http://forums.vmix.com/d...spx?g=profile&u=2957 ). Making a donation is a way to support the project and its creator for the common good of all.

UTC stands for "Universal Title Controller". Its main purpose is to build personalized UI (User Interface) for handling XAML titles in vMix, but it also allows to operate most vMix functions remotely. It is somehow an alternative to vMix Web Controller (which it shares features with), but it has more powerful features.

vMix UTC is built upon vMix API commands which are defined in "functions.xml". So it allows not only to manage titles, but also to switch inputs, to start/stop recordings and streaming for example. Besides it allows to use XML datasource and to monitor vMix inputs and outputs via NDI.

It's important to understand that vMixUTC is not a substitution tool for creating XAML files which still require the use of vMix Title Designer (or MS Expression Blend i.e.). vMix UTC will be useful for managing the content of your XAML titles, for controlling their use in your production and it allows to use dynamic features in titles.

Due to the lack of documentation, I decided to provide information and examples aiming at helping vMix users to get started with vMix UTC. But help is welcome, feel free to share your tips here!

To get started


- download last version of vMix UTC here : http://forums.vmix.com/d....aspx?g=posts&t=6468

- extract files to a folder on your vMix computer or any other computer, create a desktop icon if desired and start vMixController.exe

- first thing to do is to indicate the IP address of the vMix host that Vmix UTC will be used to control
> if you installed vMix UTC on the same computer, indicate 127.0.0.1 in IP address field at bottom
> otherwise, give the IP address and port as indicated in vMix Settings > Web Controller Tab

- once correctly configured, vMix UTC will show a green indicator with "Online" mention.

VMix UTC User Interface and Menus


- "File" menu is standard. It allows to create new projects, to open previously saved ones and to save your work.
vMix UTC generates ".vmc" files

- "Create" is the most important menu. It allows to select "Widgets" which are objects we can work with to build a VMC project.
All widgets can also be chosen by right-clicking the black workspace.

- "Lock" will "freeze" your project to prevent from messing things around. We use this when the project is over.
Note: it is also to possible to "lock" each widget individually.

- "Update State" is to be used when your vMix project has changed, so that vMixUTC can update its internal state when necessary. For example when you add an input in vMix, vMix UTC won't know about it until you "Update State"

vMix UTC Widgets


There are 9 widget types: buttons, labels, texts, lists, scores, timers, external data, containers and multi states.

- Labels are meant to name areas in your project so that you can group widgets depending on their use. It's only for visual confort.
- Text fields are widgets you can write into to update your titles on the fly. They need to be mapped to a field in your XAML titles.
- List widgets are useful to make a "list" of values that you can select quickly in a dropdown menu to fill your XAML title.
- Score widget is an optimized solution for managing scoreboards.
- Timer widget can be either a duration or a countdown timer.
- Buttons are the more important widgets as they can contain many commands either for controlling vMix but also for controlling other widgets in the project.
- ExternalData allows to use XML files into your projects. It's very powerful to build highly dynamic titles (like sport live stats for example)
- Container widget allows to build complex VMC projects out of other VMC files. It's a way to import a VMC file into a VMC file.
- Multi State widget allows to control simultaneously several vMix instances over the network. It syncs all commands.

vMix UTC Functions


Button Widgets provide a "script" area where you can use "functions". Most of these functions are based on vMix API.
Check vMix Developper API information and vMix Shortcut Function Reference for more information:
http://www.vmix.com/help18/DeveloperAPI.html
http://www.vmix.com/help...utFunctionReference.html

But some functions are specific to vMix UTC. These are internal functions.
Here they are:

- ExecLink: it allows to trigger other widgets behaviour.
- Timer: it pauses a script execution for a period of time (like a "sleep" or "wait" command)
- UpdateState: it allows to force a state check
- GoTo: it is used to make a loop inside buttons script

More information about these internal functions will be given through examples later on.

It's time to get started!
thanks 20 users thanked DWAM for this useful post.
vijay6672 on 2/6/2017(UTC), stigaard on 2/6/2017(UTC), ask on 2/6/2017(UTC), Stavlin on 2/7/2017(UTC), elgarf on 2/7/2017(UTC), sinc747 on 4/5/2017(UTC), Teye on 4/9/2017(UTC), mburel1980 on 4/22/2017(UTC), bluesgeek on 9/14/2017(UTC), ON.tv Channels on 9/24/2017(UTC), atmonauti on 10/17/2017(UTC), maven2 on 7/18/2018(UTC), monamiga on 11/18/2018(UTC), ThomasK on 11/25/2018(UTC), shuizhiyu on 8/17/2019(UTC), senatorsum on 10/24/2020(UTC), divan on 11/26/2021(UTC), samirbridi on 2/9/2022(UTC), Nelson0216 on 10/3/2023(UTC), saiapinuv@gmail.com on 11/3/2023(UTC)
DWAM  
#2 Posted : Monday, February 6, 2017 3:00:50 PM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
Howto Use Text Widget in vMix UTC

This first video is a basic tutorial showing how to use:

- Label Widgets to organize your project
- Text Widgets to send content to XAML fields in vMix
- Button Widgets to select a title in vMix and send it on air using overlays
- Button Widgets Functions to create text "visual effects" like Blinking or Rotating Texts in your xaml titles

It also shows you how to:
- duplicate any widget
- start using some vMix UTC commands like "SetText", "Timer" and "GoTo"
- trigger actions between widgets

vMix title "NewsHD.xaml" was used for the demo.

This demo was done in realtime, so it shows you exactly the entire process without "cheating". I realized afterwards I did a small mistake when naming one of the button (bottom left button was supposed to be be called "Stop Blinking" but it's no big deal!)

>>> Watch the video:


Notes - 2 things need to be explained

1. When using the "SetText" command, I indicate "0" in the "title" field. If I wanted to change the "description" field, I would have written "1".
Why?

Vmix UTC commands exchange information with vMix according to vMix API. So it's sometimes necessary to read this XML file.
In your browser, type : http://vmix-ip-address:8088/api/ (as indicated in vMix Settings > Web Controller).
This page indicates the state of your vMix project. In the <inputs> section, we can find our title "NewsHD.xaml"

Code:
<input key="d3537d2f-f27c-4914-91ca-f0dd48af1901" number="1" type="Xaml" title="NewsHD.xaml" state="Paused" position="0" duration="0" loop="False" selectedIndex="0">NewsHD.xaml
<text index="0" name="Headline">Breaking News</text>
<text index="1" name="Description">vMixUTC is a great add-on to vMix !</text>
</input>


Some information might be a little different for you (the input key for example, but it's OK).
What is important here, is "<text index="0" name="Headline">" and "<text index="1" name="Description">"
Now you understand vMix UTC uses the text index - 0 or 1 - to know which field will be changed by the "SetText" command.

2. I also use the "GoTo" command with 0 as a parameter.
What does it mean?

This command is used to create a loop inside the script. In this example, the button contains many commands to execute one after the other. The last command "GoTo" with command index = 0 makes the script go back to the very first command over and over. This loop will never stop unless I create another button to force it to stop.

Caution: Never use "GoTo" function without a timer(*) command inside the script.

(*) vMix UTC "Timer function" is usually called "Sleep" or "Wait" in many coding languages. It must not be confused with "Timer Widget"
...
thanks 6 users thanked DWAM for this useful post.
vijay6672 on 2/6/2017(UTC), ask on 2/6/2017(UTC), mburel1980 on 2/7/2017(UTC), monamiga on 11/17/2018(UTC), mjgraves on 1/16/2019(UTC), divan on 11/26/2021(UTC)
DWAM  
#3 Posted : Tuesday, February 7, 2017 9:04:22 PM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
Howto use List Widget in vMix UTC

This video will mainly show you how to use:
- List Widget to feed a lower-third title with speakers for example,
- List Widget to feed multiple xaml titles from a single list,
- List Widget as an internal Datasource to feed other widgets,
- List Widget features to save/load data to/from a file,
- Score Widget
- Timer Widget

vMix titles "NewsHD.xaml", "TextHD.xaml" and "ScoreBoardHD2.xaml" are used for the demo.

>>> Watch the video:



Notes:

List widget works pretty much the same way as vMix Title Editor where you can define several field values for a title.
The most common example is a speakers list where you have a field for the name and another one for the occupation in a lower-third title.

You can type your values directly in the widget, but vMixUTC also supports TXT files to import values from.
The values are separated by the | symbol like this:
speaker1|occupation
speaker2|occupation
speaker3|occupation
By clicking the "table" option, your List Widget will act as a spreadsheet or a database with rows and columns.

Unlike vMix Title Editor, vMix UTC List Widget is able to spread/split the values across multiple xaml titles. This is very convenient when you have many different titles which need to be "synced".
For example with a list like this - column1|column2|column3 - you can do this:
- column1 mapped to title1.xaml
- column2 mapped to title2.xaml
- column3 mapped to title3.xaml

** Tip:
If you need a column value to be mapped to 2 xaml different titles, you must copy this column twice. For example:
- column1 (name) mapped to title1.xaml
- column2 (occupation) mapped to title2.xaml
- column3 (misc) mapped to title3.xaml
- column4 (name) mapped to title2.xaml
Here columns 1 & 4 are the same data sent to different titles.

As shown in the video, vMix UTC List Widget can also act as a "datasource" inside a VMC project to feed other widgets.
...
thanks 3 users thanked DWAM for this useful post.
monamiga on 11/17/2018(UTC), burie on 3/28/2020(UTC), divan on 11/26/2021(UTC)
DWAM  
#4 Posted : Thursday, February 9, 2017 9:49:35 AM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
Howto sync multiple timers in vMixUTC

This video will mainly show you how to use:
- Timer Widget to create a chronometer for a game total duration,
- Timer Widget to create countdowns,
- Timer Widget format syntax for displaying time in many ways,
- ExecLink functions in Button Widgets & Timer Hotkeys to start, pause and reset your timers,
- Button Widget to add time to the penalty timer with a single click,
- Timer Widget OnStart, OnPause and OnStop features to trigger actions

For this demo I created a specific xaml title. See attached file if you want to use it.

>>> Watch the video:


Notes:

Regarding Timer Widget, it is important to understand how to use "Default" and "Current" time settings.
- For a chronometer, indicate a maximum value for "Default Time". When started, "Current" shows time so far.
Ex: For a football game, I would indicate 3 hours (2x45min + 2x5min (Overtime) + 2x15min (Extratime) + penalties time)
- For a countdown, first indicate the duration in "Default Time" and click "Reverse". When started "Current" shows remaining time.

Timer Widget settings contains many Hotkeys.
When selected and defined by a "Link Name" or a "Key", these hotkeys can be triggered by Buttons ExecLink function or by pressing the defined key (like Shortcuts in vMix).

Timer Widget also have 3 special fields named "OnStart", "OnPause" and "OnStop". They act the same way as ExecLink function. They are used to trigger actions in other widgets.
For example, if you type in "DoThis" in the OnStart field, when you start this timer, any other widget that has a HotKey defined as "DoThis" will be triggered.
In the video, I used the OnStop command in Penalty Timer to auto-trigger a special effect button called "On Penalty Stop FX" when penalty time is over.

Timer Widget formats time according to the format field. It accepts an "escape" character which is the \ symbol.
Here are some examples :
- hh\:mm\:ss : is the default value for hours, minutes and seconds > 00:00:00
- mm\:ss : will convert hours into minutes. Ex : For 1h50 will be 110:00.
- m\:ss : has a maximum value of 1 hour. It is useful for game periods or penalties. It won't show preceding 0 under 10 minutes > 10:00 > 9:59 > 9:58...
- ss : has a maximum value of 1 minute. It will show preceding 0 under 10 seconds > 10 > 09 > 08...
- s : has a maximum value of 1 minute. It won't show preceding 0 under 10 seconds > 10 > 9 > 8...

Each extra character must be escaped:
- m\'ss\" : will show 49'13"
- ss\sec : will show "wrong format"
- ss\s\e\c : will work and show 44sec

** Caution : vMix UTC Timers are sometimes less accurate than vMix Timers. This is due to the nature of sending requests to vMix API over HTTP every second.
...
File Attachment(s):
sync-timers.zip (17kb) downloaded 213 time(s).

You cannot view/download attachments. Try to login or register.
thanks 3 users thanked DWAM for this useful post.
monamiga on 11/18/2018(UTC), burie on 3/28/2020(UTC), divan on 11/26/2021(UTC)
DWAM  
#5 Posted : Friday, February 10, 2017 8:34:14 PM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
post moved below...
onio  
#6 Posted : Saturday, February 11, 2017 2:36:07 AM(UTC)
onio

Rank: Newbie

Groups: Registered
Joined: 1/24/2017(UTC)
Posts: 2
Location: Mongolia

Hi

how to insert automatic title in movie? +18+12 etc
DWAM  
#7 Posted : Saturday, February 11, 2017 4:37:43 AM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
Hi

there is no such thing as "automatic titles" in vMix. And you should have asked your question in the "general" section of the forum. Not here, this is not relevant to this topic.

There are 2 ways to do it.
- you can create images (same resolution as your vMix project) with your +12 +16 +18 mentions
- you can also create a xaml title with Title Designer.

In both cases, you will use an "overlay" to show this "over" your video.

BTW do not reply here if needed and check the documentation and the forum to learn how to make a title. Thank you.
DWAM  
#8 Posted : Saturday, February 11, 2017 5:52:38 AM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
Hi!

Just for fun, a short video showing how to extend vMix multiviews features with vMixUTC.

Basically, it is a (very ugly) prototype making an extensive use of SetMultiviewOverlay in vMix UTC to control a SINGLE multiview input. It allows 3 different layouts and to switch virtually any input (here only 5 inputs were used but more is possible) to any position anytime. I made "default presets" buttons for each layout aswell as independent switches for each position inside the layouts.

It could be done only with vMix shortcuts but it would be very difficult to use. Here everything's easy, you see what you do...

The updated video :


PS : obviously here for the demo, I screencaptured vMixUTC and used randomly selected videos/images on my computer for a proof-of-concept. In production, this can be adapted with cam inputs, media and NDI sources.
thanks 3 users thanked DWAM for this useful post.
vadim_d on 3/24/2017(UTC), monamiga on 11/18/2018(UTC), PTSinger on 8/13/2020(UTC)
DWAM  
#9 Posted : Saturday, February 11, 2017 1:17:59 PM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
Howto use vMix UTC as a Remote and Independent Switcher for External2

Use case:
Sometimes in a live production, it is required to use vMix External2 (physical or NDI) Output to feed a beamer or some monitors with a different content than Program Output. vMix UTC can help for this by allowing the creation of a graphic interface for a second operator on a second computer to switch inputs without altering main director's switching. Besides, vMix UTC also features NDI support which gives us the opportunity to integrate a Monitoring Widget in the interface.

Though vMix UTC was initially created to be a Title Controller, it became a versatile and powerful companion to vMix. Nowadays, it can be used for many purposes like this one (where no title is concerned at all) or to empower vMix features by creating a specific and dedicated User Interface for many use cases as shown in my previous video demonstrating how to control a dynamic multiview input (see previous post).

This video will mainly show you how to use:
- ExternalData Widget to include and view a NDI source directly in vMix UTC,
- Button Widget with SetOutputExternal2 function to create input switches

>>> Watch the video:


Notes:
This video is very explicite. Nothing more to explain in details.
Basically you create a NDI Monitor for External2, then you create as many buttons as you need according to your inputs and finally you can also create a button to "auto-follow" PROGRAM OUT which can be useful if, by moments, External2 and Program Outs need to be the same.

** For this video I used pre-recorded video files. When you use camera inputs, you have the possibility to create a NDI Monitor for each camera, therefore to create a dedicated Multiview in vMix UTC. For this to work, make sure to activate NDI for camera inputs in vMix Settings.

Hope you'll like it. Do not hesitate to ask questions if you want more information. And you're also welcome to share your vMix UTC tips and use cases in this topic.
...
thanks 3 users thanked DWAM for this useful post.
monamiga on 11/18/2018(UTC), billh2020 on 4/28/2019(UTC), divan on 11/26/2021(UTC)
DWAM  
#10 Posted : Sunday, February 12, 2017 3:57:18 PM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
Howto control a dynamic scorebug with vMixUTC

Scorebugs in sport production are more and more sophisticated. vMixUTC is a perfect tool for this, even when using a basic xaml title and no complex coding.
Here, you will see how to create and control a basic dynamic scorebug with multiple triggers.

This video starts with a functional demo and will show you how to use Trigger Functions to show and hide elements in your scorebug.

For this demo I created a very basic but specific xaml title with 2 images. See attached file if you want to use it.

>>> Watch the video:


Notes:

1. Creation of the xaml title
The idea is to create a xaml title with multiple elements that combine together. Here 2 images compose the scorebug:
- the upper part is for the score and the clock
- the lower part is meant to be shown or hidden with triggers or on demand. It is composed of 2 objects: an image called "scorebugxtra" and a text area called "XtraInfo"

2. As seen before you will need to use vMix API status to identify the elements in your xaml.
Use your browser to request it using http://YoutvMix-IP:8088/api/ as a URL.

Here's the report for scorebug.xaml
Code:
<input key="e0892642-9bc2-4dff-af4e-57c71ba29521" number="3" type="Xaml" title="scorebug.xaml" state="Paused" position="0" duration="0" loop="False" selectedIndex="0">
scorebug.xaml
<text index="0" name="HomeTeam">BAR</text>
<text index="1" name="AwayTeam">MAD</text>
<text index="2" name="HomeScore">2</text>
<text index="3" name="AwayScore">1</text>
<text index="4" name="Time">44:00</text>
<text index="5" name="XtraInfo">vMix UTC rocks!</text>
<image index="0" name="Object">
file:///D:/vMix-Projects/_vMixUTC/Tutorials/scorebug.png
</image>
<image index="1" name="scorebugxtra">
D:/vMix-Projects/_vMixUTC/Tutorials/scorebug-xtra.png
</image>
</input>

It shows that this title is made of 6 text values (text index="0" to text index="5") and 2 images (image index="0" and image index="1").
We will mainly use those named with "Xtra", that is <text index="5" name="XtraInfo"> and <image index="1" name="scorebugxtra">.

Now we are ready to use vMix UTC to build our User Interface to control the scorebug title.

3. I will not explain again how to create Button, Text, Timer or Score Widgets used in this demo. Also we have already seen how to use internal function "ExecLink" which allow to trigger actions within Widgets. Check the previous posts if you need more information.

Only 2 new functions are used in this tutorial : "SetText" and "SetImageNative". They allow to update text fields and image paths in xaml titles from Button Widgets.

You will see I created 2 Red Buttons. These are "Sub Functions" to simplify the programming. The Widgets we click on (the green ones) call these functions to execute frequently the same operation. It avoids to "write" the same routine in several different Buttons and it makes it easy to update many Widgets at once (in case we change the image path for example).

4. About SetImage and SetImageNative.
Latest release of vMix UTC introduced 2 new functions: SetTextNative and SetImageNative. So what's the difference with previous SetText and SetImage functions? Basically they do the same thing, but not the same way.
The "Native" functions will use vMix indexes where Text and Image are indexed separately, when the original functions use vmix UTC internal state indexes.
Here's an example based on the report for scorebug.xaml I copied above :
- with SetImageNative, the index to use for updating "scorebugxtra" is 1 >> <image index="1" name="scorebugxtra">
- with SetImage, the index to use for updating "scorebugxtra" is 7, as it is the 8th object in this input (8 - 1 = 7. Index starts at 0)

5. As you might already have understood if you watched the video, the principle is simple:
- when we need it, we activate the appearance of scorebugxtra image by specifying its path and we define a text value for the area,
- when we don't need it anymore, we simply set the image path and the text value to... nothing!

This can be done with more objects at the same time. It is also possible to swap images with different colors. There are no limits for your creativity. This was a basic example just to get you started.

That's it. Do not hesitate to ask if you need more explanation about this. I think the video explains pretty well the principle. It's up to you now to experiment and create awesome scorebugs titles for your productions.
...

File Attachment(s):
scorebug.zip (9kb) downloaded 251 time(s).

You cannot view/download attachments. Try to login or register.
thanks 2 users thanked DWAM for this useful post.
monamiga on 11/18/2018(UTC), divan on 11/26/2021(UTC)
DWAM  
#11 Posted : Thursday, March 23, 2017 12:53:15 PM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
Howto use vMixUTC for triggering vMix shortcuts from remote computers

Context:
When we have a lot of shortcuts in vMix, it might be convenient to be able to use them from multiple computers with several operators. vMixUTC can do this very easily. It basically allows vMix shortcuts to be executed from remote computers over the network.

Here's an example how you can do this:

- Let's say you have a shortcut in vMix which is associated to letter K on your keyboard.
- In vMix UTC, create a new Button Widget, give it a name
- Click the + symbol next to "script" and select "KeyPress" in the "Command" dropdown menu
- When done, the fourth field updates and now shows "Key" as a name, simply indicate the letter K (as in vMix) in this field
- Click OK. That's it! When you press this button, the letter K is sent to vMix as if it was local keypress.

If you want, you can also trigger this button from the keyboard on the computer running vMixUTC:

- Click the "Properties" icon for your button
- Tick the "Execute" box and select the letter K in the "Key" dropdown.
- Click OK. You're done!

Now when you press the K key on this computer's keyboard, your shortcut is executed on the vMix host.

If you need more shortcuts to be set, simply click the "Copy Widget" icon in your first button and modify the name and the shortcut trigger according to your vMix setup.

Hope you like it!

PS: Because vMixUTC runs on windows tablets, you can also use this to control vMix with a touch screen!
PS2 : vMixUTC also supports Midi controllers like Akai APC Mini through the Midi Widget.

thanks 5 users thanked DWAM for this useful post.
Ario on 4/26/2018(UTC), monamiga on 11/18/2018(UTC), airvoron on 2/25/2019(UTC), jassonf478 on 6/22/2020(UTC), divan on 11/26/2021(UTC)
DWAM  
#12 Posted : Tuesday, April 4, 2017 2:34:23 PM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
Howto use vMix UTC to schedule commands in vMix

It is a regular subject in the forum: "How can I schedule recording to start automatically?" or "How can I start any action in vMix at a particular time?".
There are many answers and various methods to this, but vMix UTC is certainly one of the easiest and the most appropriate one.

Here's a small howto to help you to run any command in vMix at a defined time.

1. Open vMix UTC. It can be either on the same computer as vMix or any other computer on the network

2. Create a "Button Widget":
- First give it a name, for example "Recording"
- In the Hotkeys section, tick the "Execute" box and fill the "Link" area with a reference name like "StartRecording". This link name is used to call this button action from other widget.
- Finally, click the + sign in the "Script" area to create a new Command. For this example, select "Start Recording" in the dropdown menu
- That's it for this part. Click OK. You can try this command by clicking the Button: Recording should start in vMix. If not, you did something wrong! ;o)

3. Now create a "Clock Widget":
- First give it a name, like "My Schedule Commands" for example
- Click the + sign in the "Scheduler" area
- Select the time when you want the command to be executed and fill the "ExecLink" area with the exact same name you gave to the Execute Link at step 2 above. Here, you should write "StartRecording"
- That's it! Click OK to validate your schedule task.

Et voila! At the exact time you indicated, the Recording button is called by the Clock Widget and vMix starts recording.

Obviously, you can use any command here. For example, you could start a playlist, switch to any input, trigger an overlay, play a video or whatever.

Notes:
- The Clock Widget accepts many schedule tasks to be executed. You can create as many "ExecuteLinks" as you need towards several Button Widgets.
- Button Widgets can also contain several commands. Simply click the + sign to add another command.

That's it! Hope you like it. Have fun vMixing!
thanks 8 users thanked DWAM for this useful post.
sinc747 on 4/5/2017(UTC), Teye on 4/9/2017(UTC), Jedda on 4/10/2017(UTC), Chircanu on 4/12/2017(UTC), ON.tv Channels on 9/24/2017(UTC), edd on 11/2/2018(UTC), monamiga on 11/18/2018(UTC), divan on 11/26/2021(UTC)
spencerm24  
#13 Posted : Sunday, October 22, 2017 3:30:47 PM(UTC)
spencerm24

Rank: Advanced Member

Groups: Registered
Joined: 9/23/2017(UTC)
Posts: 249
Location: Toronto

Thanks: 13 times
Was thanked: 19 time(s) in 17 post(s)
This is hands down the best program for vMix to do sports! My question, and I've tried to look for answers in your guides, but say I want a timer to take its source from one of two timers depending on game situation, is there a way to make say Timer C take its time from Timer A or B and make which source it is selectable? I hope that made sense. Basically I envision a button saying where to take the time from depending on the game situation.

My scenario is: in hockey, say at 19:00 team "A" gets a penalty.....and at 18:00 team "B" gets a penalty, the resulting 4 on 4 is for 1 minute, or the remaining time from the penalty in Team "A". I have 3 timers, one for each team's powerplay, and one for 4 on 4. So I want the 4 on 4 timer to either represent the time remaining in team A, or B's penalty.
DWAM  
#14 Posted : Monday, October 23, 2017 6:31:54 AM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
Hi Spencer

Thanks for your interest.

I can't see any easy, obvious or direct solution for this.

However you could achieve this using the "MultiviewOverlay" command, by toggling on or off 3 different timers that would be on top of each other at the exact same position.

overlay 1 is main timer > overlays 2 & 3 are off > you see main timer
overlay 2 is jail timer team A > overlays 1 & 3 are off > you see overlay 2
overlay 3 is jail timer team B > overlays 1 & 2 are off > you see overlay 3

Could be done this way, but if you look at hockey on TV, you'll notice they don't do it this way. I wouldn't either.
I find it easier and more logical to show all 3 timers in my bug if they're needed.

Guillaume
IceStream  
#15 Posted : Monday, October 23, 2017 11:22:54 AM(UTC)
IceStream

Rank: Advanced Member

Groups: Registered
Joined: 3/7/2012(UTC)
Posts: 2,634
Man
Location: Canada

Thanks: 33 times
Was thanked: 506 time(s) in 475 post(s)
@ spencerm24

I am not sure of your graphical representation of the different penalty situations, but essentially, the 4 on 4 time remaining is the time on the first penalty so what I did/do is simply change/update the subtitle from "penalty or Powerplay to 4 on 4" rather than start a new clock.


Ice
bh1054010  
#16 Posted : Saturday, January 13, 2018 5:19:54 AM(UTC)
bh1054010

Rank: Member

Groups: Registered
Joined: 10/3/2017(UTC)
Posts: 21
Location: China

Was thanked: 1 time(s) in 1 post(s)
Does UTC support universal shortcut?
I found that only if I activate UTC the shortcut can work.
If I minimize UTC then the shortcut does not work..




I post this suggestion because I need to control two Vmix laptop in the same time.
if UTC can support universal shortcut, I can programe all the script in Vmixs then use UTC to trigger then


elgarf  
#17 Posted : Saturday, January 13, 2018 5:32:23 AM(UTC)
elgarf

Rank: Advanced Member

Groups: Registered
Joined: 10/23/2015(UTC)
Posts: 458
Man
Russian Federation

Thanks: 20 times
Was thanked: 226 time(s) in 129 post(s)
@bh1054010, UTC doesn't catch system-wide shortcuts, so you need to keep UTC window active. BTW, you can try to use [Multi State] widget (though I completely forgot how it works).
bh1054010  
#18 Posted : Saturday, January 20, 2018 4:10:18 AM(UTC)
bh1054010

Rank: Member

Groups: Registered
Joined: 10/3/2017(UTC)
Posts: 21
Location: China

Was thanked: 1 time(s) in 1 post(s)
elgarf wrote:
@bh1054010, UTC doesn't catch system-wide shortcuts, so you need to keep UTC window active. BTW, you can try to use [Multi State] widget (though I completely forgot how it works).


I tried to setup Multi State Widget, but I totally dont know how to use it

Do you have any instructions?
elgarf  
#19 Posted : Saturday, January 20, 2018 4:13:24 AM(UTC)
elgarf

Rank: Advanced Member

Groups: Registered
Joined: 10/23/2015(UTC)
Posts: 458
Man
Russian Federation

Thanks: 20 times
Was thanked: 226 time(s) in 129 post(s)
It should repeat all commands, sended by UTC to address, setted to Multi State Widget.
bh1054010  
#20 Posted : Saturday, January 20, 2018 4:52:18 AM(UTC)
bh1054010

Rank: Member

Groups: Registered
Joined: 10/3/2017(UTC)
Posts: 21
Location: China

Was thanked: 1 time(s) in 1 post(s)
elgarf wrote:
It should repeat all commands, sended by UTC to address, setted to Multi State Widget.


I got it
thanks

but it seems only sync the keypress
If, I said if you can add a target IP address setting to every widget, that would be wonderful!

Users browsing this topic
5 Pages123>»
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.