Archives for 28 Aug,2015

You are browsing the site archives by date.

Getting started with scripting MovingImages in ruby

If you are hardcore then you can go straight to the Resources blog post which points you to various resources for scripting MovingImages, but I’d recommend watching this video series first. The last episode is a doozy, a description of a complete 275 line ruby script that joins two videos using the CoreImage ripple transition filter. Actual processing of individual video frames in ruby.

The first episode of the series steps you through downloading and installing the MovingImages video and graphics scripting platform, it’s simpler than it sounds, and then introduces you to a few of the image file processing command line tools. 12 minutes.

 
The second episode in the series introduces you to the various components of the MovingImages platform and how they fit together. The video also introduces the JSON command object and describes a short script which displays a window. 5 minutes.

 
The third episode in the series demonstrates how to import a movie file and how to get the properties of a video track in the movie file. Along the way the video shows you what to include at the top of your ruby script so you can access the MovingImages functionality.

The concept of the receiver object is introduced. When this object is included in the JSON command object it defines the object that is the receiver for the JSON command object. The receiver object is the object that will process the JSON command object. 6 minutes.

 
The final episode in this video series guides you through the important bits of a 275 line complete ruby script that joins two videos using the CoreImage ripple transition filter. Along the way you will see how to access video content frame by frame, create CoreImage filter chains and create a new video by building it up frame by frame. This is the script studied in the video. 13 minutes.

Read More