View Full Version : What source plugin can handle ALOT of .avs wrapped into .avi ?
PoRNo-MoRoZ
30th August 2013, 08:50
I'm working with mjpeg .avi's, dubbed with .wav's using AviSynth and wrapped into .avi's using ffdshow's makeAVIS.
When I try to import alot of them in Vegas - it's just hangs or don't react or crashs.
I tried DirectShowSource and found that it has limit of 16 imported files at the same time. I tried FFVideoSource and it has limit of 64.
But I need atleast few hundreds. Does anybody knows which source plugin can handle this amount ?
Reino
1st September 2013, 21:34
Import 64 files using FFVideoSource, save as video_1-64.avs. Start a new script and begin with: Import("video_1-64.avs"), etc. Not sure though.
Nice to see the p0rn-industry is using open-source software :D
StainlessS
2nd September 2013, 01:28
Are all MJPegs of identical size, colorspace etc ?
WAV's all same format ?
Post sample script your were trying with DirectShowSource.
EDIT: The below script seems to work OK in MS Media Player 2 (old XP version) up to about 80 clips.
Fails in VDubMod at 80 clips.
OK in Current VD up to about 80 clips
IN_FILES = ".\IN\*.AVI"
DEBUG = True # Debug
OUT_FILE = "FILE.List"
#--------------------------------------------------------------------------------
picclip = 0 # dummy for now
GScript("""
result=RT_WriteFileList(IN_FILES,OUT_FILE) # Create a listing file of Pic files
Assert((result!=0), "No files found")
FILELIST=RT_ReadTxtFromFile(OUT_FILE) # Get list of files
FILES=RT_TxtQueryLines(FILELIST) # Query Number of lines in String ie number of files.
if(DEBUG){RT_Debug("Found files = " + String(FILES))}
# FILES=80 # First 80 files only
For(i=0,FILES-1) {
FN=RT_TxtGetLine(FILELIST,i) # Filename of avi file i
if(DEBUG){RT_Debug(string(i)+ ")","Processing File",FN)}
k=DirectshowSource(FN)
# Below line just makes sure all files compatible and dumps audio (tried clips were an odd mix)
k=k.ConvertToYUY2().BilinearResize(320,240).KillAudio().AssumeFPS(25.0)
picclip = (IsClip(picclip)) ? picclip ++ k : k # Append to clip so far
}
""")
PicClip
RaffRiff42 post below should work just fine.
raffriff42
2nd September 2013, 02:02
1. Assuming all are exactly the same format, frame rate, audio sample rate, etc, you can merge large numbers of video segments in VirtualDub (https://www.google.com/search?q=virtualdub+append+avi+segment). IIRC I have loaded over 600 in testing with no trouble whatsoever.
2. Once you have loaded all the segments, Frameserve (http://www.virtualdub.org/docs_frameserver.html) to a signpost AVI.
3. Attempt to open signpost AVI in Vegas. If that doesn't work...
4. Wrap the signpost in an Avisyth script.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.