logo

Live Production Software Forums


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

Notification

Icon
Error

64 Pages«<1516171819>»
Options
Go to last post Go to first unread
DWAM  
#321 Posted : Tuesday, March 28, 2017 1:42:04 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)
Here's the log file but it is useless Elgarf.

Blank UTC project, new vMix project with only a NDI source > I just recorded the crash so that you can see I'm not dreaming :
File Attachment(s):
2017-03-27.log.txt (6kb) downloaded 16 time(s).

You cannot view/download attachments. Try to login or register.
DWAM  
#322 Posted : Tuesday, March 28, 2017 2:07: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)
I just tried the same thing on my vMix host (win10) with freshly installed UTC (never used before on this machine) > same thing
I also tried on another computer with win7 > same thing
The host I usually use UTC on is win8 (the one for the video)
All are 64 bits pro

Maybe some other users could check ? > just try what I do in the video, it takes 1 minute
elgarf  
#323 Posted : Tuesday, March 28, 2017 2:09:13 PM(UTC)
elgarf

Rank: Advanced Member

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

Thanks: 20 times
Was thanked: 227 time(s) in 129 post(s)
@DWAM, looks like I fixed it, re-download from the first post, please.
thanks 1 user thanked elgarf for this useful post.
DWAM on 3/28/2017(UTC)
DWAM  
#324 Posted : Tuesday, March 28, 2017 2:29:38 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)
[img]http://t1.gstatic.com/images?q=tbn:ANd9GcR9zFgTAlujgbqnxqeQXh1GpBYzNW9mDpBHeFgLxzBxQq6JRnnJwTbzbuw[/img]

Great! It works now on all 3 OS!

Nice the isGroup option in functions.xml! Thanks
corporatejames  
#325 Posted : Wednesday, April 5, 2017 6:26:48 PM(UTC)
corporatejames

Rank: Advanced Member

Groups: Registered
Joined: 8/2/2015(UTC)
Posts: 364
Man
Australia
Location: Sydney

Thanks: 283 times
Was thanked: 76 time(s) in 62 post(s)
Hi elgarf

I loaded UTC on a friends computer last night but noticed the functions.xml file was not loading in the dropdown for commands
of buttons etc.

If load my template everything works but can't change or add new buttons as this list doesn't load. This occurs on new fresh template as well.
Works fine on all my computers. Permissions seem all good for directory.

Any idea?

UTC has been working great thanks

Regards

James
elgarf  
#326 Posted : Thursday, April 6, 2017 12:20:31 AM(UTC)
elgarf

Rank: Advanced Member

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

Thanks: 20 times
Was thanked: 227 time(s) in 129 post(s)
@corporatejames, can you tick "Enable Log", restart UTC and send me log file? It should help me to realize what happened.
elgarf  
#327 Posted : Wednesday, April 12, 2017 8:15:03 AM(UTC)
elgarf

Rank: Advanced Member

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

Thanks: 20 times
Was thanked: 227 time(s) in 129 post(s)
Some additions to scripting (for advanced users =))

1) You can make variables in scripts (but they work only in one button scope, sorry).
2) There is new "HasVariable", "Condition", "ConditionEnd" commands, so you can make that some commands will execute only if condition is true. There is no logical operands like OR/AND, but you can make something like that by combining Condition and GoTo commands.
3) Now string parameter can handle expressions, so 1 + 1 give you 2, if you need exactly 1 + 1, you must enquote it, so it will be '1 + 1' (with quotes).
4) I've sorted script commands.

Condition is special command, because it has two input parameters, and special condition parameter.
You can access state/input variables by adding @ symbol before path. For example, if you need access input (which is title) text at index 0, you must write:

@Inputs[{0}].Elements[0].Text

Note, that {0} is substitution for Input 1 and {1} is substitution for Input 2 GUID.
Elements array is array of all input elements like text, overlay, etc. All parameters named from small letter into result of "http://127.0.0.1:8088/api?" are capitalized. So you need to write "Name" instead of "name", etc.

If you write path from "@" you can't use expressions =( but you can put value from path to variable.
Variables set from indexes, but in expressions them named with prefix "_var", so if you need access to variable 0, you should write _var0.

