Archive for March, 2009

March 31, 2009

ProRes 422 colors in After Effects

[For After Effects CS5, see "ProRes 4444 and ProRes 422 in After Effects CS5".]


UPDATE
See “ProRes 4444 colors and gamma shift when working with After Effects and Final Cut Pro” for information about gamma shifts with ProRes4444 media.

If you’re working with Apple ProRes 422 media in After Effects, you may have noticed some undesirable color shifts. The most likely cause for such color shifts is the fact that After Effects by default doesn’t know how to interpret Apple ProRes 422 media. Specifically, After Effects doesn’t know what color space the color information in these footage items is in. When After Effects doesn’t know what color space a footage item’s colors are in, it has to pick something, and it goes with sRGB—which is wrong for ProRes assets, so the colors are misinterpreted.

Fortunately, it’s pretty easy to tell After Effects how to interpret these colors correctly.

The automatic way is to add a set of rules to your interpretation rules file. If you do this, then After Effects will automatically identify Apple ProRes 422 as such and interpret the colors accordingly. (You can also manually assign input color profiles to footage items individually, but trust me: it’s easier in the long run to edit your interpretation rules file and let the automagic work from there.)

For information on how to edit your interpretation rules file, see the last section of the “Interpret footage items” page of After Effects Help.

Add the following lines of text directly above the line “# this soft rule should be the last in the list of soft rules”.


# soft rule: Apple ProRes 422 720×480 & 720×486 are SDTV NTSC
*, 480, *, *, "apch" ~ *, *, *, *, "r6nf", *
*, 480, *, *, "apcn" ~ *, *, *, *, "r6nf", *
*, 486, *, *, "apch" ~ *, *, *, *, "r6nf", *
*, 486, *, *, "apcn" ~ *, *, *, *, "r6nf", *

# soft rule: Apple ProRes 422 720×576 is SDTV PAL
*, 576, *, *, "apch" ~ *, *, *, *, "r6pf", *
*, 576, *, *, "apcn" ~ *, *, *, *, "r6pf", *

# soft rule: Apple ProRes 422 HD is Rec. 709
*, 720, *, *, "apch" ~ *, *, *, *, "r7hf", *
*, 720, *, *, "apcn" ~ *, *, *, *, "r7hf", *
*, 1080, *, *, "apch" ~ *, *, *, *, "r7hf", *
*, 1080, *, *, "apcn" ~ *, *, *, *, "r7hf", *

[Note: Be sure to use a plain text editor (like BBEdit or Notepad), not a word processor, to edit this file. Line endings and invisible formatting from word processors can make the file not work correctly.]

The four-character codes apch and apcn denote ProRes 422 HQ and ProRes 422, respectively.

These rules assign ProRes media the appropriate color profile by looking at the vertical frame size to determine whether the media is NTSC, PAL, or HD. You could add a similar rule for 2k assets, etc.

After you’ve made these changes to your interpretation rules file, start After Effects. Your ProRes media will now be automatically be assigned the correct color profile.

Of course, assigning the correct input color profile to a footage item doesn’t help anything if you’re not using the color management features that use those input color profiles to convert colors into the project’s working color space (project working space). You must therefore also enable color management by choosing a project working space. (Choose File > Project Settings, and choose a working color space from the Working Space menu.) For information about color management, see the “Color management overview” section of After Effects Help, and the white paper and tutorials that it points to.

(update: When you render and export the movie out of After Effects, make sure that you’ve assigned an output color profile that is appropriate for your output. If you’re “round-tripping” back to ProRes 422, then you’ll probably want to assign the same profile to the output file that you used to interpret the input file.)

10:59 AM Comments (23) Permalink
March 30, 2009

Rotoscoping in After Effects

Rotoscoping (or just roto if you’re one of the cool kids hip to the lingo) is the drawing or painting on frames of a movie, using visual elements in the movie as a reference. The most common kind of rotoscoping these days is tracing a path around an object in a movie and using that path as a mask to separate the object from its background. This allows you to work with the object and the background separately, so you can do things like apply different effects to the object than to its background or replace the background entirely.

Rotoscoping in After Effects is mostly a matter of drawing masks, animating the mask path, and then using these masks to define a matte. Many additional tasks and techniques make this job easier, such as using motion tracking on the object before you begin drawing masks, and then using the motion tracking data to make a mask automatically follow the object.

