VideoHelp Forum




+ Reply to Thread
Results 1 to 3 of 3
  1. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    I wanted to place to video files together one plays at 59 frame per second (FPS) the other at 29.97. When I place them together I have to match the frames per second. Is there a way to do this with avisyth and not have one become slow motion or the other have to play twice as fast?


    This is what I tried below.

    Code:
    aaa = avisource ("C:\Documents and Settings\lex\Desktop\2008_may_25\101CANON\MVI_0287.AVI ", false )
    bbb = avisource ("C:\Documents and Settings\lex\Desktop\2008_may_25\101CANON\MVI_0289.AVI ", false )
    
    nnnn = avisource ("C:\Documents and Settings\lex\Desktop\2008_may_25\101CANON\MVI_0338.AVI ", false )
    oooo = avisource ("C:\Documents and Settings\lex\Desktop\2008_may_25\101CANON\MVI_0339.AVI ", false )
    
    combineda = aaa + bbb 
    combinedb = nnnn + oooo
    
    combined=combineda+combinedb.BilinearResize(640,480).assumefps(combineda)
    
    return combined
    Thanks, Lex
    Quote Quote  
  2. Hi-
    Is the output format also to be AVI? And you don't want it to be interlaced? Then drop every other frame of the 59.94fps one:

    SelectEvery(2,0), or
    SelectEven(), or
    ChangeFPS(29.97)

    If interlaced output is OK, then you can reinterlace the 59.94fps one to make it interlaced 29.97fps.
    Quote Quote  
  3. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    manono, this works like a charm.

    combined=combineda+combinedb.BilinearResize(640,48 0).SelectEven().assumefps(combineda)

    This will work also.
    combined=combineda+combinedb.BilinearResize(640,48 0).ChangeFPS(combineda)
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!