Highlighted

.AEPX manipulation of footage paths

Community Beginner ,
Oct 09, 2020

Copy link to clipboard

Copied

I am using VB.net to manipulate .aepx files. This works great at home. I can replace the path of a default footage file and Encoder will render the file with updated footage. It doesn't matter where the footage resides: if I fill in the correct path in the .aepx file the footage is found and rendered by Encoder.


At work the situation is different. Suddenly the updated footage can't be found by Encoder. After Effects has no problem finding it. Encoder just shows color bars.

Any clue what is going wrong?
 

(I know AEPX files are depreciated but this is the only technique I can use to get what I want with my limited programming skills.)

 

TOPICS
Error or problem, How to, Scripting

Views

50

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

.AEPX manipulation of footage paths

Community Beginner ,
Oct 09, 2020

Copy link to clipboard

Copied

I am using VB.net to manipulate .aepx files. This works great at home. I can replace the path of a default footage file and Encoder will render the file with updated footage. It doesn't matter where the footage resides: if I fill in the correct path in the .aepx file the footage is found and rendered by Encoder.


At work the situation is different. Suddenly the updated footage can't be found by Encoder. After Effects has no problem finding it. Encoder just shows color bars.

Any clue what is going wrong?
 

(I know AEPX files are depreciated but this is the only technique I can use to get what I want with my limited programming skills.)

 

TOPICS
Error or problem, How to, Scripting

Views

51

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Oct 09, 2020 0
Most Valuable Participant ,
Oct 10, 2020

Copy link to clipboard

Copied

Without any info about your file paths, footage types, system info and whatnot nobody can tell you much. This may not at all have anything to do with the footage not being found, but could simply be a botched CoDec, problems with hardware acceleration functions in AME, weird stuff with the caches or something else entirely.

 

Mylenium

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 10, 2020 0
Community Beginner ,
Oct 11, 2020

Copy link to clipboard

Copied

I found the filepaths can't take ' and &. That needs to be translated to the XML standard.
Furthermore and most important, I found that if the dummy file was a JPG, you are stuck with JPG.|
Same goes for PNG. Whatever format the dummy file was in AE, you are stuck with that format.
The code of the file format is hidden somewhere in hex.

I could try hunt that down but I am too lazy.
I will add each common file format available to our crew: jpg, png and bmp.
Those images will be 1 pixel dummies.
The targetted format image will get replaced by my code. 
Each image will have an expression to examine itself and see if its size is still 1 pixel. If so, be invisible.
This is a crude version:




Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 11, 2020 0