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)
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 4 of 4
Thread
-
Last edited by attackworld; 25th Mar 2019 at 07:57.
-
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)
-
Similar Threads
-
Need a joiner/merge program for mp4 videos
By videobruce in forum EditingReplies: 10Last Post: 7th Apr 2019, 08:36 -
Using avisynth to encode and merge 2 separate audio tracks??
By killerteengohan in forum RestorationReplies: 26Last Post: 12th Jul 2018, 21:36 -
How to merge two videos of the same tape?
By videon00b in forum EditingReplies: 4Last Post: 15th Jan 2018, 00:20 -
How to merge videos that start at different times?
By Chibears85 in forum EditingReplies: 3Last Post: 2nd Aug 2015, 19:35 -
Merge two videos to play at the same time (not sequential)
By barjawi in forum Newbie / General discussionsReplies: 11Last Post: 3rd Jan 2015, 23:49