If you use UpdateInternalButtonState function, button must be state dependent.


If you can test existing projects with this version and all ok, I make it as main version.

Download

Also I made small audio reactive sample, you just need to place input with audio in the first Input parameter of condition.

Download sample
DWAM  
#328 Posted : Wednesday, April 12, 2017 8:55:16 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)
Yesssssssssssssssss!!!!!!!!!!!!!!!!!!!!!!!!!

Thanks Elgarf! I'll test this right away!!!!!!!
elgarf  
#329 Posted : Wednesday, April 12, 2017 9:14:44 AM(UTC)
elgarf

Rank: Advanced Member

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

Thanks: 20 times
Was thanked: 227 time(s) in 129 post(s)
@DWAM, remember, that this is very simple automation feature, you can automate some processes, but don't make scripts very huge)
DWAM  
#330 Posted : Wednesday, April 12, 2017 9:36:36 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)
I'll try to remember that when I will have understood how this works!

When I first told you about adding variables and parameters, I had ideas about passing parameters and variables from a widget to another one (like when we call a function or a sub in a script) but here it's quite different so I first need to figure out what can be done with it.

спасибо
elgarf  
#331 Posted : Wednesday, April 12, 2017 9:53:32 AM(UTC)
elgarf

Rank: Advanced Member

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

Thanks: 20 times
Was thanked: 227 time(s) in 129 post(s)
Yep, that's works another way, because for populating variables across widgets I need completely rewrite UTC) or it will be not very good for support.

You can use vMix state to transfer variables across scripts if you really need this.
elgarf  
#332 Posted : Wednesday, April 12, 2017 11:42:16 AM(UTC)
elgarf

Rank: Advanced Member

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

Thanks: 20 times
Was thanked: 227 time(s) in 129 post(s)
I realized that I broke Timer command, it fixed now. The link is the same...

Download

BTW, my dream come true) I had two scoreboards onto volleyball game:
1) score with current set
2) score with all sets

In the past I needed to write score into second scoreboard manually, because UTC don't know about current set number. Now I make it automatically =)
DWAM  
#333 Posted : Wednesday, April 12, 2017 12:16: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)
Tried your audioreactive sample VMC file

First 127.0.0.1 is "hard-coded" in the VMC which makes remote UTC loose connection to vMix
Solved by changing the IP address by hand with text editor.

Did as explained above "you just need to place input with audio in the first Input parameter of condition."
I took me a while to understand but it works. To make it "clearer" :

- Take 1 video input in vMix (not cameras because F1Meter is never -or always- at 0)
- Send this video to PROGRAM and select it as input 1 in the sample Widget
- When the video ends, the F1Meter goes to 0 which makes the QuickPlay automatically

BUT !!!

- as long as the script remains active in UTC (the little square box is white) it's impossible to switch anything in vMix
- when pressing the little white square to stop the script manually, any previous switch done (which did not work before) will be done...

It seems we need a stop routine at the end of your script Elgarf. Don't know yet which method is the best way to go

Quote:
In the past I needed to write score into second scoreboard manually, because UTC don't know about current set number. Now I make it automatically =)

Sounds good! I had the same issue with tennis sets. Interesting challenge! ;o)



elgarf  
#334 Posted : Wednesday, April 12, 2017 12:57:21 PM(UTC)
elgarf

Rank: Advanced Member

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

Thanks: 20 times
Was thanked: 227 time(s) in 129 post(s)
Quote:
First 127.0.0.1 is "hard-coded" in the VMC which makes remote UTC loose connection to vMix
Solved by changing the IP address by hand with text editor.


Strange that nobody expect this before =) I always work on local machine, but changing IP/Port does not affect on UpdateState if vMix was started before UTC... Now fixed, but I wait for some another bugs)

Quote:

- Take 1 video input in vMix (not cameras because F1Meter is never -or always- at 0)
- Send this video to PROGRAM and select it as input 1 in the sample Widget
- When the video ends, the F1Meter goes to 0 which makes the QuickPlay automatically


