VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. I made a script a while ago and I had some slow motion stuff in it. I had this code to do it....

    Code:
    somethingSlow = ResampleAudio(AssumeFPS(ConvertFPS(trim(whole,0,40),50),25,sync_audio=true),44100)
    That was from a digital camera whose FPS was 25. The source of what I want to slow down now is 29.97 FPS.

    The following code works...

    Code:
    slowstuff = ResampleAudio(AssumeFPS(ConvertFPS(somestuff,59.94),29.97,sync_audio=true),44100)
    However, when I try to splice it with stuff that wasn't slowed down it fails saying that the frame rates differ.

    Code:
    UnalignedSplice(somestuff,slowstuff)
    The above code is where the error is coming from.

    Anyone encounter this stuff before?

    Any help is appreciated.

    Thanks,
    ~Eric
    signatures are like underwear, you should change them once a month
    Quote Quote  
  2. Artanis in #avisynth on freenode IRC told me that 29.97 is really 30000/1001.
    So using the optional denominator argument I was able to solve my problem.

    Code:
    slowstuff = ResampleAudio(AssumeFPS(ConvertFPS(somestuff,60000,1001),30000,1001,sync_audio=true),44100)
    signatures are like underwear, you should change them once a month
    Quote Quote  



Similar Threads

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