logo

Live Production Software Forums


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

Notification

Icon
Error

64 Pages«<2425262728>»
Options
Go to last post Go to first unread
chococrispis35  
#501 Posted : Thursday, March 15, 2018 10:02:30 PM(UTC)
chococrispis35

Rank: Advanced Member

Groups: Registered
Joined: 8/11/2017(UTC)
Posts: 60
Location: Medxico

Thanks: 2 times
Was thanked: 7 time(s) in 6 post(s)
tkachuk.alex:

i modified the numbers 0,1,2,3,4 truetype font and installed on pc, number 0 clear dot, on number 1, one dot, on number 2 two dots, number 3 three dots, number 4 clear dot
corporatejames  
#502 Posted : Friday, March 16, 2018 2:32:05 AM(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)
tkachuk.alex wrote:
chococrispis35 wrote:
My UTC Baseball Project - 14/03/2018



Nice! How do you edit that on +1 coloring red dots? I use for every dot list with "red" and "empty", and it's little hard


Good job on the XAML animations :)
tkachuk.alex  
#503 Posted : Friday, March 16, 2018 9:58:24 AM(UTC)
tkachuk.alex

Rank: Advanced Member

Groups: Registered
Joined: 7/8/2016(UTC)
Posts: 49
Man
Ukraine
Location: Ukraine

Thanks: 11 times
Was thanked: 5 time(s) in 3 post(s)
chococrispis35 wrote:
tkachuk.alex:

i modified the numbers 0,1,2,3,4 truetype font and installed on pc, number 0 clear dot, on number 1, one dot, on number 2 two dots, number 3 three dots, number 4 clear dot


Understand.. )
elgarf  
#504 Posted : Wednesday, March 21, 2018 8:05:18 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)
@JAIRODJ, special for you I've added string & array functions:


String manipulation

split(string, separator) splits string into an array of strings by separating the string into substrings, using a specified separator string to determine where to make each split.

trim(string) removes whitespace from both ends of a string.

Array manipulation

getvalue(array, index) gets value from array at index index.


They are very simple, but I think you can made what you need:

Code:

trim(
  getvalue(
    split(
      _('Inputs[78520042-b6df-4aac-8c17-d3d7f056c24b].Title'),
      '-'),
    0)
)
JAIRODJ  
#505 Posted : Thursday, March 22, 2018 10:25:52 AM(UTC)
JAIRODJ

Rank: Advanced Member

Groups: Registered
Joined: 9/1/2015(UTC)
Posts: 126
Man
Location: Ecuador

Thanks: 2 times
Was thanked: 16 time(s) in 12 post(s)
Thanks @elfarg, your help helped me a lot.

I have managed to separate the string using SetText + split in a video input, but I have a problem with the video input tickets the title of the entry is:
List - Artist - Titlevideo.mp4

Please if you guide me as I would to to remove "List" and the extension ".mp4" of the title.
I have tried adding the separator (-) but I have left (.mp4) inside the string
(Artist - Titlevideo.mp4), if I add the seprator (.) I have "List" in the string (List - Artist - Titlevideo)

My objective is to obtain the clean titles, without "List" and without ".mp4"

(Artist - Titlevideo)

or separate

1.- Artist
2.- Titlevideo
elgarf  
#506 Posted : Thursday, March 22, 2018 11:27:58 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)
@JAIRODJ, you can use "split" function twice, at first with '-' separator, then with '.' separator on string with .mp4 end.

You also can use variable to shorten your commands:
SetVar: split(_('Inputs[78520042-b6df-4aac-8c17-d3d7f056c24b].Title'), '-')

Variable index can be 0, or any other positive value.
So, you put array into _var0 variable.

Then you can use this variable into script of button:


Code:
trim(
  getvalue(
    _var0,
    0)
)


Or

Code:
trim(
  getvalue(split(getvalue(_var0, 1), '.'), 0)
)


