You are here

This ATEM (mini) Tips” series of short video tutorials for your Blackmagic ATEM hardware includes tips for all users, from beginner to advanced. Scroll down to see more in the series!

This is a collection of all PhotoJoseph LIVE shows, from the PhotoJoseph YouTube channel. Additional episodes are listed below!

Duplicating & Editing Macros in XML

Photo Moment - March 15, 2021

If you need to record multiple similar macros, especially complex ones, repeating yourself can feel… well… repetitive! In this tip I'll show you how to avoid repetition and errors by editing an XML file instead of recording the same thing over and over and over again…

Need an ATEM Mini?

What this tip is about…

You're on your way to becoming a macro master… but why oh why do you have to repeat yourself so many ties? Fret not, for it's possible to not only duplicate, but make subtle edits and even corrections to complicated macros but just editing a line of code.

I know what you're thinking — “I'm no software engineer!!” — don't worry, neither am I. But you'll learn in this video just how easy it can be to replicate a few lines of code, and then identify and change the ones you need. 

Here you'll learn how to take a macro that loads camera 1 and a graphic for camera 1, and then replicate and edit that to switch to CAM 2 and graphic 2… CAM 3 and graphics 3… and so on! This is building off of tip #002, so if you missed that one, be sure you go back and watch it!

📄 Full Video Transcript

Share

Past Shows

Here's number 3! Want more? Be sure to subscribe! https://youtube.com/c/photojoseph?sub_confirmation=1
OMG!! You are a life saver!! Can you do this with keyed out backgrounds? I would imagine you could!
@@photojoseph Thanks, for clarification I have 4 cameras that are keyed to different backgrounds, saved them as macros. I can now cut between the macros by pressing each macro button, however if I want to dissolve or use the DVE between them I am unable to. I am using an ATEM Television 4k8 switcher. Maybe there is a better way to do 4 keyed cameras and I am not doing it correctly? Thank you for any help, as well you have great content!!
@tony92506 not quite sure what you mean by transitioning between macros. Presumably, you want to transition from one scene with a macro to another. So you need to load the new scene into Preview, then do a transition between Program and Preview. As far as how many keyed backgrounds you can have on it once, that depends on your hardware.
@@photojoseph Thank you, I was able to do this with four sources and using only 1 upstream key! Now I am wondering how to transition between the macros with the hardware or you have to program the transition into the macro? As well, can you use all three keyed sources in the super source? Thank you
Totally, because the keys are just numbers! All can be saved into macros!
Super useful, thanks!!
Hello Joseph, could you tell me if the macros also work on a hyperdeck shuttle hd connected to the atem and if it's possible to replay a given time in slowmotion with the shuttle HD ? thank you
@@photojoseph Thank's a lot for the answer
Oooh, that I don’t know. Scour John and Doug’s channels; they both used one. I never had one. https://youtube.com/@heretorecord and https://youtube.com/@djp_video
Can you keep XML FILE
@music.9557 watch the video. It explains everything.
Sir XML FILE CAN GIVE THE LINK OR FILE
@@photojoseph how can i get it
Yes
Hi Joseph.. I'm trying to reach you from different ways. We bought a brand new Atem Production Studio 4k and restored macros from an earlier Atem television HD.
While loading, it said it might not work and I still did it cos we really needed the custom macros and now it doesn't move using software control. Can't seem to be able to factory reset it unlike the Atem Mini series. Please advise?
I replied to your email
Question, does this only work when you're creating new macros? I tried to use this technique to edit some existing macros and they would not update/change.
Thanks!
Wow, stoked to do macros this way.
This is the way.
Wow, ATEM Macro interfaces are so cumbersome and error prone. Blackmagic hardware is great, but their software is primitive. Are there any third party alternatives to using Blackmagic Software Control?
Yes. Look at Companion by bitfocus.io and the iOS app MixEffect
I noticed that with using the ATEM software, Stream Deck/OBS - when I setup a complicated set of algorithms/macros, when pressing another macro before the pre-set conditions are completed for the first macro, it DOES successfully transition to the new macro (on the first attempt), but then when reactivating back to the original - the settings are completely thrown off. Example, having one macro transition to camera 1; chroma (for green screen settings) - then activating another macro that switches to camera 1; LUMA (for onscreen graphics) - the luma is removed and I get an augmented chroma from the original macro (and not the LUMA key setting I want). I've probably confused the hell out of everyone with my explanation - but here's my question: With each macro - is there a way to add a function to reset the parameters so that it starts afresh with the more recent macro?
@@photojoseph what an absolutely amazing response - thank you! Thank you for taking the time to answer my question; and, thank you for helping me understand the logistics for programming the macros.

