Log in

View Full Version : Whats the code for white?


droolian01
14th September 2002, 14:42
Hello there.

I use a script like this to edit out commercials and to give nice fade ins and outs

avisource("CAPTUREbuf5-04.avi")
DelayAudio(-0.3)

black=BlankClip(24,384,576,"YUY2",25,1,44100,true,true,$000000)
a=trim(290,14440).FadeOut(3)++black
b=trim(21616,43500).FadeOut(3)++black
c=trim(50692,69952).FadeOut(3)++black
d=trim(77290,84746).FadeOut(3)++black
dissolve(a,b,c,d,3)

etc....

Now i am trying to encode the ist episode of 6 feet under and of course it has fade to white between comercials, so anyone know the code foe white? ($000000=black)
n.b. couldn't see it anywhere on the avsynth faq site.

Thanks

dividee
14th September 2002, 15:06
white is $FFFFFF

the color is $RRGGBB, where each component goes from 0 to 255, in hexadecimal: 00 to FF

droolian01
14th September 2002, 15:12
wow - thanks, quick reply.

With this info i'll even be able to do cyan or magenta fades!!!!
(although i may vomit while watching it!!:) )

Thanks