Aleksandrs Valters
Forum Replies Created
-
Aleksandrs Valters
January 22, 2010 at 12:20 pm in reply to: Clone startTime and outPoint from one to other layer with script or expression?That was easy. sorry. Sometimes just need to sleep well before work! =)
var x=app.project.item(2).layer(1).startTime;
var c=app.project.item(2).layer(1).outPoint;
app.project.item(1).layer(1).startTime=x;
app.project.item(1).layer(1).outPoint=c;
-
Yep.. why not 🙂 But who knows…
Maybe some good man will give some help.
At example what can help..
How looks script (part of script) to change sourceText in Text Layer to text from script or from external file? -
Aleksandrs Valters
November 17, 2009 at 4:57 pm in reply to: How to find first letter of the layer name?Thank you, it nice trick.. will use it somewhere. I found and use another way to find letter.
substr(0,1) -
Aleksandrs Valters
October 1, 2009 at 9:02 pm in reply to: help. Find position(x,y) of red pixel that comes in tga image. -
But is it possible to do kind of this thing with Script?
Down i paste my expression thet i put in Point of control effect, that’s work fine. But it is not usable until this process (render) won’t be fast (ex. just one time calculation).
p.s. if it is possible to do with script, i need to learn it fast from zero =)var xPosition = 0;
var yPosition = 0;
var compWidth=Math.round(thisComp.width/5);
var compHeight=Math.round(thisComp.height/5);
for (x = 1; x < compWidth; x++)
{
for (y = 1; y< compHeight; y++)
{
var samplePointXY=[x*5, y*5];
var sampleRadius=[1,1];
var sampledColor_8bpc=255*thisComp.layer("dot").sampleImage(samplePointXY, sampleRadius);
var colorRed=Math.round(sampledColor_8bpc[0]);
if (colorRed >190){
var xPosition = x*5;
var yPosition = y*5;
break;
}
}
if (xPosition>0)
break;
}
[xPosition,yPosition] -
Thank you very mutch!
-
Aleksandrs Valters
September 30, 2009 at 4:46 pm in reply to: help. Find position(x,y) of red pixel that comes in tga image.If who knows maby it’s no way to do this?
-
Aleksandrs Valters
January 29, 2009 at 1:47 pm in reply to: Premiere CS4 and Media Encoder problems with .movabout little tab in “Export Settings”…
I reconvert all files to “without include XMP”
Now if i will leave default XMP (switched on) in “Export settings” queue will be fine.Good luck.
-
Aleksandrs Valters
January 28, 2009 at 1:50 pm in reply to: Premiere CS4 and Media Encoder problems with .mov[first problem “Long idle time”] – Solution
Xmp Metadata!
Then you want to export project, what do you do? :
File/Export/Media…
“Export Settings” window is on your monitor
And now! Go to the little tab after tabs with[ ‘filters”format”video”audio”others’ ‘This small tab’ ]
and uncheck “Include Source xmp Metadata”
That’s all!
[second problem “Long idle time before file encoding in Media Encoder “] – solution
Your video files must be without xmp Metadata.
In my side all files was made by Aftereffects, but aftereffects by default put metadata to all rendered files. Uncheck before render.[third problem “Long time loading project”] – Solution
the same as solution of second problem.[plus] After removing xmp Metadata my Flash files drop ~30% of size (sample: 15 MB => 9 MB)
p.s. this is all about cs4 adobes software
-
Aleksandrs Valters
January 27, 2009 at 11:27 am in reply to: Premiere CS4 and Media Encoder problems with .movOne more #^$@*#$%!
I put to encoder my FLV file, and its take to encoding 03:26 min and 02:50 min of this time was IDLE!That’s all, how to remove this IDLE problem?