droopy928gt
12th February 2002, 16:03
I have a question with regard to the "blackness" command for which I hope that someone can help me.
According to the instructions it should be used "blackness(frames, clip)".
I use "blackness" the following way. I define a videoclip to a variable and then use this variable in the "clip" position. Simple enough I would think. My problem now is that it is impossible for me to get it to work like this. It always shows me an error telling me that I use the "blackness" command with an incorrect parameter. The strange thing is though. If I use e.g. "avisource" or alike command before "blackness" and leave out the clip parameter it all works fine. I understand that this is because I left out the clip parameter and "blackness" then automatically inserts the clip asigned to the variable "last", which in this case is the "avisource" command. I also tried inserting the whole "avisource" command in the clip position but this gives the same error.
This works:
Avisource("filename")
Blackness(50)
This should work but doesn't:
Video = Avisource("filename")
Blackness(50, Video)
I already read on several broken functions in Avisynth. Is this maybe 1 of them? Or am I just doing something horribly wrong.
Just as information, the codec used with all my video is HuffYUV.
Thanks for any input.
Regards, Leon
According to the instructions it should be used "blackness(frames, clip)".
I use "blackness" the following way. I define a videoclip to a variable and then use this variable in the "clip" position. Simple enough I would think. My problem now is that it is impossible for me to get it to work like this. It always shows me an error telling me that I use the "blackness" command with an incorrect parameter. The strange thing is though. If I use e.g. "avisource" or alike command before "blackness" and leave out the clip parameter it all works fine. I understand that this is because I left out the clip parameter and "blackness" then automatically inserts the clip asigned to the variable "last", which in this case is the "avisource" command. I also tried inserting the whole "avisource" command in the clip position but this gives the same error.
This works:
Avisource("filename")
Blackness(50)
This should work but doesn't:
Video = Avisource("filename")
Blackness(50, Video)
I already read on several broken functions in Avisynth. Is this maybe 1 of them? Or am I just doing something horribly wrong.
Just as information, the codec used with all my video is HuffYUV.
Thanks for any input.
Regards, Leon