Video Production Stack Exchange is a question and answer site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got a composition in After Effects CS 6 on Windows that contains several .ai files. One of them has over 30 layers, which I imported and animated in AE. Unfortunately, I gave the .ai file the not so clever name because it started out as a test but worked, and I'd like to go ahead with it. When I rename the file to something more sensible, like Scene 1 -, AE complains about a missing footage file. Now it wants me to give it the new path, which I do. I have to select the layer from the .ai as well. And it looks like it wants me to do it for every layer from the same file.

I've already tried making a copy of the AE project file, opening it with a text editor and replacing all occurrences of with Scene 1 - After that, AE told me it tried to read after the end of file. Looks like there's a file length in there. Damn.

So how can I do this without having to change the source file and resellecting the layer for each individual layer in AE?

share|improve this question

migrated from Jun 1 '13 at 22:27

This question came from our site for Graphic Design professionals, students, and enthusiasts.

up vote 4 down vote accepted

Save the project in XML file format, do as you already did, open it in a text editor, find-replace the name. Open the modified file in AE and re-save it in its normal binary format (aep).

Size shouldn't be an issue since renaming a file doesn't change it size. It seems like you have edited the aep file? Hope this helps!

More on the topic here:

share|improve this answer
Yes, I edited the aep binary file with a hex editor. That's what I was referring to with size. I think there's a reference to the position of the EOF in it and that was incorrect because the length of the filename strings changed. I will give this a try, thanks a lot! – simbabque Jun 2 '13 at 16:25
Editing a binary file rarely works as there are information there that are not viewable, there can be checksums or pointers to next chunk of data etc. Unless you know the binary specification in detail you need to edit in a text-only format.The XML format is designed to be flexible when it comes to formatting and data itself (you can change the length of a line without breaking the data) and also to be partly human readable. – K3N Jun 4 '13 at 6:59
I know, but it was worth a shot. I just didn't know the XML one existed. Worked like a charm. :) – simbabque Jun 4 '13 at 7:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.