Unrok
15th July 2005, 13:17
Hello everybody
I have a doubt about layers. When together the videos, the original video (clip_1) appears perfect but the logo(clip_2) does not appear perfect, just appear when the background is black and in anothers backgrounds it does not appear or appears weak.
With the code avs below: (logo and video appears 50% each)
##############################################################
clip_1=ConvertToRGB32(AVISource("movie_01.avi"))
clip_2=ConvertToRGB32(AVISource("logo_.avi"))
clip_1.Trim(0, 2414) \
+ clip_1.Trim(2415, 2541).Layer(clip_2, "add", 128, 0, 0, use_chroma=true) \
+ clip_1.Trim(2542, 0)
###############################################################
Result:
http://geocities.yahoo.com.br/leon_br3/logo_pos_avs_simple.jpg
With code avs with mask and greyscale: (video 100% / logo appears weak)
################################################################
clip_1=ConvertToRGB32(AVISource("movie_01.avi"))
clip_2=ConvertToRGB32(AVISource("logo_.avi"))
clip_3=ConvertToRGB32(AVISource("logo_.avi"))
Greyscale (clip_3)
logo = clip_2.Mask(clip_3)
clip_1.Trim(0, 2414) \
+ clip_1.Trim(2415, 2541).Layer(logo, "add", 255, 0, 0, use_chroma=true) \
+ clip_1.Trim(2542, 0)
###############################################################
Result:
http://geocities.yahoo.com.br/leon_br3/logo_pos_avs.jpg
It would like that it was thus (image below, By photoshop xD):
http://geocities.yahoo.com.br/leon_br3/equal.jpg
Somebody can help me?
Notes:
1) thanks stickboy for the answer in another topic
2) clip_2 have a background black
3) clip_1 is a movie \o/
4) Don’t have erros message
5) Sorry for the english, i usage altavista translation
I have a doubt about layers. When together the videos, the original video (clip_1) appears perfect but the logo(clip_2) does not appear perfect, just appear when the background is black and in anothers backgrounds it does not appear or appears weak.
With the code avs below: (logo and video appears 50% each)
##############################################################
clip_1=ConvertToRGB32(AVISource("movie_01.avi"))
clip_2=ConvertToRGB32(AVISource("logo_.avi"))
clip_1.Trim(0, 2414) \
+ clip_1.Trim(2415, 2541).Layer(clip_2, "add", 128, 0, 0, use_chroma=true) \
+ clip_1.Trim(2542, 0)
###############################################################
Result:
http://geocities.yahoo.com.br/leon_br3/logo_pos_avs_simple.jpg
With code avs with mask and greyscale: (video 100% / logo appears weak)
################################################################
clip_1=ConvertToRGB32(AVISource("movie_01.avi"))
clip_2=ConvertToRGB32(AVISource("logo_.avi"))
clip_3=ConvertToRGB32(AVISource("logo_.avi"))
Greyscale (clip_3)
logo = clip_2.Mask(clip_3)
clip_1.Trim(0, 2414) \
+ clip_1.Trim(2415, 2541).Layer(logo, "add", 255, 0, 0, use_chroma=true) \
+ clip_1.Trim(2542, 0)
###############################################################
Result:
http://geocities.yahoo.com.br/leon_br3/logo_pos_avs.jpg
It would like that it was thus (image below, By photoshop xD):
http://geocities.yahoo.com.br/leon_br3/equal.jpg
Somebody can help me?
Notes:
1) thanks stickboy for the answer in another topic
2) clip_2 have a background black
3) clip_1 is a movie \o/
4) Don’t have erros message
5) Sorry for the english, i usage altavista translation