Skip to main content
Inspiring
September 4, 2023
Question

Encoding Failed, H.264 Selector 9, Error Code 3 - BLANK COMPOSITION

  • September 4, 2023
  • 1 reply
  • 2109 views

Hi,

 

I have an animation I created on a 3840x64px composition.

 

For some reason, the animation kept failing over and over again. I haven't been able to successfully export it yet, despite the fact that the same animation at other sizes is exporting just fine.

 

So, as a test I created a completely blank composition with the dimensions of 3840x64px. THIS FAILS AS WELL!

 

Here are the details of the fail:

------------------------------------------------------------
- Encoding Time: 00:00:00
09/04/2023 02:24:38 PM : Encoding Failed
------------------------------------------------------------
Export Error
Error compiling movie.

Export Error

Error completing render.

Writing with exporter: H.264
Writing to file: /Users/rxe16/Desktop/AEProject/Comp 1.mp4
Writing file type: H264
Component: H.264 of type Exporter
Selector: 9
Error code: 3

------------------------------------------------------------

 

What's going on here? It's an empty composition.

 

Steps I've tried to resolve the issue:

- Checked for updates (AE 23.6.0 Build 62, Media Encoder 23.6 Build 62)

- Cleared memory and cache

- Restarted laptop (Apple M2 Pro, Ventura 13.5) 

- Tried changing Media Encoder to Software Only rendering

- Tried creating a completely new blank project, still won't export

- Tried uninstalling and reinstalling After Effects and Media Encoder

This topic has been closed for replies.

1 reply

Community Expert
September 4, 2023

I just tried a comp of that size. That image is one rendered frame. 

 

I don't have any problem with the comp size, but there's not much room for any animation, and a media player is going to have a problem with the file if it is for the web.  It's just a little taller than a line of text on my browser. 

Inspiring
September 5, 2023

The animation is for a basketball sporting area boundary wall which is a video screen, so as you can imagine, when that gets stretched around the court the dimensions make sense (and are also the specs provided by the arena). We've done animations for them at that size before no worries, but now Media Encoder is refusing to export it. The internal After Effects render engine has worked though, as a workaround.

Community Expert
September 6, 2023

I've tried using a number of encoder presets.

 

I don't think resolution would or should affect the renderability of a video. I've certainly never had an issue rendering 'odd sized' videos. After all, 'standardised' resolutions are just arbitrary numbers that we've accepted as the norm.


H.264 has standards. Encoding is based on 16 X 16 pixel blocks. Color is compressed in blocks of 4 pixels. IBP compression also imposes limits. There could be a host of things that cause a render failure.

 

I just created a comp that was 3840 X 64, filled it with a shape layer, and added it to the Media Encoder using the default Match Source preset and got an instant failure:

- Encoding Time: 00:00:00
09/05/2023 07:26:53 PM : Encoding Failed
------------------------------------------------------------
Export Error
Error compiling movie.

Export Error

Error completing render.

Writing with exporter: H.264
Writing to file: /Users/rickgerard/Downloads/h264 test_AME/3840 X 64 test_2.mp4
Writing file type: H264
Component: H.264 of type Exporter
Selector: 9
Error code: 3

 

I changed the render settings to Constant Bit Rate and 6 Mbps, and the file was rendered successfully. Try giving that a try.