I’ll have to admit - it’s quiet tedious, and is essentially the reason for the hold up for the launch of our show. Like you say, it seems to take the pre-existing conditions of the last position of the ATEM switches, and continues from there… which is seemingly more difficult when I’m live streaming/interacting with an audience, and switching between setups into he fly.

I would love for you to be on our show, one day.
There’s no such thing as “starting fresh”. Every macro must accommodate every possible pre-scenario. So when switching between Luma and chroma, ensure that actually activating the Luma or chroma tab is built into the macro. If you ever notice that you do have a command but it appears to be being ignored, insert a pause. For example steps A, B, C but for some reason B isn’t happening; it’s probably because A wasn’t complete. So insert a pause after A. A single frame is almost always enough.
Such great tips.. glad I found your channel
I’m glad you found it too!
Great content, do you have any video on animated LTs, also adding live chat. Thanks
I don’t but I’ve added it to my list
Amazing as always, PhotoJoseph. I'm pretty new to the ATEM Extreme Iso, and would like to know if things like changing HDMI outputs to a second monitor can be automated? For example, a macro fades in from a black screen to a media player, then a second macro fades it back out again, all secondary to a remote screen and unrelated to the program feed. Possible?? Do I need Companion for things like this?
On the ATEM Extreme you have two HDMI ports. You could make one the PREVIEW and the other the PROGRAM, and then use macros (or Companion) to load different visual things into the PREVIEW and PROGRAM. What you can't do then is have any transitions (MIX, WIPE, etc.) because those require going from PREVIEW to PROGRAM, and both outputs would have the same audio as there's no separating the audio, but it'd work. Is that what you meant? BTW if you join the channel as a member you will have access to a private Discord server which could be a good place to ask questions like this, and of course you’ll be helping support the channel! Details at https://YouTube.com/PhotoJoseph/join
I have an issue. Somehow this video of you seems to show a similiar problem https://youtu.be/Rk0ZX0UvgKg
We have the following setup:
• Atem Mini (basic), Stream Deck Small and Companion
• Some BMD macros for our Companion commands; nothing special: camera and PiP, PC and PiP

The problem is: After nearly exactly a minute we have a some total broken frames. In detail it looks like codec issues: Some parts of the image are moved to another position. This only happens together with Companion.
The unexpected thing is that these broken frames appear not in the moment we switch something with Stream Deck. It just happens in this 1-minute rhythm.
Any ideas or tipps on that? Should we try to work with this pause command in the macros?
I’d have to see the issue sorry. But it’s of course worth trying
Does anyone know if there is a command I can add in the XML for creating a marker?

I'm trying to use a macro button on an ATEM Mini Extreme ISO, so that when pressed, it will create a marker in the project file and I can see it when I open it in Da Vinci Resolve. Any help is appreciated!
@@photojoseph Thanks a lot! Truly appreciate it!!
There isn't, but it's a great idea. I have passed the info along to Blackmagic!
Dude, this is awesome! You saved me so much time. Thank you so much for your videos.
Wow man, I appreciate that! Glad I could help!
Just joined your channel. First YouTube channel I've ever joined -- a true investment!
Thanks for a great video series. I am new with my atem iso extreme pro. Question in the xml file how do you set pause times for macros? Any help would be appreciated.
Thank you for posting actual useful information. What a breath of fresh air.
I’ll try harder to make more of my videos useful.
Brilliant
Thank you 😊
Awesome tips, very useful !!!
Thanks!
Loving this series PhotoJoseph. Keep it up!!
Thanks! Another one coming this morning!
I do have a question and maybe you could do a video for it if it is possible, for the atem mini pro I know you can stream to YouTube or others like restream io with 1 account but I have 2 YouTube channels, is there a way for say a second without switching all the time? I hope you know what I mean. 😀👍👍👍
@@photojoseph yes that's what I do I was hoping that it was possible oh well.
@@Alscameracorner oh, you mean to swap between channels instead of pasting in the key? If you save the settings I think you can save just the streaming settings but then you’d have to load it up each time. I think it might be easier/faster to just have the two keys in a notepad and copy/paste them in.
@@photojoseph I know you can only stream to one place and that's all, but say I have my channel as a tech channel, then I have a gaming channel and both are on YouTube can you add a second to where you pick what you want to stream to instead of changing all the time?
Not internally. The device can only stream to a single destination. If you need it to stream to more than one, then that's what restream.io is for — let it do the heavy lifting of distributing to multiple channels.
Thanks for the great series. I have been wondering a lot about the video play in feature. Does it only work with the HyperDecks, or can it be done with the Video Assist or even the little "converter" style recorder? If I want to produce a title sequence, for instance including some drone footage, how would I set about it? My camcorder is a Panasonic HC-X2000E and I am thinking about getting a Video Assist or similar for doing 4Kp50/60 4:2:2 10-bit recordings from it's HDMI port on certain occasions. If that could also do HD video clip play in to the ATEM mini pro that would be really helpful. Thanks.
OK, I see. I can’t promise a video to address all of your questions, as this is is pretty specific for your workflow. However, I will do a video covering at least the basics of preparing a file and queuing it for playback on the HyperDeck Mini. I will say for your purchase decision, you can control the HyperDeck from the ATEM, but you can’t control a Video Assist. THe VA isn’t meant to be a playback device, so if that’s what you’re looking for, get a HyperDeck. A video covering these basics is already on my list, but it may be a bit before it comes up as I want to cover more widely needed topics first. But, I’ll get there!
@@photojoseph The areas I'm finding difficulty in understanding are to do with Codecs, file naming and cueing. The cueing is probably the easiest aspect; assuming the edit has a countdown clock, I'm assuming you pause the video just after the fade to black on the video lead in clip and that when you switch to the correct HDMI input on the ATEM mini, it will restart the playback and the title sequence will start. What sort of playback latencies do you get? Does bringing the player to the Preview bus trigger playback or only when it goes to Program?

