While not optimal, sometimes you don’t want to spend the extra money to get a robust tool for doing scheduled ingest from companies like Softron or ToolsOnAir. I had an inquiry on how you could do this using the free tools that come with AJA hardware after my write up on scheduling the KiPro using iCal. Considering that the free download from AJA’s site, VTR XChange, is Applescript capable this task is actually quite easy. We don’t need to write any shells scripts or interact with any command line utilities this time. In fact, we only need two scripts in total. One will start our VTRXchange Application recording, the second will stop record. Our first script is pretty simple:
set StartTime to do shell script "date '+%Y.%m.%d-%H:%M'" tell application "AJA VTR Xchange" activate capture to StartTime & "-iCalSchedule" end tell
The first statement simply grabs the start time of the recording and uses it to name the file in the second statement. The second statement starts VTRXchange if it isn’t already running, tells it to start capturing, and names the file in the format YYYY.MM.DD-HH:MM-iCalSchedule.mov Our second script is even easier:
tell application "AJA VTR Xchange" activate stop capture end tell
Save these scripts into ~/Library/Scripts as “Start Kona Capture” and “Stop Kona Capture” respectively. Then use the setup method in the article above on KiPro scheduling to add them to iCal. Enjoy!