Log in

View Full Version : Add blank at the end of the video


Lele-brz
5th September 2008, 11:58
Hi,
is it possible with Avisynth to add a black video aat the end for few seconds?

thanks

talen9
5th September 2008, 12:17
"BlankClip" tells anything to you? :)

AviSynth's local documentation is a mine of precious info .... ;)

Lele-brz
5th September 2008, 12:26
Thanks you're right, now i'm looking in the doc the way to concatenate the two files but here:
http://avisynth.org/mediawiki/Internal_filters
I cannot find any concatanate function.

Thanks for your patience

talen9
5th September 2008, 12:31
The "+" or "++", which are synonyms of "AlignedSpliced" and "UnAlignedSplice", respectively :)

You know, like:
clipA=AviSource("yourclip.avi")

#mind that you have to initialize this with the same framerate and colorspace of the original clip, see docs.
clipB=BlankClip()

clipA + clipB

LaTo
5th September 2008, 14:21
The "+" or "++", which are synonyms of "AlignedSpliced" and "UnAlignedSplice", respectively :)

You know, like:
clipA=AviSource("yourclip.avi")

#mind that you have to initialize this with the same framerate and colorspace of the original clip, see docs.
clipB=BlankClip()

clipA + clipB


Like this:

clipA=AviSource("yourclip.avi")

Rtime=60

Sfps=clipA.framerate()

clipB=BlankClip(clipA,framecount=int(Rtime*Sfps))

clipA+clipB

Ajust Rtime... (black clip length, in seconds)