The more complex bit I don't understand is how to prepare the footage, say in Final Cut Pro or Davinci Resolve for play in. Can I expect the Video Assist to directly play an H.264 stream edited at 1080p25 or 1080p50 directly from the SD card? What wrappers does it recognise (MOV, MKV, MP4)? Does the folder layout on the SD card for the Video Assist to play have to be laid out in a particular structure with a particular naming convention?

Alternatively would I be better off to export the project with one of the codecs like ProRes that the Video Assist uses for it's own recordings? If I do this, again what should the folder structure and naming convention be?

And finally if the source footage is 2160p25 for instance, do I have to downscale it prior to playback or is there a way to set the Video Assist play back options to downscale it for me? If Video Assist can't do this and a HyperDeck can, I have not yet made my purchase and it might affect what I do.

Sorry for the long question but I am really interested in the workflow and how to make it work.
The short answer is that anything that plays video out over HDMI can be treated as an input into the ATEM. I'll add this to my list of topics to cover, but that's really the extent of it!
great4
Excellent tutorials!!! I have been slogging away with this concept for many days.
A question, I changed the labe input name on the atem software to reflect what i need on the multi-view for buttons..
Does the macro recorder reflect tis change or does it always refer back to a factory setting as far as labels?

Much appreciate your generous spirit in creating this series of tips.
@@photojoseph The clarification of how BM does their design is greatly appreciated.
macro is recording positions, not names, so you can name and rename freely
thanks, this is amazing.
🙏🏻☺️
I’m loving these thank you!
Thanks for watching! More on way 😊
I did all you told me for the xml macros. When I went to restore macro it said unknown and couldn’t get it to load up & work?
What app did you use to edit the file? Sounds like it got saved as non plain-text file.
These are awesome! Brand new to the ATEM Mini but I've obseesed with it now! haha ... I'm currently trying to decipher the best way to transition with a pre-build stinger and transition to a 2 up style PIP. Is that possible on the mini pro? I have an extreme ISO on the way I am hoping that can handle it with all the upstream key's etc. Love to see an episode on using alpha / luma / chroma based custom transition / stingers! Thanks again man these are awesome!
@@photojoseph awesome man! Thanks for everything you do 🔥
Glad you like them! So on the ATEM Mini / Pro / Pro ISO, you can't do a two-up PiP, as it has only one Upstream Key and no SuperSource. The Extreme however has multiples USK (four I think??) and SuperSource, so it's basically insane 😂 I'll get into the more advanced stuff later. I have a huge list of basics to get out of the way first.
If you can, make please video about audio, compression, limiter, equalizer. thank You. Your videos are awesome :)
Noted!
Thank you. Figured out what I was doing wrong from your 002 tip.
I felt the Xml was going to be too complicated. Yet your instructions were great.
Great to hear!
When comes the next episode in this series? ;)
I am going to record a few more today… I'd love to release a few a week but I don't know that I can keep up that pace. Hopefully you'll get another one on Wednesday though!
Lo máximo
🙏🏼
😍
🙏🏼
Excellent as usual. Can you talk about the best formats to run into a Hyperdeck Studio Mini? I'm having varied results. Thanks!
@@photojoseph Yes, there seems to be a rule about not mixing and matching formats. I'd like to know what is best for streaming work and I'll stick to it.
Do you mean formats for making a video that you copy onto a HyperDeck to play back?
Yes, we want more!
and ye shall have them! :-)
You may login with either your assigned username or your e-mail address.
Passwords are case-sensitive - Forgot your password?