I am trying to take the audio and video from one source and combine it with the audio and video from another source. I have done this before and it worked fine. The only difference is, this time, instead of both being a DVD, one is a Blu-Ray and the other is a DVD.
I am trying to do things exactly as I did before, but it cannot be processed or crashes MeGui this time.
Here is what I am doing
SCRIPT 1
Code:LoadPlugin("C:\Program Files (x86)\MeGui\tools\dgavcindex\DGAVCDecode.dll") LoadPlugin("C:\Program Files (x86)\MeGui\tools\avisynth_plugin\ColorMatrix.dll") Insert=Import("C:\Users\Admin\Desktop\Encoding\RW\USDVD\Episode 1\VTS_06_1.avs") a = ffaudiosource("C:\Users\Admin\Desktop\Encoding\RW\JBD\Opening\T2_Audio - English.ac3") v = AVCSource("C:\Users\Admin\Desktop\Encoding\RW\JBD\Opening\00001.dga") AudioDub(v,a) crop( 240, 0, -240, 0) LanczosResize(640,480) # Lanczos (Sharp) #denoise Colormatrix(mode="rec.709->rec.601", clamp=0, threads=0) __film = last __t0 = __film.trim(0, 2160) __t0 ++ Insert
SCRIPT 2
Code:LoadPlugin("C:\Program Files (x86)\MeGui\tools\dgindex\DGDecode.dll") LoadPlugin("C:\Program Files (x86)\MeGui\tools\avisynth_plugin\ColorMatrix.dll") LoadPlugin("C:\Program Files (x86)\MeGui\tools\avisynth_plugin\TIVTC.dll") a = ffaudiosource("C:\Users\Admin\Desktop\Encoding\RW\USDVD\Episode 1\VTS_06_1 T80 2_0ch 192Kbps DELAY 0ms.ac3") v = DGDecode_mpeg2source("C:\Users\Admin\Desktop\Encoding\RW\USDVD\Episode 1\VTS_06_1.d2v", info=3) AudioDub(v,a) ColorMatrix(hints=true, interlaced=true, threads=0) tfm(order=1).tdecimate(mode=1,hybrid=0) #crop LanczosResize(640,480) # Lanczos (Sharp) #denoise __film = last __t0 = __film.trim(1674, 16790) __t1 = __film.trim(16983, 32075) __t0 ++ __t1 __t0 ++ __t1 ++ __t2 ++ __t3
For some reason if I take out the Insert at the bottom of the first script, everything works fine. once I put that insert back in to combine the 2, MeGui crashes and says it cannot be processed. This worked just fine when I was using 2 DVD before. Whats up with this? Are AVCSource and DGDecode_mpeg2source not compatible? Is it because one is being TIVTC'd and the other is not? They are both the same framerate after IVTC is done. They are both the same framerate and resolution so I am stumped as to what the issue here is.
+ Reply to Thread
Results 1 to 2 of 2
-
Last edited by killerteengohan; 29th Dec 2018 at 11:07.
-
nvm, my dumbass didn't notice in the second script I had an extra line of trims specified. After an hour of playing around with it, I can't believe I am just now seeing that.
Similar Threads
-
Copying audio through Avisynth script+FFMpeg encoding
By chummy02 in forum Newbie / General discussionsReplies: 3Last Post: 23rd May 2017, 11:42 -
Audio speed distorsion when using an avisynth script
By kaskaļ in forum Newbie / General discussionsReplies: 5Last Post: 31st Jan 2017, 08:33 -
Help with avisynth script please - mpeg audio
By pooksahib in forum Video ConversionReplies: 6Last Post: 24th Oct 2016, 10:54 -
Problem with combining audio and video in avisynth
By spiritt in forum Newbie / General discussionsReplies: 10Last Post: 16th Sep 2015, 04:04 -
Avisynth Script audio problem
By Mr_Flintstone in forum Video ConversionReplies: 12Last Post: 19th Apr 2014, 23:01