cdowning
6th March 2003, 16:43
Hi all,
I have spent a great deal of time trying to solve this one. As have many before me no doubt.
I am tyring to encode LOTR - The Two Towers Special edition that runs across 2 CD's. The trick is getting the subtitles for both peaces of the movies.
I found a post from jimbokoz in 'DivX5 Encoding' that gave an example 'AVS' script that seems to mage sense but he follows on to say...
"The script above (once fixed for syntax errors I've inadvertently made!) will load both DVD's with subtitles burned in, and stick one after the other... "
His script was as follows:
Example:
LoadPlugin("MPEG2DEC.dll")
LoadPlugin("VobSub.dll")
disc1 {
MPEG2Source("disc1.d2v")
VobSub("subtitles-1.idx")
}
disc2 {
MPEG2Source("disc2.d2v")
VobSub(subtitles-2.idx")
}
alignedsplice(disc1,disc2)
crop(x,x,x,x)
BilinearResize(x,x,x,x)
Now I've adapted it to this job as follows...
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec.dll")
LoadPlugin("C:\WINDOWS\System32\vobsub.dll")
CD1{
mpeg2source("F:\LOTR_SEE_D1\CD1.d2v")
trim(0,151945)
VobSub("F:\LOTR_SEE_D1\VIDEO_TS1\VTS_01_0")
}
CD2{
mpeg2source("F:\LOTR_SEE_D1\CD2.d2v")
trim(0,136622)
VobSub("F:\LOTR_SEE_D1\VIDEO_TS2\VTS_01_0")
}
alignedsplice(CD1,CD2)
crop(10,84,699,408)
BicubicResize(640,256,0,0.5)
Only problem is that it doesn't work! I've read all I can on 'AVS' Syntax and from what I can gather I don't have anything wrong.
The error I get from NanDub is...
"Avisynth open failure:
Script Error: Syntax Error
(C:\Documents and Sett\...\LOTR2.avs, line 3, column 4)"
I've tried all sorts of combinations but I just cant seem to crack it... Does anyone with some degree of experience know what I'm doing wrong?
From what I can tell... It's just the use of "{" and "}" that's causing the problem because the rest of the script works as is as long as I only try to do one disk (set of VOBs) at a time... This one is really driving me nuts. Any help at all would be greatly appreciated.
Cheers,
Chris D.
I have spent a great deal of time trying to solve this one. As have many before me no doubt.
I am tyring to encode LOTR - The Two Towers Special edition that runs across 2 CD's. The trick is getting the subtitles for both peaces of the movies.
I found a post from jimbokoz in 'DivX5 Encoding' that gave an example 'AVS' script that seems to mage sense but he follows on to say...
"The script above (once fixed for syntax errors I've inadvertently made!) will load both DVD's with subtitles burned in, and stick one after the other... "
His script was as follows:
Example:
LoadPlugin("MPEG2DEC.dll")
LoadPlugin("VobSub.dll")
disc1 {
MPEG2Source("disc1.d2v")
VobSub("subtitles-1.idx")
}
disc2 {
MPEG2Source("disc2.d2v")
VobSub(subtitles-2.idx")
}
alignedsplice(disc1,disc2)
crop(x,x,x,x)
BilinearResize(x,x,x,x)
Now I've adapted it to this job as follows...
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec.dll")
LoadPlugin("C:\WINDOWS\System32\vobsub.dll")
CD1{
mpeg2source("F:\LOTR_SEE_D1\CD1.d2v")
trim(0,151945)
VobSub("F:\LOTR_SEE_D1\VIDEO_TS1\VTS_01_0")
}
CD2{
mpeg2source("F:\LOTR_SEE_D1\CD2.d2v")
trim(0,136622)
VobSub("F:\LOTR_SEE_D1\VIDEO_TS2\VTS_01_0")
}
alignedsplice(CD1,CD2)
crop(10,84,699,408)
BicubicResize(640,256,0,0.5)
Only problem is that it doesn't work! I've read all I can on 'AVS' Syntax and from what I can gather I don't have anything wrong.
The error I get from NanDub is...
"Avisynth open failure:
Script Error: Syntax Error
(C:\Documents and Sett\...\LOTR2.avs, line 3, column 4)"
I've tried all sorts of combinations but I just cant seem to crack it... Does anyone with some degree of experience know what I'm doing wrong?
From what I can tell... It's just the use of "{" and "}" that's causing the problem because the rest of the script works as is as long as I only try to do one disk (set of VOBs) at a time... This one is really driving me nuts. Any help at all would be greatly appreciated.
Cheers,
Chris D.