Marc Desforges

Marc Desforges

  • NA
  • 14
  • 1.3k

How to load xaml "Lower Third" file and display it.

Nov 13 2018 3:10 PM
Hello, looking for help/guidance.
 
  1.  Will be sending an HTTP query to vMix "http://127.0.0.1:8088/API?"
  2. Take response and parse response - see the example bellow.  (My 1st step to figure how to do this)
  3. <vmix>
    <version>21.0.0.57</version>
    <edition>Basic HD</edition>
    <inputs>
    <input key="8c198b8d-6b95-4dc2-945c-5ae883f35d75" number="1" type="Xaml" title="Scoreboard4.xaml" state="Paused" position="0" duration="0" loop="False" selectedIndex="0">
    Scoreboard4.xaml
    <text index="0" name="Clock">{0:4:00PM|mm:ss}</text>
    <text index="1" name="HomeAway">HOME : AWAY</text>
    <text index="2" name="HomeScore">00</text>
    <text index="3" name="AwayScore">00</text>
    <image index="0" name="Object">
    file:///C:/Program Files (x86)/vMix/titles/Scoreboard4.xaml.png
    </image>
    </input>
    <input key="c73cbcd6-da94-4ddc-8fd2-eda64ee6eeeb" number="2" type="Blank" title="Blank" state="Paused" position="0" duration="0" loop="False">Blank</input>
    </inputs>
    <overlays>
    <overlay number="1"/>
    <overlay number="2"/>
    <overlay number="3"/>
    <overlay number="4"/>
    <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="Merge" duration="1000"/>
    <transition number="3" effect="Fade" 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>
  4. Dynamically create all required fileds from XAML file in my App for use.
  5. Dynamically create all required fields form highlighted input and populate. 
  6. Add as many inputs that are loaded in vMix to my application would also need to be created. 
  7. Then modify all values from my application to the same as vMix to be able to display it exactly as it look like in vMix. 
  8. Would like to display different  "lower 3rd's", when I push a different button in my application, then "Lower Third" for that button is displayed on the screen with values that can get modified.
  9. Wil also like to get updated from vMix on a regular interval and to be able to update vMix also manually.
  10. The example I have included has the following values associated with modifiable text that will then be updated in vMix and vise versa in app.
Any help would be appreciated. New to C#, Blend and Visual Studio.
 
Thanks 
 

Attachment: Scoreboard4.xaml.zip