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, now featured on the PhotoJoseph LIVE 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


Past Shows

Leave a comment on YouTube

Comments from YouTube

Here's number 3! Want more? Be sure to subscribe!
I have an issue. Somehow this video of you seems to show a similiar problem
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!
There isn't, but it's a great idea. I have passed the info along to Blackmagic!
@PhotoJoseph Thanks a lot! Truly appreciate it!!
Dude, this is awesome! You saved me so much time. Thank you so much for your videos.
Just joined your channel. First YouTube channel I've ever joined -- a true investment!
Wow man, I appreciate that! Glad I could help!
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.
Thank you 😊
Awesome tips, very useful !!!
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. 😀👍👍👍
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 is for — let it do the heavy lifting of distributing to multiple channels.
@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?
@Al's Camera Corner 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 yes that's what I do I was hoping that it was possible oh well.
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.
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!
@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.
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!
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.
macro is recording positions, not names, so you can name and rename freely
@PhotoJoseph The clarification of how BM does their design is greatly appreciated.
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!
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.
@PhotoJoseph awesome man! Thanks for everything you do 🔥
If you can, make please video about audio, compression, limiter, equalizer. thank You. Your videos are awesome :)
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!
Do you mean formats for making a video that you copy onto a HyperDeck to play back?
@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.
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?