To export a transparent video in After Effects, follow these steps: First, complete your project. Then go to 'Composition' and select 'Add to Render Queue.' In the Render Queue, click on 'Lossless.' Set the format to 'QuickTime' and choose 'Animation' codec. Finally, ensure 'RGB + Alpha' is selected before hitting 'Render.'