Rank: Advanced Member
Groups: Registered
Joined: 3/20/2014(UTC) Posts: 2,721 Location: Bordeaux, France Thanks: 243 times Was thanked: 794 time(s) in 589 post(s)
|
I have one suggestion or feature request to make... There's been a lot of talk about video "remaining time" lately? Do you think it's possible for UTC to provide this information from the API as a variable in order to use in a text field in UTC (thus vMix)? I know it's possible to do this by parsing the API's XML in a script.
Something like
if "pgm-input-type" = "video" then set rem-time = {rem-time} end if
I know I have already asked you about defining and using variables in UTC and you told me it's complicated, but I still think this would open a lot of new doors to UTC. And be a perfect complement for new "conditions" features...
Guillaume
|
|
|
|
Rank: Advanced Member
Groups: Registered
You have been a member since:: 9/1/2015(UTC) Posts: 126 Location: Ecuador Thanks: 2 times Was thanked: 16 time(s) in 12 post(s)
|
Thank you for sharing your work elgarf I would like to ask if it is possible to add days to the clock function, to choose which day and time to activate. This would be a very useful solution for CG Branding.
Example: TIME ------ || ------ EXEC LINK ---- || ----- DAY 12H00 ----|| -------- OVER-1 ----- || ---- MONDAY OR TUESDAY / WEDNESDAY / THURSDAY / FRIDAY / SATURDAY / SUNDAY
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/23/2015(UTC) Posts: 458 Thanks: 20 times Was thanked: 227 time(s) in 129 post(s)
|
@DWAM, I just thought "why not make it opensource") UTC isn't take values from vMix at realtime. It should download new state, deserialize it, maybe update active states. It depends on network speed, and can't make a lot of requests (every 1/2 second or often) to update production clock. Making global scope variables can speed down UTC (it is not very fast :-))
@JAIRODJ, I think it possible
|
|
|
|
Rank: Advanced Member
Groups: Registered
You have been a member since:: 9/1/2015(UTC) Posts: 126 Location: Ecuador Thanks: 2 times Was thanked: 16 time(s) in 12 post(s)
|
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 10/31/2017(UTC) Posts: 4 Location: Stockholm
Thanks: 3 times
|
We've just started to use vMix and the UTC. Our workflow involves using incoming streams as inputs. Does anyone have any experience with these inputs causing the UTC to fail/crash? If the UTC is running before the inputs are established it crashes right away. If they are up and running then the UTC will start up with the red/offline indicator and even change to green/update state but will not establish contact. We are setting up the stream inputs using the "Stream" input and using the VLC player plugin as this seems to be the only option that plays smoothly. Has anyone else experienced this?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/23/2015(UTC) Posts: 458 Thanks: 20 times Was thanked: 227 time(s) in 129 post(s)
|
@DMCDudes, send me log or result of http://127.0.0.1:8088/api? from vMix computer, please.
|
1 user thanked elgarf for this useful post.
|
|
|
Rank: Newbie
Groups: Registered
Joined: 10/31/2017(UTC) Posts: 4 Location: Stockholm
Thanks: 3 times
|
Thanks @elgarf for the quick reply. Here's the last bit of the log (I'm not sure how to attach the full log file on this forum) 2017-10-30 13:03:48.9077 INFO Checking vMix server. 2017-10-30 13:03:48.9077 INFO Checking vMix server. 2017-10-30 13:03:48.9077 INFO Checking vMix server. 2017-10-30 13:03:48.9077 INFO Checking vMix server. 2017-10-30 13:03:48.9077 INFO Checking vMix server. 2017-10-30 13:03:57.3812 INFO Trying to send function <Function=OverlayInput3&Input=fcaa6c44-9d64-4a0b-baef-6f9ede02bead> in async mode. 2017-10-30 13:03:57.3812 INFO Function URL is <http://127.0.0.1:8088/api?Function=OverlayInput3&Input=fcaa6c44-9d64-4a0b-baef-6f9ede02bead>. 2017-10-30 13:03:57.3812 INFO Async function sended, result is "Function completed successfully.". 2017-10-30 13:03:57.8822 INFO Trying to send function <> in async mode. 2017-10-30 13:03:57.8822 INFO Function URL is <http://127.0.0.1:8088/api?>. 2017-10-30 13:03:57.8822 INFO Async function sended, result is "<vmix><version>20.0.0.30</version><edition>4K</edition><preset>C:\Users\CG\Documents\vMix Setups\Viggan Cup.vmix</preset><inputs><input key="fcaa6c44-9d64-4a0b-baef-6f9ede02bead" number="1" type="Xaml" title="VigganCup2017_Match_ID.xaml" state="Paused" position="0" duration="0" loop="False" selectedIndex="0">VigganCup2017_Match_ID.xaml<text index="0" name="EventTitle">Viggan Invitational Cup 2017</text><text index="1" name="Home">Sollentuna FK</text><text index="2" name="Away">Skultorps IF</text><text index="3" name="PresentedBy">Presented by SPORTWAY.SE</text><image index="0" name="Object">file:///C:/Users/CG/Documents/Sportway Football GFX/Viggan Cup_Match_ID.png</image></input><input key="d7d5c303-5c45-4834-b0ed-bb0adb87201f" number="2" type="Xaml" title="Result_Strap.xaml" state="Paused" position="0" duration="0" loop="False" selectedIndex="0">Result_Strap.xaml<text index="0" name="HalfFullTime">Fulltime</text><text index="1" name="Home">Sollentuna FK</text><text index="2" name="Away">Skultorps IF</text><text index="3" name="Tournament">Viggan Invitational Cup 2017</text><text index="4" name="HomeScore">0</text><text index="5" name="AwayScore">0</text><text index="6" name="ScoreDivider">:</text><image index="0" name="Object">file:///C:/Users/CG/Documents/Sportway Football GFX/Result_Strap.png</image></input><input key="2cec84a1-b445-4855-9463-99aeb50367b1" number="3" type="Xaml" title="Score_Clock.xaml" state="Paused" position="0" duration="0" loop="False" selectedIndex="0">Score_Clock.xaml<text index="0" name="Clock">25:23</text><text index="1" name="XXXHome">TIM</text><text index="2" name="XXXAway">AIK</text><text index="3" name="HomeScore">0</text><text index="4" name="AwayScore">0</text><text index="5" name="Text1">:</text><image index="0" name="Object">file:///C:/Users/CG/Documents/Sportway Football GFX/Score_Clock.png</image></input><input key="b4b77c84-075b-48e8-9bdb-e9feb891c5fb" number="4" type="Xaml" title="Clock_NO_SCORE.xaml" state="Paused" position="0" duration="0" loop="False" selectedIndex="0">Clock_NO_SCORE.xaml<text index="0" name="Clock">00:00</text><text index="1" name="XXXHome">VIK</text><text index="2" name="XXXAway">DIF</text><text index="3" name="vs">vs</text><image index="0" name="Object">file:///C:/Users/CG/Documents/Sportway Football GFX/Score_Clock.png</image></input><input key="3d2ed685-c784-467a-aece-5e0c9862beff" number="5" type="Xaml" title="VigganCup2017_Match_ID.xaml" state="Paused" position="0" duration="0" loop="False" selectedIndex="0">VigganCup2017_Match_ID.xaml<text index="0" name="EventTitle">Viggan Invitational Cup 2017</text><text index="1" name="Home">Technical Difficulties</text><text index="2" name="Away">Please stand by</text><text index="3" name="PresentedBy">Presented by SPORTWAY.SE</text><image index="0" name="Object">file:///C:/Users/CG/Documents/Sportway Football GFX/Viggan Cup_Match_ID.png</image></input><input key="4b4f0040-fccd-4243-8412-e9adb9a91a77" number="6" type="Colour" title="BLACK" state="Paused" position="0" duration="0" loop="False">BLACK</input><input key="945fce91-3a3e-4ad0-a629-cdc92fd2f8be" number="7" type="Xaml" title="Sportway_Watermark.xaml" state="Paused" position="0" duration="0" loop="False" selectedIndex="0">Sportway_Watermark.xaml<image index="0" name="Object">file:///C:/Users/CG/Documents/Sportway Football GFX/Sportway_Watermark.png</image></input><input key="35b5eb8a-0009-4012-9f19-fe8afa3f8985" number="8" type="Xaml" title="Sportway_Tech_Diff_Fullscreen.xaml" state="Paused" position="0" duration="0" loop="False" selectedIndex="0">Sportway_Tech_Diff_Fullscreen.xaml<image index="0" name="Object">file:///C:/Users/CG/Documents/Sportway Football GFX/Sportway_FullScreen_Technical Difficulties.png</image></input><input key="9064af56-f3a4-4e98-a4eb-b33f8fb24b35" number="9" type="VLC" title="VLC rtsp://185.189.48.12:8554/proxyStream" state="Running" position="0" duration="0" loop="False" muted="True" volume="100" balance="0" solo="False" audiobusses="M" meterF1="0.01654053" meterF2="0.01654053">VLC rtsp://185.189.48.12:8554/proxyStream</input></inputs><overlays><overlay number="1">3</overlay><overlay number="2">2</overlay><overlay number="3">1</overlay><overlay number="4">7</overlay><overlay number="5" /><overlay number="6" /></overlays><preview>2</preview><active>1</active><fadeToBlack>False</fadeToBlack><transitions><transition number="1" effect="Fade" duration="500" /><transition number="2" effect="Wipe" duration="1000" /><transition number="3" effect="Stinger1" duration="1000" /><transition number="4" effect="CubeZoom" duration="1000" /></transitions><recording>False</recording><external>False</external><streaming>False</streaming><playList>False</playList><multiCorder>False</multiCorder><fullscreen>False</fullscreen><audio><master volume="100" muted="False" meterF1="0" meterF2="0" headphonesVolume="100" /><busA volume="100" muted="False" meterF1="0" meterF2="0" /><busB volume="100" muted="False" meterF1="0" meterF2="0" /></audio></vmix>". 2017-10-30 13:03:57.8822 INFO Updating vMix state. 2017-10-30 13:03:57.8822 INFO Creating vMix state form <vmix><version>20.0.0.30</version><edition>4K</edition><preset>C:\Users\CG\Documents\vMix Setups\Viggan Cup.vmix</preset><inputs><input key="fcaa6c44-9d64-4a0b-baef-6f9ede02bead" number="1" type="Xaml" title="VigganCup2017_Match_ID.xaml" state="Paused" position="0" duration="0" loop="False" selectedIndex="0">VigganCup2017_Match_ID.xaml<text index="0" name="EventTitle">Viggan Invitational Cup 2017</text><text index="1" name="Home">Sollentuna FK</text><text index="2" name="Away">Skultorps IF</text><text index="3" name="PresentedBy">Presented by SPORTWAY.SE</text><image index="0" name="Object">file:///C:/Users/CG/Documents/Sportway Football GFX/Viggan Cup_Match_ID.png</image></input><input key="d7d5c303-5c45-4834-b0ed-bb0adb87201f" number="2" type="Xaml" title="Result_Strap.xaml" state="Paused" position="0" duration="0" loop="False" selectedIndex="0">Result_Strap.xaml<text index="0" name="HalfFullTime">Fulltime</text><text index="1" name="Home">Sollentuna FK</text><text index="2" name="Away">Skultorps IF</text><text index="3" name="Tournament">Viggan Invitational Cup 2017</text><text index="4" name="HomeScore">0</text><text index="5" name="AwayScore">0</text><text index="6" name="ScoreDivider">:</text><image index="0" name="Object">file:///C:/Users/CG/Documents/Sportway Football GFX/Result_Strap.png</image></input><input key="2cec84a1-b445-4855-9463-99aeb50367b1" number="3" type="Xaml" title="Score_Clock.xaml" state="Paused" position="0" duration="0" loop="False" selectedIndex="0">Score_Clock.xaml<text index="0" name="Clock">25:23</text><text index="1" name="XXXHome">TIM</text><text index="2" name="XXXAway">AIK</text><text index="3" name="HomeScore">0</text><text index="4" name="AwayScore">0</text><text index="5" name="Text1">:</text><image index="0" name="Object">file:///C:/Users/CG/Documents/Sportway Football GFX/Score_Clock.png</image></input><input key="b4b77c84-075b-48e8-9bdb-e9feb891c5fb" number="4" type="Xaml" title="Clock_NO_SCORE.xaml" state="Paused" position="0" duration="0" loop="False" selectedIndex="0">Clock_NO_SCORE.xaml<text index="0" name="Clock">00:00</text><text index="1" name="XXXHome">VIK</text><text index="2" name="XXXAway">DIF</text><text index="3" name="vs">vs</text><image index="0" name="Object">file:///C:/Users/CG/Documents/Sportway Football GFX/Score_Clock.png</image></input><input key="3d2ed685-c784-467a-aece-5e0c9862beff" number="5" type="Xaml" title="VigganCup2017_Match_ID.xaml" state="Paused" position="0" duration="0" loop="False" selectedIndex="0">VigganCup2017_Match_ID.xaml<text index="0" name="EventTitle">Viggan Invitational Cup 2017</text><text index="1" name="Home">Technical Difficulties</text><text index="2" name="Away">Please stand by</text><text index="3" name="PresentedBy">Presented by SPORTWAY.SE</text><image index="0" name="Object">file:///C:/Users/CG/Documents/Sportway Football GFX/Viggan Cup_Match_ID.png</image></input><input key="4b4f0040-fccd-4243-8412-e9adb9a91a77" number="6" type="Colour" title="BLACK" state="Paused" position="0" duration="0" loop="False">BLACK</input><input key="945fce91-3a3e-4ad0-a629-cdc92fd2f8be" number="7" type="Xaml" title="Sportway_Watermark.xaml" state="Paused" position="0" duration="0" loop="False" selectedIndex="0">Sportway_Watermark.xaml<image index="0" name="Object">file:///C:/Users/CG/Documents/Sportway Football GFX/Sportway_Watermark.png</image></input><input key="35b5eb8a-0009-4012-9f19-fe8afa3f8985" number="8" type="Xaml" title="Sportway_Tech_Diff_Fullscreen.xaml" state="Paused" position="0" duration="0" loop="False" selectedIndex="0">Sportway_Tech_Diff_Fullscreen.xaml<image index="0" name="Object">file:///C:/Users/CG/Documents/Sportway Football GFX/Sportway_FullScreen_Technical Difficulties.png</image></input><input key="9064af56-f3a4-4e98-a4eb-b33f8fb24b35" number="9" type="VLC" title="VLC rtsp://185.189.48.12:8554/proxyStream" state="Running" position="0" duration="0" loop="False" muted="True" volume="100" balance="0" solo="False" audiobusses="M" meterF1="0.01654053" meterF2="0.01654053">VLC rtsp://185.189.48.12:8554/proxyStream</input></inputs><overlays><overlay number="1">3</overlay><overlay number="2">2</overlay><overlay number="3">1</overlay><overlay number="4">7</overlay><overlay number="5" /><overlay number="6" /></overlays><preview>2</preview><active>1</active><fadeToBlack>False</fadeToBlack><transitions><transition number="1" effect="Fade" duration="500" /><transition number="2" effect="Wipe" duration="1000" /><transition number="3" effect="Stinger1" duration="1000" /><transition number="4" effect="CubeZoom" duration="1000" /></transitions><recording>False</recording><external>False</external><streaming>False</streaming><playList>False</playList><multiCorder>False</multiCorder><fullscreen>False</fullscreen><audio><master volume="100" muted="False" meterF1="0" meterF2="0" headphonesVolume="100" /><busA volume="100" muted="False" meterF1="0" meterF2="0" /><busB volume="100" muted="False" meterF1="0" meterF2="0" /></audio></vmix>. 2017-10-30 13:03:57.8822 ERROR vMix state was not created. System.InvalidOperationException: There is an error in XML document (15, 66). ---> System.InvalidOperationException: Instance validation error: 'VLC' is not a valid value for InputType. at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderState.Read4_InputType(String s) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderState.Read10_Input(Boolean isNullable, Boolean checkType) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderState.Read14_State(Boolean isNullable, Boolean checkType) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderState.Read15_vmix() --- End of inner exception stack trace --- at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream) at vMixAPI.State.Create(String textstate) in D:\??????\vMixControllerMultiState\vMixAPI\State.cs:line 123 2017-10-30 13:03:57.8822 INFO vMix is offline 2017-10-30 13:03:57.8822 INFO Firing "updated" event. 2017-10-30 13:03:57.8822 INFO Calculating difference.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 10/31/2017(UTC) Posts: 4 Location: Stockholm
Thanks: 3 times
|
Now I figured out how to attach the log :) Here it is @elgarf File Attachment(s): vMix_UTC_log_DMCDudes.txt (2,014kb) downloaded 22 time(s).You cannot view/download attachments. Try to login or register.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/23/2015(UTC) Posts: 458 Thanks: 20 times Was thanked: 227 time(s) in 129 post(s)
|
|
1 user thanked elgarf for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/23/2015(UTC) Posts: 458 Thanks: 20 times Was thanked: 227 time(s) in 129 post(s)
|
Btw... are you using latest version of UTC? Try use UTC from 25.10.2017.
|
1 user thanked elgarf for this useful post.
|
|
|
Rank: Newbie
Groups: Registered
Joined: 10/31/2017(UTC) Posts: 4 Location: Stockholm
Thanks: 3 times
|
We've installed the newer version and so far it hasn't crashed. The one we were using was installed about 3-4 weeks ago (sorry, I deleted it after seeing that it was older and forgot to write down the date and version info) We'll keep trying it out and let you know if it happens again. We're still building our workflow and getting to know the possibilities with vMix but what we've seen so far is great. Thanks so much for your help. Really a great tool to make using vMix graphics much more easy to use. I don't know how it would be done otherwise :)
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/23/2015(UTC) Posts: 458 Thanks: 20 times Was thanked: 227 time(s) in 129 post(s)
|
@DMCDudes, I think at now this is only way to simply automate native vMix titles, maybe I'm wrong =)
Short manual on scripting feature, which is very useful, but only for advanced users: 1) There are now possible to use expressions in index and value fields of commands, like Code:_('Inputs[/input key/].Elements[14].Text') * 2 + 1
or something else useful for you. You can use any input property (look into API output), just write name of property capitalized. 2) Using variables in the scope of buttons (SetVariable command), they are not global, but you can share them with special XAML title or add info in existing title. 3) With conditions you can create simple loops. For most of the advanced functions you should make button state dependent. For me it helps auto update score by sets in volleyball. Maybe it take more work creating controller, but after that you can chill out a little more. Setup is: score for current set (top scoreboard) & score for all sets in one title (bottom scoreboard). What I have made: 1) One button for actualizing score, Loop sets 1-5 and if local variable is equal current set number, script sets text in corresponding field of bottom scoreboard equal to top scoreboard score. 2) One button for next set, Just make current set bigger on 1. 3) One button for reset score/sets Set current set and score to 0. I can share vmc/vmix, but it's mostly on russian)
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/23/2015(UTC) Posts: 458 Thanks: 20 times Was thanked: 227 time(s) in 129 post(s)
|
@JAIRODJ, I've added scheduling at days of week (please check your clock widget, because for compatibility this info stored in milliseconds property). And now active state buttons updates if vMix state really changed, which help use less processor time. First post.
|
1 user thanked elgarf for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/23/2015(UTC) Posts: 458 Thanks: 20 times Was thanked: 227 time(s) in 129 post(s)
|
Made small bugfixes & pretty blinking border on executing now buttons. First post.
|
|
|
|
Rank: Advanced Member
Groups: Registered
You have been a member since:: 9/1/2015(UTC) Posts: 126 Location: Ecuador Thanks: 2 times Was thanked: 16 time(s) in 12 post(s)
|
@elgarf Thanks for that great contribution and give solution to our orders. The ideas arise from the needs, and little by little they are coming out to suggest the implementes in the application. Good day.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/23/2015(UTC) Posts: 458 Thanks: 20 times Was thanked: 227 time(s) in 129 post(s)
|
@JAIRODJ, many features were implemented because I'm using UTC too, someday I make catalogue for all of this features) Because you can made really useful things with them.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 6/29/2016(UTC) Posts: 101 Location: Luxembourg
Thanks: 48 times Was thanked: 14 time(s) in 12 post(s)
|
Hey Guys, i think I found a bug in utc GUID version. First I updated an existimg preset in vmix (which already worked with utc).
Then I added 2 new Inputs 1: new Input from production clock 2: virtual input with multiview (including production clock input)
Started UtC and loaded existimg vmc file, state tally didn't switch to green but stayed yellow all the time.
Then I replicated the vmix preset one by one, with blank utc open. Stayed green until I created the production clock input --> utc crashed
Do you think you can fix this bug ?
Thanks
Marc
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/23/2015(UTC) Posts: 458 Thanks: 20 times Was thanked: 227 time(s) in 129 post(s)
|
@mburel1980, try redownload UTC now. If it still crashes, check "Enable Log" and send me log file.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 6/29/2016(UTC) Posts: 101 Location: Luxembourg
Thanks: 48 times Was thanked: 14 time(s) in 12 post(s)
|
elgarf wrote:@mburel1980, try redownload UTC now. If it still crashes, check "Enable Log" and send me log file. Here´s the log file. As soon as I create an Input of Production Clock (vmix 20.0.0.30) and try to update State UTC crashes... Downloaded GUID Version... should I go with conditions? File Attachment(s): utclogmburel.txt (68kb) downloaded 7 time(s).You cannot view/download attachments. Try to login or register.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/23/2015(UTC) Posts: 458 Thanks: 20 times Was thanked: 227 time(s) in 129 post(s)
|
@mburel1980, conditions version is actual, I update only this version...
|
|
|
|
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