Recording HD (720p) Video in Max 7

by hzimmerman in Circuits > Art

6709 Views, 3 Favorites, 0 Comments

Recording HD (720p) Video in Max 7

Screen Shot 2015-02-07 at 22.29.23.png

So you want to record your Jitter video output from Max 7 patches running on OSX in HD quality. In fact, let me make that more specific: you want your Jitter movies to be editable in a program such as Final Cut Pro X and viewable via QuickView in the OSX Finder. This is quite an understandable requirement if you are making a video art project using max/msp/jitter which needs some editing and post production. In this Instructable we'll edit an existing patch, but this works just as well for your own jitter patches where you need to generate 720p video.

Record the Output From an Existing Patch

Screen Shot 2015-02-07 at 22.34.36.png

As an example, let's record the output from the Cycle-delic patch (see image). Open that one in Max 7.

Make Sure Everything Generates 720p HD Video

Screen Shot 2015-02-07 at 22.42.37.png

In the example patch, the jitter matrix is restricted to 320 x 240 video. Although we can blow this up to 1280 x 720 HD, it would look quite pixelated. So we need to make sure all the parts that reference this small 320 x 240 format are changed to 1280 x 720. Most of it is in the [p stuff] object. After you've edited that one, it should look as the image in this step.

Adjust the Center Pictslider

Screen Shot 2015-02-07 at 22.46.15.png
Screen Shot 2015-02-07 at 22.46.21.png

The second pictslider, labeled "Center", needs some different parameters now that it has to handle HD video. Set the value at Bottom to about 730 and the value at Right side to about 1290.

Add Objects to Record Our Output.

Screen Shot 2015-02-07 at 23.00.54.png

The only output of the [p stuff] object is the jitter matrix we want to record. So this goes into a new [jit.record] object with dimensions 1280 and 720. Make sure the engine attribute is set at 'avf' and the codec to 'prores422'. We also need to add two messages: [write 25.] to write a movie at 25 frames per second (or change that to your desired framerate) and a [stop] message to stop recording video.

Record Your Video!

Screen Shot 2015-02-07 at 23.03.18.png

By clicking on the [write] message box, a dialog opens where you can tell OSX where to save your new movie and under which name. You may notice that Max gets a bit more sluggish from generating video of this high quality. After the recording is done, you now have a prores422 Quictime movie in 1280 x 720 quality, ready for further editing.

So why the prores422 and not 4444? It appears that the latter can't be viewed via QuickView in OSX (i.e. hitting the space bar on a selected file in the Finder). If this is not a requirement for you, you can of course choose whatever codec you want. However, prores422 is easily good enough for silly art things rendered in jitter. On the last step, I will post the patch in Max clipboard format.

Happy patching!

Max Code (File - New From Clipboard)

----------begin_max5_patcher----------
4605.3oc6ck0aiajD9Y6eEbDlMHYhsRexifMASlDDr.Kv9RdLHqAkDkDioH4
RR4wSxl8291G7ThGszHRQZX+fbyljMq9qpt5qpp9Ou8lYKBd1Idl12p8qZ2b
yed6M2HxhmwMoWeyrc1OuzyNV7XyVFramiexr6j2Kw44DQ9QNKChVo45qYf.
gZ+ieJ6I72uy02yIQ75vhLC1mjkKHM2P6jkac827.qvRjDkAPeN3NMJV7OHE
v+Gh8q1uk9RtqDe+fE+98HZ1GMN4SdNh7mwy3ut8V9O2oXcbmSbr8FmipieL
xMwQCQmWacCUacC1bcSGhk0Mp3ehZHBUeUCix9lxxN4SgNxRY1r7m+yqV667
Q1W5nJ8u6lLOk4BQl.N6U68N9ab8czreZs16WFrxYoVXTPjSLAgNA9NpYrgZ
H3z5DADgLaEbPfFAGF0+vN6jH2mmcWuCUgZwI6WutVDHSFecfeRr6eH91P3b
KLw.CaUxYq6pUN9cHKkhWDcKw+PsAWDpJvU9axoXe6cRz5Ghbs8poUVYJyIJ
E5RwNVQ3547jSTraP45wMyrCCKk8MkdENf+6AhBx3t7rb8kYAxyJx4I2CKVV
4FwvmDF3rORReOapOqnXXBrQ96cEuiLSFq+1rBLCRI.AjZHPTSXJvRJvTlTx
lkAdRR5W0fBMTk+o7C5Er7QmUkI9YAgN9t9grlMLEp1Io0h7auxYs8dujGpH
wvIoZt+Z6kNM9x0x7tY1lH2UA9bhnBOgmc1miUonR8tkqLhmv2NrlWlIdwvu
FtYLqRtOdgcDmksPJ4fxtYRPfW0ak+ddNqSRucnqu+AnXRPXy2Lxcy1Vd2EA
ratqsxVbm3G16Ku6CLU.IODa+TUzNw1yKUmP0h+YaeWV6ImDWIK.AxuoiuMq
htMdYTfmWk5q7NOUycVwj1W57Q2UIaEenxBCrG2MLSHZVNWdk6Fm3jp4kXuI
tZNG0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