Pete O’Connell has done a terrific job in his Advanced Rotoscoping Techniques for Adobe After Effects training DVD of laying out a highly efficient workflow for rotoscoping in After Effects that is built around motion tracking, decomposition of an object into simple pieces that are easier to draw masks around, and a few other tricks. He’s made a couple of excerpts available on his website, and from these you can get a general sense of the overall workflow and of the high quality of the training on the DVD.

Here are some examples of workflow tips that I picked up from Pete:

  • Immediately after beginning to draw a mask, press Alt+Shift+M to turn on keyframing for that mask and set a keyframe. This way, you’ll never again do that thing that all of us have done at least once: edit a mask frame-by-frame for several minutes (or longer!) and then realize that you lost all of your work on previous frames because you forgot to click the stopwatch to make the mask shape animated.
  • Draw your masks on a white solid layer with its Video (eyeball) switch off, above the (locked!) footage layer. This way, you run no risk of accidentally moving the footage layer when you manipulate the mask, and you can also much more easily apply tracking data to the mask. (You apply the tracking data to the invisible solid layer that holds the mask.) This also means that you don’t lose your cached RAM preview frames each time you fiddle with the mask, which is a big advantage.
  • Turn on the Preserve Constant Vertex Count preference.
  • When possible, transform (rotate, scale, move) the whole mask or a subset of the mask vertices instead of moving the vertices individually. This is both for efficiency and to avoid the “chatter” that comes from inconsistent movement across frames.
  • Manual motion tracking beats manual rotoscoping. The more effort you spend getting good tracking data for various parts of your scene and object, the less time you’ll spend drawing and tweaking and retweaking masks. (To drive this point home, consider that Pete has an old tutorial still up on Creative COW where he uses these same rotoscoping techniques… but from before After Effects had built-in motion tracking, so his motion tracking was entirely manual. And still the techniques work very well.)

We have a copy of Pete’s DVD here, and several members of the After Effects team have been passing it around and recommending it to each other. Great work, Pete!

On a related note…

Sean Kennedy provides several good tutorials on the SimplyCG website, including some for rotoscoping in After Effects. Sean maintains an index of these tutorials on his website. One of the more useful things that Sean has done is to provide a free script, TrackerViz, which makes tracking motion and applying tracking data to masks a lot easier. You can get TrackerViz and a series of detailed instructions on the SimplyCG website.

10:37 AM Comments (2) Permalink
March 25, 2009

Learning After Effects CS4 by Jeff Foster

I recently watched Jeff Foster’s Learning After Effects CS4 DVD, and I really liked a lot of the segments.

Jeff’s DVD provides a lot of useful information and tips on many subjects, but I especially liked the sections on using mocha for After Effects, Keylight, and layer styles.

One of Jeff’s video tutorials about motion tracking with mocha for After Effects CS4 is available on the PhotoshopCAFE program on Adobe TV.

Jeff has also been posting a lot of valuable comments on the pages of After Effects CS4 Help, including the “Tracking and stabilizing motion” page.

I like Jeff’s PixelPainter blog, too, which covers a lot of Photoshop and After Effects material. I suppose that’s no surprise, coming from the guy who wrote After Effects & Photoshop.

Keep up the great work, Jeff!

1:44 PM Comments (1) Permalink
March 18, 2009

video tutorials, esercitazioni, tutoriales, didacticiels, tutoriels, Lehrgänge, チュートリアル

English
Adobe and its partners provide a basic set of video tutorials on the Adobe website, in addition to excellent tutorials provided by other members of the community. Many sections of After Effects Help refer to additional video tutorials in context to provide information about specific features. If you know of an excellent video tutorial or other resource about After Effects, please leave a comment at the bottom of the relevant page of After Effects Help on the Web to tell others about it.


日本語
アドビ システムズ社で、ビデオチュートリアルの基本セットを提供しています。他にも、コミュニティのメンバーから提供された優れたチュートリアルも提供しています。 After Effects のヘルプでは、特定の機能に関する情報を提供するために、文中で様々なビデオチュートリアルを参照しています。 After Effects の日本語チュートリアルや、日本語で説明された制作例などをご存知でしたら、After Effects オンラインヘルプの該当するページのコメント欄にてご紹介ください。コメント欄は、各ページの一番下にあります。


Français
Adobe et ses partenaires proposent un ensemble basique de tutoriels vidéo sur le site Web d’Adobe; ils s’ajoutent aux excellents didacticiels d’autres membres de la communauté. De nombreuses sections de l’aide After Effects renvoient à d’autres didacticiels vidéo en contexte pour fournir des informations sur certaines fonctionnalités spécifiques. Si vous avez un bon tutoriel vidéo ou d’autres ressources en français à recommander pour After Effects, partagez-les avec d’autres utilisateurs en écrivant un commentaire en bas de la page concernée sur l’aide en ligne d’After Effect CS4.


