Page 1 of 1

Pixel Aspect Ratio on MainSource

Posted: December 13th, 2005, 8:03 am
by byronnash
The manual says that the pixelAspect is read only when dealing with footage. Has anyone figured out a way to circumvent this limitation?

Posted: December 17th, 2005, 5:03 pm
by nab
Hi,
it works for me.

Code: Select all

myCurrentSource.pixelAspect = 1.42;
sets the pixel aspect ratio to 1.42

Posted: December 19th, 2005, 12:28 pm
by byronnash
Have you gotten that to work with footage items in the project window? I think it works for comps and solids, but not footage items. Here is what I'm using code-wise.

Code: Select all

curSel[0].mainSource.pixelAspect = 1.0;

Posted: December 20th, 2005, 7:03 am
by nab
yes...
import your footage in a new project, and try :

Code: Select all

app.project.item(1).pixelAspect = 1.0;
it should change the interpretation of your footage

Posted: December 20th, 2005, 1:48 pm
by byronnash
Great, that works. Why do you think that it doesn't work with .mainsource?