Understanding Macro

Questions about ATEM Switchers, Camera Converter and everything live!
  • Author
  • Message
Offline
User avatar

Paukenist&Zn

  • Posts: 26
  • Joined: Sat Mar 23, 2019 6:20 pm
  • Location: Assen, Drenthe, NL
  • Real Name: Jacko Duker

Understanding Macro

PostThu Apr 02, 2020 5:27 pm

Dear all,

I'm using for a short period (2 years) a Atem Production Studio and switched to a 1M/E.
Therefore I had re-recorded some macro's for switching images on the MediaPlayer and bring them on.
Now I have some issues with soms identically created Macro's...Only the one macro index 18 does work and switches the program channel from camera to MP1.

What isn't right in these macro 19, and 8-11

I thought that adding this sentence into the other macro's would solve the issue.
<Op id="ProgramInput" mixEffectBlockIndex="0" input="MediaPlayer1"/>
However that didn't make sense.

Besides that I observed if I change the macro and do a restore in the ATEM 1m/e in a view cycles the XML file loses also the MediaPool Stills.

There is on that area also a strange behavior I don't understand.

</Macro>
<Macro index="18" name="0930_Start" description="">
<Op id="MediaPlayerSourceStillIndex" mediaPlayer="0" index="0"/>
<Op id="MediaPlayerSourceStill" mediaPlayer="0"/>
<Op id="ProgramInput" mixEffectBlockIndex="0" input="MediaPlayer1"/>
<Op id="DownstreamKeyOnAir" keyIndex="0" onAir="False"/>
</Macro>
<Macro index="19" name="1000_Start" description="">
<Op id="MediaPlayerSourceStillIndex" mediaPlayer="0" index="1"/>
<Op id="MediaPlayerSourceStill" mediaPlayer="0"/>
<Op id="DownstreamKeyOnAir" keyIndex="0" onAir="False"/>
</Macro>

</Macro>
<Macro index="8" name="Collecte Groen" description="">
<Op id="MediaPlayerSourceStillIndex" mediaPlayer="0" index="4"/>
<Op id="MediaPlayerSourceStill" mediaPlayer="0"/>
</Macro>
<Macro index="9" name="Collecte Paars" description="">
<Op id="MediaPlayerSourceStillIndex" mediaPlayer="0" index="6"/>
<Op id="MediaPlayerSourceStill" mediaPlayer="0"/>
</Macro>
<Macro index="10" name="Collecte Goud" description="">
<Op id="MediaPlayerSourceStillIndex" mediaPlayer="0" index="5"/>
<Op id="MediaPlayerSourceStill" mediaPlayer="0"/>
</Macro>
<Macro index="11" name="Collecte Rood" description="">
<Op id="MediaPlayerSourceStillIndex" mediaPlayer="0" index="7"/>
<Op id="MediaPlayerSourceStill" mediaPlayer="0"/>
<Op id="DownstreamKeyOnAir" keyIndex="0" onAir="False"/>
</Macro>
Jacko Duker
Offline

Gary Adams

Blackmagic Design

  • Posts: 1393
  • Joined: Sat Aug 25, 2012 6:14 am

Re: Understanding Macro

PostThu Apr 02, 2020 9:42 pm

Hello Jacko. I looked at this on my system and it should work. Just add that line to each of your macros. I will add that you need to be careful of what text editor you use to edit these files. I could not find a native Windows or Mac text editor that works correctly on ATEM XML files. In Windows I use a version of "vim". On the Mac, I use either "vi" in the command line or a good gui app is Text Wrangler. Using native editors will often place hidden characters in the file.

I hope this helps. Stay safe.

Regards, Gary
Gary Adams
Blackmagic Design
Offline
User avatar

Baz

  • Posts: 622
  • Joined: Wed Aug 22, 2012 5:06 am
  • Location: Sydney, Australia

Re: Understanding Macro

PostFri Apr 03, 2020 12:48 am

Using Microsoft Visual Studio works great with ATEM XML files.
baz

MISC
U/S Express, SmartviewDuo, SmartScopeDuo, Teranex 2D, Web Pres, 5/7 Vid Assists
VIDEOHUB
Smart 12x12
12x24
72x144
HYPERDECK
Studio, Shuttle, Studio Mini
ATEM
2me4K, 2me, TVS, TVS HD, CamConvs, StudioConvs, Studio Cams, Micro Studio Cam
Offline
User avatar

Paukenist&Zn

  • Posts: 26
  • Joined: Sat Mar 23, 2019 6:20 pm
  • Location: Assen, Drenthe, NL
  • Real Name: Jacko Duker

Re: Understanding Macro

PostFri Apr 03, 2020 4:32 pm

Baz wrote:Using Microsoft Visual Studio works great with ATEM XML files.
baz

Thanks!
Do you know if there is a overview/explanation of XML features in the ATEM software?
Jacko Duker

Return to Live Production

Who is online

Users browsing this forum: Jehun Koa and 38 guests