ATEM SuperSource Box configuration using PowerShell script

I finally sorted the code for enumerating the collection of super source boxes in the 2 M/E and tested it this weekend.

Download the latest version here…

add-type -path 'C:\Users\imorrish\Source\Workspaces\VISE_ATEMLib\SwitcherLib\bin\Debug\SwitcherLib.dll'

add-type -path 'documents\windowspowershell\SwitcherLib.dll'
$Global:atem = New-Object SwitcherLib.Switcher("192.168.10.240")
$atem.Connect()
$Global:ME = $atem.GetMEs()
$SuperSources=$atem.GetSuperSource()
$SuperSources[0].InputFill=2001
$SSBoxes=$Atem.GetSuperSourceBox()
#Display current box values
$SSBoxes | ft
#Assign each box to object
$Box1=$SSBoxes[0]
$Box2=$SSBoxes[1]
$Box3=$SSBoxes[2]
$Box4=$SSBoxes[3]
#set options for Box1
$box1.PositionX = -4
$box1.PositionY = 6
$box1.Size = .25
$Box1.InputSource=1
$Box1.Enable = 1
#Put SuperSource on-air
$ME[0].Preview=6000
$ME[0].Cut()

Output

PS C:\Users\imorrish> $SSBoxes | ft
Enabled InputSource PositionX PositionY Size Cropped CropTop CropBottom CropLeft CropRight
——- ———– ——— ——— —- ——- ——- ———- ——– ———
1       1           -8        4.5       0.25 0       0       0          0        0
1       2           8         4.5       0.5  0       0       0          0        0
1       3           -8        -4.5      0.5  0       0       0          0        0
1       4           8         -4.5      0.5  0       0       0          0        0

ATEM SuperSource Box Configuration UI

The software panel is a but cumbersome when it comes to making a lot of settings that involve size and position of effects.

I have provided a few examples of making adjustments to things like chroma key settings using a midi device but probably the ultimate in complexity is setting the super source parameters and option for the 2 M/E.

The following screenshot is more of a teaser as I don’t have a 2 M/E right now but will try and get a video of it working soon. I’ll also be publishing a new switcherlib for PowerShell that has a full implementation of the SuperSource Box configuration options.

Panasonic PXW270 camera and AK-HRP200 CCU configuration

The last time I tried to get this combination of camera and Camera Control Unit (CCU/RCP) working it took almost a day of searching for the required configuration settings and firmware versions. After finally getting it to work I was sure I had documented it but when I had to do it again this week for a couple of new cameras and CCU unit I couldn’t find it anywhere and search for the answer did not return any decent results.

What you need:

Software from Panasonic, CCU firmware available after 2013.

https://eww.pass.panasonic.co.jp/pro-av/support/content/download/EN/ep2main/soft/upghrp200_e.htm

This page also provides links to the following software:

Easy IP – this lets you discover the AK-HRP200 unit and change its IP if you want. The default is 192.168.0.130
Just a tip with the Panasonic software, only have one HRP200 plugged into the network (or direct to your PC) if you want to change its configuration.

Smart Configuration Tool (ROP Setup Software)

Set the CCU and Cameras to be on the same network. The camera IP address is set by holding down the Menu button on the camera for more than 5 seconds, otherwise you only get the simple user menu settings.

The camera must be configured to allow remote control. This is in the network setting and there are two settings required to make it work.

[NETWORK SETUP] -> [NETWORK FUNCTION] -> [HTTP SERVER+REMOTE]

[NETWORK SETUP] -> [REMOTE] -> [ENABLED]

Set up a user name/password or use the default (guest p2guest)

Using the Smart Configuration Tool, you can tell the RCP about any cameras that it can control. The trick is to use the settings below:

Connection Mode: IP Mode

Camera Type: RemoteCamera

 

Camera Type: Camcorder IP

Camera Port No: 49152

 

Even if I have one CCU per camera, I always add the other cameras to each CCU just in case a CCU fails, you can hold down the Select button until the camera number flashes and then use the DATA SET up and down arrows to select another camera.

PowerShell serial monitor for Arduino

Just a simple option to monitor the USB serial communications from an Arduino.

$port= new-Object System.IO.Ports.SerialPort COM4,115200,None,8,one;
$port.open(); 

while ($port.IsOpen) {
    $port.ReadLine();
    if ($Host.UI.RawUI.KeyAvailable -and ([int]$Host.UI.RawUI.ReadKey‘AllowCtrlC,IncludeKeyUp,NoEcho’).Character) -eq 3) {
        $port.close();
        break;
#In ISE, use <Ctrl>Pause to exit
    }
}
$port.close();

Headset adapter for the TVS HD

The Blackmagic Television Studio HD provide a talkback option but via an aviation standard jack which is .206″ rather than the 1/4″ jack used for headphones.
I have 4 or 5 pin XLR headsets so ordered ths adapter from eBay (China).

Update: It arrived. quality is good but headset jack is mono only. From the picture it is hard to tell which is the smaller (microsophone) jack which I thought was the one on the right.

When using a Clearcom/RTS type headset, the microphone level is to low. I have built a circuit based on http://darrenyates.com.au/electronics/archives/16 with an XLR 5pin (for the adapter above) and 4 pin socket (for the headset).

Warning: Run off 9v battery, or if you want to run a dirty plug pack, use a 317 regulator with good filtering, otherwise you get lots of hummmmmmm.

20170603_174826

Clearcom to aviation microphone adapter

Control ATEM headphone levels from PowerShell

I have been working on a completely new version of the ATEM Switcher Library for PowerShell which supports multiple ATEM’s but that is taking a long time.

The current SwitcherLib has been working fine for me (and others) but with my new TVS HD, I now wanted to be able to control the headphone monitoring and talkback levels from a midi device.

This update requires the 7.0 ATEM software and switcher firmware to be installed.

All values are in DB’s from -66 to + 6. You can get or set the values as shown in the sample code below:


add-type -path '.documents\WindowsPowerShell\SwitcherLib.dll'
$Global:atem = New-Object SwitcherLib.Switcher("192.168.1.8")
$atem.Connect()
#headphone levels
$headphones = $atem.GetHeadphoneOutputs()
$headphone1 = $headphones[0]
$headphone1.HeadphoneGain = -6
$headphone1.HeadphoneProgramOutGain = 0
$headphone1.HeadphoneSidetoneGain
$headphone1.HeadphoneTalkbackGain</span>

Download SwitcherLib7.dll from SwitcherLib7.dll