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 > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 30th August 2013, 08:50   #1  |  Link
PoRNo-MoRoZ
Registered User
 
Join Date: Apr 2006
Posts: 1
What source plugin can handle ALOT of .avs wrapped into .avi ?

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 ?

Last edited by PoRNo-MoRoZ; 30th August 2013 at 09:12.
PoRNo-MoRoZ is offline   Reply With Quote
Old 1st September 2013, 21:34   #2  |  Link
CoRoNe
Registered User
 
CoRoNe's Avatar
 
Join Date: Nov 2005
Posts: 645
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
__________________
My hobby website
CoRoNe is offline   Reply With Quote
Old 2nd September 2013, 01:28   #3  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 5,909
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

Code:
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.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 2nd September 2013 at 02:15.
StainlessS is offline   Reply With Quote
Old 2nd September 2013, 02:02   #4  |  Link
raffriff42
Retried Guesser
 
raffriff42's Avatar
 
Join Date: Jun 2012
Posts: 1,377
1. Assuming all are exactly the same format, frame rate, audio sample rate, etc, you can merge large numbers of video segments in VirtualDub. IIRC I have loaded over 600 in testing with no trouble whatsoever.
2. Once you have loaded all the segments, Frameserve 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.

Last edited by raffriff42; 2nd September 2013 at 02:17.
raffriff42 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 10:15.


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