Rank: Advanced Member
Groups: Registered
Joined: 12/25/2015(UTC) Posts: 33
Thanks: 1 times Was thanked: 2 time(s) in 2 post(s)
|
Hi folks, As we may have noticed the data source in vmix does not have a trigger for when the content in a file is changed. Some of us may like to have titles animate out and back in with new information. I developed this prototype that can use StreamLabels and the Vmix web API, combined with scripting(web scripting) to update the titles, trigger overlays, etc...when the content of a file is changed. The script(s) I used in vmix as well as the source code for the client are posted here. Inputs: 1) Color -> Solid Color or whatever you want to stream/view 2) Title -> I used GT Animated Title -> Title 21 - kriss kross Fade to input 1 then overlay the title on overlay input 2(for this demo) Scripts: MostRecentFollowerIn => Sleep 2000 Function=OverlayInput2In&Input=2 MostRecentFollowerOut => Function=OverlayInput2Out&Input=2 Release.zip contains the program in full. Launch the program and you will see text fields at the top and a data grid at the bottom. File name - The name of the text file containing the information you want to see. I.e. most_recent_follower.txt VMix Host - The IP address of the computer running VMix I.e. http://localhost:8088 VMix Out Script - The name of the script to animate the title out I.e. MostRecentFollowerOut VMix In Script - The name of the script to animate the title in I.e. MostRecentFollowerIn VMix Input Field Name - The name of the field to update the title text with I.e. Headline.Text Once those are filled out, click add and now the file will update and continue to monitor the file that streamlabels updates with new information. The animation will only be triggered if the content is different than the last time it was read. Additionally, opening the file and editing in notepad and saving will cause the title to update as well. P.S. I will be using this for my live streams on twitch. So if you have questions you can ask when I'm live or follow and get notified when I'm live.
|
1 user thanked jammerxd for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,216 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Nice
Must be doing something wrong though as i see the data change before the out animation
Edit: you probably need to add a delay in your code before instructing the //update title text to cover the time needed for the animation out
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/25/2015(UTC) Posts: 33
Thanks: 1 times Was thanked: 2 time(s) in 2 post(s)
|
Yeah I just managed to fix that and the false changes. I'll upload it soon.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/25/2015(UTC) Posts: 33
Thanks: 1 times Was thanked: 2 time(s) in 2 post(s)
|
UPDATE 02/17/2019 11:38 AM Central(UTC-5): The project has been posted on gitlab and all the code as well as releases can be found there. Debug.zip is the debug build Release.zip is the release build Project on Gitlab URL: https://gitlab.com/jammerxd/vmix-title-updaterLook for the tags in the project and then v0-0-0-1-Alpha and this will have the Debug.zip and Release.zip. It seems I cannot post 2 links in the same post or it gets "detected as spam".
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,216 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
How many times can a site ask you for a login ..... like at every click?page ???
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/25/2015(UTC) Posts: 33
Thanks: 1 times Was thanked: 2 time(s) in 2 post(s)
|
Originally Posted by: doggy How many times can a site ask you for a login ..... like at every click?page ??? Are you using incognito? Could also try just going to gitlab.com and then clicking sign in before looking for my project? Never heard of that before...
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,216 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Yeah it was messed up but finally got through ( had signed im but kept asking to login again each page change)
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 5/10/2020(UTC) Posts: 104 Location: Sacramento, California Thanks: 13 times Was thanked: 5 time(s) in 5 post(s)
|
Hey jammerxd,
Are you still supporting this? I have downloaded and installed, just trying to get it to work.
|
|
|
|
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.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close