New versions of both After Effects and Media Encoder were just released this week, would you mind checking to see if this issue is still occurring in the latest versions? There have been improvements to memory handling in AE that may help to speed up renders in Media Encoder as well. Additionally, you can also now export H.264 video directly from After Effects' Render Queue.
Hi John! I am using a Mac Mini M1 with macOS Monterey 12.2.1 installed. The problem started happening when I updated to the latest version of Media Encoder. It seems that even on short projects, like a 5 minute video, when trying to render to H.264, Media Encoder finishes rendering the video but then starts adding an infinite amount of extra time / blank space to the end of the video, making it so the Remaining Time estimated continues to go up, and the rendering can go on forever until you decide to stop it.
A workaround is to export directly in Adobe After Effects using QuickTime / Animation codec and then convert the gigantic video that comes out of it into H.264 afterward. This is a bit more time-consuming and resource-intensive though than it used to be when I could easily export my videos straight into H.264, ready for YouTube, not in a giant file size, and with quick rendering times.
I believe the issue is not in After Effects, the issue is in Media Encoder.
Thank you for reporting this issue. Would you be able to provide your full system specs (OS version, RAM, CPU, etc) so that we can better understand the environment you're working in?
Did this behavior start when you updated After Effects to a particular version? If so, in what version did this behavior start?
Thanks for reporting this issue and for any further information you can provide,
This appears to be some issue/ bug. The recommended procedure for the time being is to directly render from AE to an intermediate format like ProRes and encode the file in a separate pass.