btw, there will be problem with names with dots =(
JAIRODJ  
#507 Posted : Friday, March 23, 2018 11:50:19 AM(UTC)
JAIRODJ

Rank: Advanced Member

Groups: Registered
Joined: 9/1/2015(UTC)
Posts: 126
Man
Location: Ecuador

Thanks: 2 times
Was thanked: 16 time(s) in 12 post(s)
I am very grateful @elgarf with the help you have given me is very good .. UTC is an incredible tool, they have so many options, but I still have to learn to use them. I try to learn more in UTC wiki.

I already managed to separate the chains in Artist and Title, it's perfect.

I ask.
An overlay can be activated automatically, using the dependence of the status of a "Running" entry that shows in the localhost API or if it changes video from the videolist.

The intention is to automate the self-titled videos:
If input 1 (Videolist) is active on air, wait 5 seconds and launch overlay 1 after the playback or video change has started.

I imagine that with the conditions and timer it is done, but what a shame for me not to use them.
elgarf  
#508 Posted : Friday, March 23, 2018 12:06:49 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)
I've made this sample sometime ago sample, you can see commands & code flow.

Making complex script a bit difficult with existing system =(
chococrispis35  
#509 Posted : Friday, March 23, 2018 12:23:50 PM(UTC)
chococrispis35

Rank: Advanced Member

Groups: Registered
Joined: 8/11/2017(UTC)
Posts: 60
Location: Medxico

Thanks: 2 times
Was thanked: 7 time(s) in 6 post(s)
Please Help me


I created an external data widget
left update period (1000) and set file path to vMixGenericXmlDataProvider.dll
pasted path from my hard disk of XML file (file:///C:/LineUp/LineUPHome.xml... and or C:/LineUp/LineUPHome.xml) i created a xml with xmlnotepad y saved on mi hard drive
but no working


xpath => no loaded
i added manually xpath //Equipo/Bateador/Posicion/Equipo/Ciudad

whats the correct form or procedures, any tutorial?
JAIRODJ  
#510 Posted : Friday, March 23, 2018 7:14:10 PM(UTC)
JAIRODJ

Rank: Advanced Member

Groups: Registered
Joined: 9/1/2015(UTC)
Posts: 126
Man
Location: Ecuador

Thanks: 2 times
Was thanked: 16 time(s) in 12 post(s)
You are a genius @elgarf this incredible, I thank you a whole world for the help.
Thanks bro
elgarf  
#511 Posted : Saturday, March 24, 2018 2:20:58 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)
@chococrispis35, can you share xml file?

@JAIRODJ, there should be not very time-accurate updating, but who cares =)
JAIRODJ  
#512 Posted : Saturday, March 24, 2018 10:27:12 AM(UTC)
JAIRODJ

Rank: Advanced Member

Groups: Registered
Joined: 9/1/2015(UTC)
Posts: 126
Man
Location: Ecuador

Thanks: 2 times
Was thanked: 16 time(s) in 12 post(s)
Hello, for making known a novelty that happened to me, I wanted to use UTC from my laptop and at the beginning of the application a message appeared:

"NDI filters not recognized in your system. Register them?"

And every time I restart the computer and open UTC, the same message reappears.
Never before has this happened.
elgarf  
#513 Posted : Saturday, March 24, 2018 10:55:24 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)
Have you tried aggreeing with this?)

It's warning to use NDI monitor. You can press "Cancel" and this warning shouldn't open anymore. At least I've tested so.
chococrispis35  
#514 Posted : Saturday, March 24, 2018 11:01:46 AM(UTC)
chococrispis35

Rank: Advanced Member

Groups: Registered
Joined: 8/11/2017(UTC)
Posts: 60
Location: Medxico

Thanks: 2 times
Was thanked: 7 time(s) in 6 post(s)
Elgarf

xml file created xmlnotepad

https://mega.nz/#!j8BxVYhB!krc2bmJVCaCwWl4AxHEfUi65GIByD2sTpoal5Y-fy7I

thanks
elgarf  
#515 Posted : Saturday, March 24, 2018 11:16:47 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)
@chococrisps35,
Code:
//LineUpHome/Bat/*

will select all entities into "Bat" tag. There is no step for switching next/previous tag, it just take all info and then map it onto title.
But you can select specific bat
Code:
//LineUpHome/Bat[1]/*


You can use this tester to check results.
chococrispis35  
#516 Posted : Saturday, March 24, 2018 12:29:21 PM(UTC)
chococrispis35

Rank: Advanced Member

Groups: Registered
Joined: 8/11/2017(UTC)
Posts: 60
Location: Medxico

Thanks: 2 times
Was thanked: 7 time(s) in 6 post(s)
Thanks Elgarf

ok, it worked!
I already understand that I can not display all the tags to select the one I want.

is it difficult to add a list entry for xpath to select the specific tag? or a button to program the tag I want?
DWAM  
#517 Posted : Sunday, March 25, 2018 1:07:09 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)
Quote:
I already understand that I can not display all the tags to select the one I want.

vMix does this by default when you use datasource and title editor and provides all the API commands to control it from UTC if needed. Much easier I think...

Guillaume
elgarf  
#518 Posted : Sunday, March 25, 2018 3:26:52 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 wrote:
vMix does this by default when you use datasource and title editor and provides all the API commands to control it from UTC if needed. Much easier I think...


Yep, but external data in UTC easier when you need just took all data from xml and map it onto one/many titles... You don't need go into each title and set every text source to datasource or give specific names to texts.

Btw, now I think that there is place for button "fill all texts of the title" or so on, which add all available texts of title to title mapper. This will help a lot if you, for example, have xml with team players, and want just push info to the title.
JAIRODJ  
#519 Posted : Sunday, April 8, 2018 2:21:03 PM(UTC)
JAIRODJ

Rank: Advanced Member

Groups: Registered
Joined: 9/1/2015(UTC)
Posts: 126
Man
Location: Ecuador

Thanks: 2 times
Was thanked: 16 time(s) in 12 post(s)
Hello, I used UTC to create a branding schedule with the clock, that is, UTC remains active all the time (24/7) .. but UTC collapses and does not respond.
Example: Today active UTC, tomorrow no longer responds or delay in performing the task, or if I want to edit or add a new button UTC does not respond.
Can I use UTC in this way or is it not designed to remain active?

A suggestion or request of function.
- It is possible to add Sliders to control the volume of the inputs or the master
DWAM  
#520 Posted : Sunday, April 8, 2018 2:34:09 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 have had issues on long period of times yes.
Check the log file, sometimes it gets so huge that the system gets unresponsive.
thanks 1 user thanked DWAM for this useful post.
Joeboe on 4/8/2018(UTC)
Users browsing this topic
Guest (8)
64 Pages«<2425262728>»
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.