The Best Way to Export HAP Codecs from After Effects

March 6th, 2020
Full tutorial to export Hap / Hap Q from your Render Queue and explanation of AfterCodecs benefits and features
AfterCodecs is a new native plugin for the whole Adobe CC Video suite, working on both MacOS and Windows. It brings fast and efficient codecs to After Effects’ Render Queue and a new Format choice in Premiere Pro and Media Encoder's Export Window.
It supports HAP codecs, in any resolution
, with Snappy lossless compression and CPU chunks for multi-threaded decompression.

How to find AfterCodecs in After Effects

Render queue

Download and install AfterCodecs (both trial and full version) with the installer provided here. It will install AfterCodecs for Premiere Pro, Media Encoder and After Effects.
Close any Adobe app running before launching the installer. Launch After Effects again and add your composition to the After Effects Render Queue. In the Render Queue tab, click on the button shown on the right to bring up your Output Module settings.
Render queue
Once the settings panel is open, select the AfterCodecs .mov format (HAP codecs only support .MOV and .AVI containers).

Output Module: Alpha channel, bit depth

Depending on whether you want to export the Alpha channel or not, there are four different types of HAP codecs to choose from: HAP, HAP Alpha, HAP Q and HAP Q Alpha. HAP Q flavors have improved image quality, at the expense of larger file sizes. HAP flavors have the lowest data-rate and a reasonable image quality.
Note: VLC player does not currently support HAP Q Alpha.
If you would like to include an Alpha channel in your export, simply switch from RGB to RGB + Alpha in the Channels drop-down menu and you can choose between HAP or HAP Q in the AfterCodecs settings. Choosing RGB + Alpha will export HAP Alpha or HAP Q Alpha, depending on which one you chose.
As HAP is an 8 bit codec, there is no use selecting more than Millions of colours on the Depth drop-down, as it will just increase render times without any quality improvements. If you would like to select a different resolution for your composition, you can select it now by ticking the Resize box and entering your desired resolution. Unlike other HAP plugins, AfterCodecs has no resolution restrictions. This means you don’t have to worry about only being able to export resolutions that are multiples of 4, for example.
Output module settings

Selecting your AfterCodecs settings

Open the AfterCodecs settings by clicking on Format options button. Now you can select more advanced encoding settings.
Video codec
Once the AfterCodecs settings window pops up, select your desired HAP flavor from the Video Codec drop-down menu. The Alpha channel will only be included if you selected RGB+ Alpha previously:
  • If you select HAP / HAP Alpha from the menu and you picked RGB + Alpha it will export HAP Alpha, otherwise, HAP
  • If you select HAP Q / HAP Q Alpha from the menu and you picked RGB + Alpha it will export HAP Q Alpha, otherwise, HAP Q.

HAP Algorithms

Algorithm
If you are exporting HAP (not HAP Q), AfterCodecs also lets you select a different algorithm that suits your needs.
  • Vidvox / Squish Accelerated: This an optimised algorithm created by Autokroma that encodes HAP the slowest, but will deliver the highest quality available.
  • Original FFmpeg: This is the original algorithm, it will render faster and deliver acceptable quality, but the Vidvox algorithm does look better.
  • JMP Preview: As the name states, this will deliver low quality files quickly, so it should only be used for previews that are needed fast.

Snappy

Chunks
Select the number of cores you would like to use for multi-threaded decoding. 1-2 cores is recommended for HD.
You can select more cores for 4K+ content, but they should never exceed the number of CPU cores in the computer used for playback. Above the chunks slider, you have the option of disabling snappy compression. This is not recommended without testing, as it can result in choppy playback. Without snappy compression, multithreaded decoding is disabled, so you will be unable to select your desired number of cores from the Chunks slider.

Export!

Once everything is configured to your liking, click OK on both popup menus (AfterCodecs Settings and the Output Module settings).
Click Render on the Render Queue tab and you’re done!
For more information on HAP codecs, please consult https://hap.video/

Install and try for free AfterCodecs from here! 500 Frames trial included as well as the full version if you have a license.

BETA for Autokroma Influx (All-in-one Importer for Adobe Premiere Pro, Media Encoder and After Effects)

Try out our BETA for our new Importer plugin for Adobe CC video software !
Read more

Vizual PixelPerfect : Upscale your Pixel Art with Nearest Neighbors in Premiere Pro for FREE !

Discover our new pack of filters for Adobe CC that brings you FREE pixel art upscaling algorithms for Premiere Pro and After Effects
Read more

BETA for AfterCodecs V2 (Exporter for Adobe Premiere Pro, Media Encoder and After Effects)

Try out our latest BETA for the second upcoming version of AfterCodecs, new features to test !
Read more

BRAW Studio YouTube short tutorials series

Watch our latest short video tutorials to understand all BRAW Studio features
Read more

BETA for URSA 12K .BRAW & Color Science V5, BMPCC6K Pro (Import in Premiere Pro and After Effects)

Try out our latest BETA implementing BRAW API 2.0 BETA, to import URSA Mini Pro 12K files, BMPCC 6K Pro and test BMD Color Science V5 into Adobe video apps !
Read more

Blackmagic RAW 1.7 Bug : no thumbnails and file access issues (Fixed)

More information about the bug in Blackmagic RAW API 1.7 on Windows that might affect you on Windows
Read more

The Fastest Way to Export H.264 for YouTube from Adobe Premiere Pro, Media Encoder and After Effects

Full tutorial on the fastest way to export H.264 to Youtube in Premiere Pro, Media Encoder and After Effects using our plugin, AfterCodecs
Read more
If you're running Apple silicon (latest M1 CPU) please read our article about compatibility with Adobe !