Log in

View Full Version : adding black frames at the start of the movie


Davinator
30th September 2006, 00:35
A while back, there was a thread explaining how to add black frames to the end of a movie:

http://forum.doom9.org/showthread.php?t=88834&highlight=add+black

I've been searching around, but I can't seem to find a way to write a script that's essentially the reverse of the one described in the above thread. I'd like to have a way to a specified number of black frames to the beginning of my movie. I know how to add blackness to the start by combining multiple avs scripts, but I know there must be an easier way to do this. Any thoughts?

foxyshadis
30th September 2006, 01:05
Just switch the order.

blankclip(last,length=x) ++ last

Add fadein if you want.

hartford
30th September 2006, 02:00
I still use the old way:

# Add 48 frames black to beginning, fadein 8 frames of the 48
Dissolve(blackness(last, 48), last, 8)

# Add 48 frames black to end, fadeout 8 frames of the 48
Dissolve(last, blackness(last, 48), 8)

Makes more sense to me.

cockpit
30th September 2006, 03:01
good to know :)

Davinator
2nd October 2006, 17:56
Excellent. Thanks a lot, this will work perfect.