That's only example. I personally add Audio Input (from intermal mic) and two Color inputs for switching.


For sets I added hidden text field into one of my titles, which take value from range 0-4.
Then I made five buttons, each for corresponding set (some limitations, because I can't use variables as Elements indexes, otherwise I could make a loop).
Each button has script, that check set number and copy values from first scoreboard to corresponding place in second they are StateDependent, so they use shared state special for buttons, but not main UTC state (which should be mostly static).
There is also button with loop, that updates internal button state and executes scripts for actualizing each set score. That's not instant (it's better to make some delays between updating state), but better than making it manually).

Button State is shared between buttons, so you can update it once anywhere.
Siroki  
#335 Posted : Tuesday, April 18, 2017 6:08:29 AM(UTC)
Siroki

Rank: Advanced Member

Groups: Registered
Joined: 10/10/2015(UTC)
Posts: 322
Man
Bosnia and Herzegovina
Location: Siroki Brijeg

Thanks: 8 times
Was thanked: 27 time(s) in 24 post(s)
Hi guys,
I don't wanna make new topic for this, maybe you know the answer:
How to make in scoreboard HALF TIME, during match, after goal is scored etc to make on titles moving background below or above bottom scoreboard.
I mean when you on soccer match enter scorer name, or two scorers, three scorers so background moves/grows..Something like this:

UserPostedImage

Bottom right picture, its not big but I think you can see what I mean

thx
DWAM  
#336 Posted : Tuesday, April 18, 2017 6:44:19 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 Marko

I think the easiest way is simply to use SetText and SetImage commands.
Make a XAML which has 5 or 6 potential scorers for each team, each on a new line. A line is a background image and text
At first all values are set to "nothing"

Then in UTC create 5 or 6 text widgets for both teams and map them to your title
When there is a goal enter scorer name and time

Now you can use Conditions to make automatic display of this area elements, but it was possible before already simply from buttons

Check this video I did on how to build a dynamic scorebug, I would use the same method for what you want.

https://forums.vmix.com/...ts&m=35051#post35051

Guillaume
Siroki  
#337 Posted : Saturday, April 22, 2017 3:24:44 AM(UTC)
Siroki

Rank: Advanced Member

Groups: Registered
Joined: 10/10/2015(UTC)
Posts: 322
Man
Bosnia and Herzegovina
Location: Siroki Brijeg

Thanks: 8 times
Was thanked: 27 time(s) in 24 post(s)
One question:
Did anyone tried to setup timers for handball? The main timer that goes to 30 minutes and 2 minutes of penalties for players but in that way so you don't need to start multiple timers only the main one and the penalties are synco?

thx
digitalalps  
#338 Posted : Saturday, April 22, 2017 3:32:11 AM(UTC)
digitalalps

Rank: Advanced Member

Groups: Registered
Joined: 7/1/2016(UTC)
Posts: 48
Man
Location: Italy

Thanks: 5 times
Was thanked: 4 time(s) in 4 post(s)
I did it with the handball timers.
Timer for the game
2x timer for penalty minutes per team
When the time is stopped, the penalties are also stopped
If the time continues, the active penalties continue

Can you look for the template this afternoon
DWAM  
#339 Posted : Saturday, April 22, 2017 3:54:36 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

I have made a tutorial for sync timers here : https://forums.vmix.com/...ts&m=34908#post34908

You can also watch this video (for ice hockey) which demonstrates this use case :


Guillaume
digitalalps  
#340 Posted : Saturday, April 22, 2017 5:14:38 AM(UTC)
digitalalps

Rank: Advanced Member

Groups: Registered
Joined: 7/1/2016(UTC)
Posts: 48
Man
Location: Italy

Thanks: 5 times
Was thanked: 4 time(s) in 4 post(s)
Here a screenshot for handball settings i you want to get theme send me a pn

digitalalps attached the following image(s):
handball.png (456kb) downloaded 65 time(s).

You cannot view/download attachments. Try to login or register.
thanks 1 user thanked digitalalps for this useful post.
mburel1980 on 4/22/2017(UTC)
Users browsing this topic
Guest (9)
64 Pages«<1516171819>»
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.