Log in

View Full Version : Adding 2 seconds of black screen before movie starts.


Trip Machine
21st March 2003, 17:58
I can't seem to get the syntax right with avisynth 2.5.1. I've read the documentation for this thing but it isn't working. Also when should I put the syntax line in my avs file? Or does it not even matter at all?

sh0dan
21st March 2003, 18:47
vid = avisource("file.avi")
bl = blankclip(vid, length=FPS *2)

return bl + vid


Replace FPS with your rounded framerate (24, 25 or 30)

Trip Machine
1st April 2003, 21:06
cool thanks. I guess I forgot to mention in the first post but, what if I want to add the black screen at the end of the movie or say in the middle for a commercial break effect. How would you specify which point in the movie you want the blank screen to pop up?

Bidoche
1st April 2003, 21:37
cut = XXX # frame where insert
return bl + vid.trim(0, cut) + bl + vid.trim(cut + 1, 0)