VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or Try ConvertXtoDVD and convert all your movies to DVD. Free trial ! :)
+ Reply to Thread
Results 1 to 4 of 4
Thread
  1. Avisynth question

    Hi, so I am combining two d2v projects using AlignedSplice, but only one has audio delay indicated.

    Script:

    B=Mpeg2source("VTS_01_1_1.d2v", cpu=6)
    C=NicAC3Source("VTS_01_1_1 T80 2_0ch 384Kbps DELAY 0ms.ac3")
    V=Mpeg2source("VTS_01_1.d2v", cpu=6)
    A=NicAC3Source("VTS_01_1 T80 2_0ch 384Kbps DELAY -209ms.ac3")

    AlignedSplice(Audiodub(B,C), Audiodub(V,A))

    As you can see, the second audio source has delay of -209. Is there a way to solve the problem?

    EDIT: Solved it... however sneaker's reply is simpler
    Did it like this.

    function video()
    {
    V=Mpeg2source("VTS_01_1.d2v", cpu=6)
    A=NicAC3Source("VTS_01_1 T80 2_0ch 384Kbps DELAY -209ms.ac3")
    Audiodub(V,A)
    delayaudio(-0.209)
    }

    Q= video()

    B=Mpeg2source("VTS_01_1_1.d2v", cpu=6)
    C=NicAC3Source("VTS_01_1_1 T80 2_0ch 384Kbps DELAY 0ms.ac3")

    AlignedSplice(Audiodub(B,C), Q)
    Last edited by attackworld; 25th Mar 2019 at 07:57.
    Quote Quote  
  2. Code:
    B=Mpeg2source("VTS_01_1_1.d2v", cpu=6)
    C=NicAC3Source("VTS_01_1_1 T80 2_0ch 384Kbps DELAY 0ms.ac3")
    BC=AudioDub(B, C)
    
    V=Mpeg2source("VTS_01_1.d2v", cpu=6)
    A=NicAC3Source("VTS_01_1 T80 2_0ch 384Kbps DELAY -209ms.ac3")
    VA=Audiodub(V, A)
    VA=DelayAudio(VA, -0.209)
    
    AlignedSplice(BC, VA)
    Quote Quote  
  3. Originally Posted by sneaker View Post
    Code:
    B=Mpeg2source("VTS_01_1_1.d2v", cpu=6)
    C=NicAC3Source("VTS_01_1_1 T80 2_0ch 384Kbps DELAY 0ms.ac3")
    BC=AudioDub(B, C)
    
    V=Mpeg2source("VTS_01_1.d2v", cpu=6)
    A=NicAC3Source("VTS_01_1 T80 2_0ch 384Kbps DELAY -209ms.ac3")
    VA=Audiodub(V, A)
    VA=DelayAudio(VA, -0.209)
    
    AlignedSplice(BC, VA)
    Thank you, I found a workaround, but yours is much much simpler!
    Quote Quote  
  4. You can also remove the delay entirely using DelayCut, before doing the join.
    Quote Quote  



Similar Threads