ProRes 4444 with alpha
ProRes 4444 is the usual codec for delivering a graphic with transparency as video. Apple's April 2022 white paper says ProRes 4444 XQ and ProRes 4444 "are the only ProRes codecs that support alpha channels," with "a mathematically lossless alpha channel up to 16 bits." In After Effects, choose RGB+Alpha in the output module.
Read the full lesson: Motion Graphics Terms: After Effects and Compositing →