Gujs
22nd September 2004, 10:46
Hi
I have avisynth script for a dvd generated by AutoGK hich looks like this
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\undot.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\kerneldeint.dll")
movie = mpeg2source("Z:\Content\Trailer\The_Mummy\Source\Vob\agk_tmp\vts_04_1.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 1.42222222222222
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = input_par > 1.4 ? input_par : (4.0/3.0)
out_width = 720
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
KernelDeInt(movie,order=1,sharp=true)
Autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0)
Undot()
LanczosResize(out_width,out_height)
When I load this script in WirtualDubMod it works fine, but when I try to play this script in Windows Media Player i get green picture.
If somebody know where the problem is please help me.
I tried even just to load Dvd2Avi file with DGindex and I get the same green picture.
I need this because i would like to encode this film in windows media encoder an procoder 2.
Thanks
I have avisynth script for a dvd generated by AutoGK hich looks like this
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\undot.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\kerneldeint.dll")
movie = mpeg2source("Z:\Content\Trailer\The_Mummy\Source\Vob\agk_tmp\vts_04_1.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 1.42222222222222
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = input_par > 1.4 ? input_par : (4.0/3.0)
out_width = 720
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
KernelDeInt(movie,order=1,sharp=true)
Autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0)
Undot()
LanczosResize(out_width,out_height)
When I load this script in WirtualDubMod it works fine, but when I try to play this script in Windows Media Player i get green picture.
If somebody know where the problem is please help me.
I tried even just to load Dvd2Avi file with DGindex and I get the same green picture.
I need this because i would like to encode this film in windows media encoder an procoder 2.
Thanks