Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
2nd January 2003, 19:14 | #1 | Link |
Registered User
Join Date: Nov 2001
Posts: 174
|
1 virtual AVI out of many small AVIs
I want to make a large virtual avi-file out of several small avifiles so that I can feed it to a mpeg2-encoder (TMPG) and encode everything at once so that I really can make use of the 2-pass variable bitrate. Is it a way to do it? Does Avisynth do this kind of stuff?
|
2nd January 2003, 20:06 | #2 | Link |
Remember Rule One
Join Date: Oct 2001
Location: SWEDEN
Posts: 1,611
|
Sure, AviSynth is most suited for this kind of task: if they are named file.00.avi file.01.avi etc then SegmentedAVISource("file.avi") is the way to go. In other cases you have to do something like this:
Code:
source1=AviSource("file1.avi") source2=AviSource("file2.avi") source3=AviSource("file3.avi") source4=AviSource("file4.avi") return source1+source2+source3+source4 Code:
source=AviSource("file1.avi") source=source+AviSource("file2.avi") source=source+AviSource("file3.avi") source=source+AviSource("file4.avi") return source Code:
source1=AviSource("file1.avi").BicubicResize(512,384).AssumeFps(25).ResampleAudio(44100) source2=AviSource("file2.avi").BicubicResize(512,384).AssumeFps(25).ResampleAudio(44100) source3=AviSource("file3.avi").BicubicResize(512,384).AssumeFps(25).ResampleAudio(44100) source4=AviSource("file4.avi").BicubicResize(512,384).AssumeFps(25).ResampleAudio(44100) total=source1+source2+source3+source4 return total |
|
|