This script allows you to use Google Slides to create overlay graphics for your ATEM Swticher, pull them, convert them to PNG, and upload them to the ATEM (using the atemlib MediaUpload.exe executable), all with one click.
Currently, this works with Python on Windows, mostly due to the atemlib only being precompiled for Windows.
Make sure your slides are set to 1080
- webbrowser
- os
- time import sleep
- subprocess import run, Popen
- pdf2image import convert_from_path
- PyPDF2 import PdfReader
- re
- yaml
- MediaUpload_x64_v9
- Compiled version: https://ianmorrish.wordpress.com/atem-command-line-utilites/
- Source: https://github.com/mintopia/atemlib/
- Download this repository
- Run setup.py to set up the environment [Not working yet]
- Actually, set up a conda enviroment with environment.yml
- Then download https://github.com/mintopia/atemlib/releases/download/v2.0.2/atemlib-2.0.2.zip
- Unzip and place the directory here
- Copy config_example.yml to config.yml
- Open config.yml and change settings (be sure and get the correct path to MediaUpload.exe)
- Prepare slides in Google Slides
- Run!
When you create your slides, in order to set the desired filenames, create a text box, where the text color matches the background (black on black in most cases), and type:
FILENAME: MyFilename
Where "MyFilename" is what you want this slide to be called on the ATEM. It's a good idea to put this in the notes section too so you can tell which slide this is supposed to be without having to change the text color.
- Open ATEM Software and ensure the ATEM is reachable
- Double click LoadItUp.py (or run
python LoadItUp.py
from command line)