AME H.264 export fails (Selector 9, Error code 3) when AE comp name and output file name both end in a single digit
Product: Adobe Media Encoder (AE → AME queue handoff)
SUMMARY
Sending an After Effects comp to Media Encoder fails within ~5 seconds with "Error compiling movie… Component: H.264 of type Exporter, Selector: 9, Error code: 3" — but only when BOTH the comp name and the output file name end in a single digit. Changing either one (zero-padding, or ending with a word) renders normally. Reproduced 6+ times.
ENVIRONMENT
- After Effects 2026 [version]
- Media Encoder [version]
- macOS [version], MacBook Pro M5 Pro, 48 GB RAM
- Preset: H.264, Match Source – High Bitrate (VBR 1-pass, Hardware Encoding)
- Output folder: OneDrive (~/Library/CloudStorage/OneDrive-…)
STEPS TO REPRODUCE
1. In AE, name a comp "Background 2".
2. Composition > Add to Adobe Media Encoder Queue.
3. Set the output file name to "test 1.mp4".
4. Start the queue.
Expected: file renders.
Actual: fails within ~5 s, Selector 9, Error code 3.
TEST RESULTS (same comp content, preset and folder every time)
- Comp "Background 2" + output ending " 1", " 2", " 5", " 6", "_1" → FAILED
- Comp "Background 2" + output ending in a word ("now", "noq", "_now") → RENDERED
- Comp "Background 2" + output starting with "01" → RENDERED
- Comp "Background 2" + output ending " 01" → RENDERED
- Comp "Background 02" + output ending " 1" → RENDERED
- Unchecking "Increment output file name if file with same name exists" made no difference.
OBSERVATION
AME's temp project for the comp is named "tmpAEtoAMEProject-Background 2_5.aep" — it appends its own number to the comp name. A single trailing digit in both the comp name and the output name may be colliding in how AME builds or parses internal file names.
WORKAROUND
Zero-pad numbers in comp names ("Background 02") or output names ("v01").
ERROR LOG
Export Error
Error compiling movie.
Error completing render.
Writing with exporter: H.264
Writing to file: …/For AI/Eye correction required now 6.mp4
Writing file type: H264
Component: H.264 of type Exporter
Selector: 9
Error code: 3