Español
Adobe y sus socios ofrecen un conjunto básico de tutoriales en vídeo en del sitio Web de Adobe, además de los excelentes tutoriales ofrecidos por otros miembros de la comunidad. Muchas secciones de la Ayuda de After Effects se refieren a tutoriales en vídeo adicionales en contexto para proporcionar información sobre funciones específicas. Si sabes de un tutorial en video excelente, o de otros recursos sobre After Effects en Español, por favor deja un comentario al pie de la página relevante de la Ayuda de After Effects en la Web para compartirlo con otros.


Deutsch
Adobe und seine Partner stellen der Adobe-Website einige grundlegende Video-Lehrgänge bereit. Sie werden ergänzt durch hervorragende Lehrgänge von anderen Community-Mitgliedern. In vielen Abschnitten der After Effects-Hilfe wird auf weitere, kontextbezogene Video-Lehrgänge verwiesen, die über spezifische Funktionen informieren. Wenn Sie interessante und hochwertige Tutorials oder andere Quellen kennen, die sich mit After Effects beschäftigen oder artverwandte Themen behandeln, hinterlassen Sie bitte einen Kommentar auf der jeweiligen zugehörigen Seite der Adobe After Effects Onlinehilfe, so dass andere Anwender diese auch finden können.


Italiano
Adobe e i suoi partner offrono un set di base di esercitazioni video sul sito Web di Adobe, oltre alle ottime esercitazioni fornite da altri membri della comunità di utenti. In molte sezioni della guida di After Effects potete trovare riferimenti a esercitazioni video rilevanti per specifiche funzioni. Se Lei sa di un esercitazione video eccellente o altra risorsa circa After Effects in italiano, La preghiamo di lasciare un commento in fondo alla pagina relativa di After Effects Aiuto per il Web per dire ad altri di esso.

9:55 PM Comments (3) Permalink
March 13, 2009

CS4 Production Premium on 64-bit operating systems

Karl Soule just posted a link on his blog to a new white paper about how you can get a big performance bump by running CS4 Production Premium (or just After Effects CS4) on a 64-bit operating system, especially if you cram a lot of RAM into the computer.

The trick to making maximum use of the RAM in your computer with After Effects is to set the Memory & Multiprocessing preferences, including Render Multiple Frames Simultaneously.

With Render Multiple Frames Simultaneously, After Effects can start separate background processes of the After Effects application to render multiple frames at the same time. This can really speed up renders, both for final output and for RAM previews.

2GB per process is the limit on 32-bit Windows without special (and some say somewhat risky) configuration. And, of course, the OS can only see 4GB, so that’s severely limiting.

Nearly 4GB per process is the limit on 64-bit Windows, with no special configuration required. ~3.5 GB per process is the limit on Mac OS (though the foreground application gets a little less because of the Mac OS UI libraries). Because these numbers are per-process, and because a 64-bit operating system can see a lot of RAM, you can make use of around 30GB of RAM in an 8-core computer.

More performance tips for After Effects CS4 can be found in the “Improve performance” section of After Effects CS4 Help on the Web.

9:46 PM Comments (4) Permalink
March 2, 2009

top contributors to After Effects Community Help

A few months ago, I posted on this blog about moderators for After Effects Community Help.

Since then, there have been a few changes to After Effects Community Help, many of them based on your feedback. For example, if you’ve installed the After Effects 9.0.1 update, pressing F1 now takes you directly to After Effects Help on the Web instead of to the more broad After Effects Community Help and Support page.

We’ve also seen a large increase in the number of people using our community features to engage with us, with each other, and with our instructional and reference resources. A lot of people are adding comments to the pages of After Effects Help on the Web to provide tips, additional information, and links to other resources, as well as to occasionally point out where we got something wrong.

Thank you all. Keep those comments coming,

Of course, comments on Help on the Web are not the best way to ask questions or to have threaded conversations. For that, we have the After Effects user-to-user forum. Several very helpful motion graphics and visual effects professionals assist people on that forum.

And so I thank all of the folks who help out on that forum.

