Aja control room setup for python scripting, Macintosh instructions – AJA Control Room User Manual

Page 23

Advertising
background image

AJA Control Room v1.0

www.aja.com

23

AJA Control Room Setup for Python Scripting

1. Copy the python folder to your desktop. It can be copied anywhere, but for this

example we will expect it to be on your Desktop

2. Launch the AJA Control Room application

3. Open the AJA Control Room Preferences and

A. Select the Scripting pane

i. Make sure Enable Scripting Server is checked

ii. The Scripting server port defaults to Port 8080.

NOTE:

You can change this if desired but our example code expects it to be set to Port 8080. If you
modify this port number you must change the appropriate value in the code to match.

B. Select the General pane and

i. Make sure Hold onto device when app is in background is checked

ii. Make sure a Capture Path is specified

C. Dismiss Preferences window

4. Select Capture tab in Main window

A. Specify desired File Type

B. Specify desired Video Codec

C. Specify desired Audio Codec

D. Specify number of Audio Channels

E. Confirm that the checkbox next to the File Name field is checked

Macintosh
Instructions

1. Make sure the AJA Control Room app is running and is set up as described above.

A. Open the Terminal application

B. Type cd ~/Desktop/python/examples

C. Type ./testcapture.py to run the testcapture Python script.

The testcapture script tells AJA Control Room to capture a 1 second clip called “testClip”.
The captured clip will appear in the bin.

Figure 24. Desktop Python Examples

Advertising