mel2000
12th June 2007, 17:54
I downloaded and merged the latest Avisynth (version 2.5.7) to use with a script for VirtualDub-MPEG2 1.6.14. I wanted the script to load and trim 2 of 3 small AVI videos, dissolve each clip into the beginning of the following one, concatenate all 3 of them, crop the merged video all around, resize it, and fade it at the beginning and end.
However, all VirtualDub does is concatenate the files and fade out the final result. I'd like someone to look at the script to see why all my script commands are not executed. I've tried a lot of syntax combinations according to various online manuals, but no luck.
All the videos are located in the same directory as the avs file
No audio involved
Full processing mode used
Each file is 475x475 pixels width and height
Each file contains 499 frames
**********************************************
vid1 = DirectShowSource("vid1.avi")
Trim(vid1,1,472)
vid2 = DirectShowSource("vid2.avi")
Trim(vid2,1,472)
vid3 = DirectShowSource("vid3.avi")
Trim(vid3,1,472)
Dissolve(vid1,vid2,vid3,15)
vid_final = UnalignedSplice(vid1, vid2, vid3)
Crop(vid_final,55,55,-55,-55)
BicubicResize(vid_final,300,400)
FadeIn2(vid_final,15)
FadeOut2(vid_final,15)
**********************************************
Any help appreciated. Thanks.
However, all VirtualDub does is concatenate the files and fade out the final result. I'd like someone to look at the script to see why all my script commands are not executed. I've tried a lot of syntax combinations according to various online manuals, but no luck.
All the videos are located in the same directory as the avs file
No audio involved
Full processing mode used
Each file is 475x475 pixels width and height
Each file contains 499 frames
**********************************************
vid1 = DirectShowSource("vid1.avi")
Trim(vid1,1,472)
vid2 = DirectShowSource("vid2.avi")
Trim(vid2,1,472)
vid3 = DirectShowSource("vid3.avi")
Trim(vid3,1,472)
Dissolve(vid1,vid2,vid3,15)
vid_final = UnalignedSplice(vid1, vid2, vid3)
Crop(vid_final,55,55,-55,-55)
BicubicResize(vid_final,300,400)
FadeIn2(vid_final,15)
FadeOut2(vid_final,15)
**********************************************
Any help appreciated. Thanks.