Finally, there are several people who spend a lot of time and effort creating written tutorials, video tutorials, example projects, animation presets, scripts, expressions… all for free. Even many of the folks who make a living by selling materials like these also make excerpts available for free. Sure, they do this in part because it’s good business, but I know a lot of these folks, so I can tell you this: They also want to give back to the community that has helped them so much. Because we link to these materials from After Effects Help, I also consider these materials to be part of After Effects Community Help. (Of course, we can only link to things that we know about, which is why I plead with you to add comments to link to online materials that you think are good.)

All of this is why I am so glad to work on After Effects. People who use this software help each other out, and that makes us all better able to realize our creativity and feel more connected with our community, while we increase our productivity and gain practical skills.

Here, in no particular order are the people who I would most like to thank for their contributions to After Effects Community Help. My personal opinion (which is not necessarily the opinion of my employer, Adobe Systems Incorporated) is that you should buy whatever these people are selling, contribute to their online tip jars, give them jobs, and otherwise make use of their talents and ensure that they keep on sharing them with all of us. I have.

  • Sébastien Périer has done a tremendous amount of work to translate comments from English to French, as well as adding several of his own. I really like his demo reel, which showcases a lot of clever and artistic uses of After Effects scripting, as well as a lot of more “standard” motion graphics and compositing work.
  • Lutz Albrecht (Mylenium) is an all-around superstar contributor. He is an expert at answering people’s questions on the user-to-user forum, he moderates comments on After Effects Help, he adds many comments of his own, and his website is the best place on the Web (even better than the Adobe website) for figuring out what those cryptic error code messages mean. All of this more than makes up for the fact that he’s even more of a curmudgeon than me.
  • John Dickinson is another all-around star contributor. He creates free tutorials, design breakdowns, and other useful tidbits that he posts on his Motionworks website. He answers questions on forums. And he (together with many cohorts) creates the fantastic Making It Look Great series. He even sometimes remembers to add comments to After Effects Help to point people to these materials.
  • Jeff Foster has been a steady contributor of high-quality comments to After Effects Help and to the world of free online materials about After Effects. He also just released a very good DVD of video tutorials, Learning After Effects CS4; I learned a lot from it, especially about using layer styles. I also really like his book After Effects & Photoshop, which still has a lot of valuable information, even though it was written for a previous version of the software.
  • Trish and Chris Meyer have been at the forefront of creating materials for learning After Effects for longer than I’ve known about the existence of After Effects. They do it all, and they do it all well. I have bought, read, and watched everything of theirs that I can get my hands on. You can read all about their various resources on the ProVideo Coalition website. I link to their various resources from many places, including a recent post on this blog.
  • Rick Gerard focuses mainly on answering questions on the After Effects user-to-user forum. I am always so glad to see when Rick has answered a question, because I know that the answer is going to be correct, thorough, and based on real-world experience.
  • Jonas Hummelstrand is another strong contributor on the After Effects user-to-user forum. Beyond that, he has made some of the most effective and useful posts about After Effects and motion graphics and compositing in general on his General Specialist website. For example, his article about how to shoot footage for color keying work is one of the most valuable pieces of free information on the Web for After Effects users.
  • Alex Czetwertynski moderates comments on After Effects Help, and we appreciate that. But that contribution pales in comparison to the wonder that is AE Enhancers. The AE Enhancers forum is the place to go for discussion of scripts, expressions, and animation presets for After Effects. Yes, there are great websites maintained by Dan Ebberts, Jeff Almasol, Lloyd Alvarez, and others who provide scripts and expressions and resources for learning about them. But these folks all hang out on AE Enhancers, too.
  • Dan Ebberts answers questions about expressions and scripts on several forums, provides reference and tutorial information on his own site, and just generally does a terrific job of making the JavaScript-based parts of After Effects more accessible to everyone. He recently published a very good and very thorough tutorial about the XMP metadata features in CS4 Production Premium, which covers expressions, ExtendScript scripting in After Effects, and ActionScript scripting in Flash. Yep. If it’s based on JavaScript, Dan can create and explain it.
  • Lloyd Alvarez doesn’t do as much explaining as other folks, but he makes up for it by making freely available some of the most fantastically useful scripts for After Effects.

I know that I mentioned this at the top of the list, but I’d really like to remind you to make use of the tip jars on the websites of these folks. They’re giving things away that in some cases are better than things that other folks are selling for a lot of money.

Yes, there are a lot of other folks who make things that help After Effects users, but I can’t list them all here… and my point in this post was to especially thank the people who have been using the various community features that Adobe provides—like user-to-user forums and comments on pages of After Effects Help—to let us know about the good materials that are out there. There’s a more complete listing in the After Effects community resources page of After Effects Help.

12:46 PM Comments (3) Permalink