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.

 

Go Back   Doom9's Forum > Announcements and Chat > General Discussion
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 2nd January 2003, 19:14   #1  |  Link
kallekill
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?
kallekill is offline   Reply With Quote
Old 2nd January 2003, 20:06   #2  |  Link
hakko504
Remember Rule One
 
hakko504's Avatar
 
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
or for many files it may be easier to do it like this:
Code:
source=AviSource("file1.avi")
source=source+AviSource("file2.avi")
source=source+AviSource("file3.avi")
source=source+AviSource("file4.avi")
return source
And remember you must make sure they have the same properties before they are joined: Same size, same framerate, same soundsamplerate etc. If they don't have the same properties the you should do something like this:
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
__________________
/hakko

http://www.boardgamegeek.com
hakko504 is offline   Reply With Quote
Old 2nd January 2003, 23:53   #3  |  Link
kallekill
Registered User
 
Join Date: Nov 2001
Posts: 174
Thanks. I'll try it out
kallekill is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 23:44.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.