jjabba
18th July 2006, 08:11
I just made a DVD rip where I had to manually edit some of the .avs files between the "Prepare" and the "Encode" steps. But it seems DVD RB is editing the avs files during or perhaps right after it's done encoding a segment.
For example, one of my .avs files looked like this when I started the encoding:
#------------------
# AVS File Created by DVD Rebuilder
# VOBID:01, CELLID:02
#------------------
LoadPlugin("C:\Program\DVD-RB PRO\DGDecode.dll")
LoadPlugin("C:\Program\AviSynth 2.5\egna_plugs\GreedyHMA.dll")
src = mpeg2source("H:\06 DVDRIPPING\WORKING FOLDER\D2VAVS\V04.D2V")
src.FieldMatch()
function FieldMatch(clip c) {
global cc = c
global nn = c.DeleteFrame(0)
global pp = c.DuplicateFrame(0)
return ScriptClip(cc, \
"!cc.IsCombedTIVTC(cthresh=12, MI=40) ? cc : " + \
"!nn.IsCombedTIVTC(cthresh=12, MI=40) ? nn : " + \
"!pp.IsCombedTIVTC(cthresh=12, MI=40) ? pp : cc" \
)
}
clipa = trim(src,2034,4922)
clipb = trim(src,4923,4931)
clipc = trim(src,4932, 18750)
clipb = clipb.AssumeTFF().SeparateFields().SelectEven().EEDI2(field=-1)
this = clipa ++ clipb ++ clipc
return ConverttoYUY2(this)
When encoding was done. The .avs was for some reason edited to:
#------------------
# AVS File Created by DVD Rebuilder
# VOBID:01, CELLID:02
#------------------
LoadPlugin("C:\Program\DVD-RB PRO\DGDecode.dll")
LoadPlugin("C:\Program\AviSynth 2.5\egna_plugs\GreedyHMA.dll")
src = mpeg2source("H:\06 DVDRIPPING\WORKING FOLDER\D2VAVS\V04.D2V")
src.FieldMatch()
function FieldMatch(clip c) {
global cc = c
global nn = c.DeleteFrame(0)
global pp = c.DuplicateFrame(0)
return ScriptClip(cc, \
"!cc.IsCombedTIVTC(cthresh=12, MI=40) ? cc : " + \
"!nn.IsCombedTIVTC(cthresh=12, MI=40) ? nn : " + \
"!pp.IsCombedTIVTC(cthresh=12, MI=40) ? pp : cc" \
)
}
clipa = trim(src,2034,4922)
clipb = trim(src,4923,4931)
clipc = trim(src,4932, 18750)
clipb = clipb.AssumeTFF().SeparateFields().SelectEven().EEDI2(field=-1)
this = clipa ++ clipb ++ clipc
Omitting the last line and the return statement.
Is this a bug or is there a good explination for this?:confused:
For example, one of my .avs files looked like this when I started the encoding:
#------------------
# AVS File Created by DVD Rebuilder
# VOBID:01, CELLID:02
#------------------
LoadPlugin("C:\Program\DVD-RB PRO\DGDecode.dll")
LoadPlugin("C:\Program\AviSynth 2.5\egna_plugs\GreedyHMA.dll")
src = mpeg2source("H:\06 DVDRIPPING\WORKING FOLDER\D2VAVS\V04.D2V")
src.FieldMatch()
function FieldMatch(clip c) {
global cc = c
global nn = c.DeleteFrame(0)
global pp = c.DuplicateFrame(0)
return ScriptClip(cc, \
"!cc.IsCombedTIVTC(cthresh=12, MI=40) ? cc : " + \
"!nn.IsCombedTIVTC(cthresh=12, MI=40) ? nn : " + \
"!pp.IsCombedTIVTC(cthresh=12, MI=40) ? pp : cc" \
)
}
clipa = trim(src,2034,4922)
clipb = trim(src,4923,4931)
clipc = trim(src,4932, 18750)
clipb = clipb.AssumeTFF().SeparateFields().SelectEven().EEDI2(field=-1)
this = clipa ++ clipb ++ clipc
return ConverttoYUY2(this)
When encoding was done. The .avs was for some reason edited to:
#------------------
# AVS File Created by DVD Rebuilder
# VOBID:01, CELLID:02
#------------------
LoadPlugin("C:\Program\DVD-RB PRO\DGDecode.dll")
LoadPlugin("C:\Program\AviSynth 2.5\egna_plugs\GreedyHMA.dll")
src = mpeg2source("H:\06 DVDRIPPING\WORKING FOLDER\D2VAVS\V04.D2V")
src.FieldMatch()
function FieldMatch(clip c) {
global cc = c
global nn = c.DeleteFrame(0)
global pp = c.DuplicateFrame(0)
return ScriptClip(cc, \
"!cc.IsCombedTIVTC(cthresh=12, MI=40) ? cc : " + \
"!nn.IsCombedTIVTC(cthresh=12, MI=40) ? nn : " + \
"!pp.IsCombedTIVTC(cthresh=12, MI=40) ? pp : cc" \
)
}
clipa = trim(src,2034,4922)
clipb = trim(src,4923,4931)
clipc = trim(src,4932, 18750)
clipb = clipb.AssumeTFF().SeparateFields().SelectEven().EEDI2(field=-1)
this = clipa ++ clipb ++ clipc
Omitting the last line and the return statement.
Is this a bug or is there a good explination for this?:confused: