Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
4th February 2007, 01:27 | #1 | Link |
Lazy noob.
Join Date: Sep 2005
Posts: 65
|
Joining videos in AVISynth
I want to join a series of d2v files toghter but it seems the more I join, the worse the audio gets in the end, is there a way to make the audio resync at every join point? Here is my current setup:
Code:
LoadPlugin("C:\Documents and Settings\Administrator\My Documents\DG MPG Decode\DGDecode.dll") Import("C:\Program Files (x86)\AVISynth 2.5\plugins\mvbob.avs") video=MPEG2Source("The Tonight Show with Jay Leno (1).d2v")+MPEG2Source("2.d2v")+MPEG2Source("3a.d2v") audio=WAVSource("The Tonight Show with Jay Leno (1) PID 044 T01 3_2ch 384Kbps 48KHz.wav")+WAVSource("2 PID 044 T01 3_2ch 384Kbps 48KHz.wav")+WAVSource("3a PID 044 T01 2_0ch 384Kbps 48KHz.wav") AudioDub(video,audio) ReduceBy2() Crop(4,0,-4,-4) |
4th February 2007, 04:31 | #3 | Link |
Registered User
Join Date: Oct 2005
Posts: 76
|
I am also working on a project like this where the dvd manufacturer separated each chapter into it's own VOB. And each VOB has a different type of interlacing and crop values. =(
How would I go about joining all these chapters after applying deinterlacing, crops, resizes, and filters? I was thinking something along the lines of: Code:
video1 = { mpeg2source("chapter1.d2v") Deinterlace Denoiser Crop Resize Sharpener } video2 = { mpeg2source("chapter2.d2v") Deinterlace Denoiser Crop Resize Sharpener } video = video1+video2 |
4th February 2007, 06:03 | #4 | Link |
Lazy noob.
Join Date: Sep 2005
Posts: 65
|
Thanks for the tip Alain2, I ended up sucking it up and buying VideoReDo Plus which eliminated this whole step.
TwoToad: Do you get any error messages? I would think they would work as long as the colorspace, FPS, and rez is the same. |
4th February 2007, 06:27 | #5 | Link |
ангел смерти
Join Date: Nov 2004
Location: Lost
Posts: 9,558
|
mpeg2source("chapter1.d2v")+mpeg2source("chapter2.d2v")+mpeg2source("chapter3.d2v")+...+mpeg2source("chapter40.d2v")
deinterlace denoise etc. No need for braces, or even variables, and you should avoid multiple instances of filters whenever possible. |
4th February 2007, 11:14 | #6 | Link |
Avisynth Developer
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,167
|
Given he wants different cropping, denoising etc per segment, he really is stuck with doing it the hard way. Once things are all the same size, common code can be used, like the sharpening at the end, assuming the same sharpening is wanted.
Code:
mpeg2source("chapter1.d2v") AudioDub(WavSource("chapter1.wav")) Deinterlace Denoiser Crop Resize video1=last mpeg2source("chapter2.d2v") AudioDub(WavSource("chapter2.wav")) Deinterlace Denoiser Crop Resize video2=last ... video1++video2++... Sharpener |
Thread Tools | Search this Thread |
Display Modes | |
|
|