Log in

View Full Version : script busted?


Amateur
19th January 2011, 07:00
i have been testing the following script

LoadPlugin("C:\Program Files (x86)\MeGUI\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("E:\Transformers Animated\s1e1\VTS_01_1.d2v", cpu=4, info=3)
LoadPlugin("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, interlaced=true, threads=0)
LoadPlugin("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\TIVTC.dll")

tfm(order=-1).tdecimate(mode=1)

undot()
fluxsmootht(7)
eDeen(7,7,14,1,2)
vmToon(strength=100, luma_cap=150, threshold=2, thinning=100, ssw=2,ssh=2)
saa(eedi2)

crop( 0, 0, 0, -6)
LanczosResize(640,480) # Lanczos (Sharp)
#denoise
trim(7500,9000)

i used it several times to determine the lowest bitrate i could use and still get good results. when i got a bitrate i liked, i changed the trim numbers to see if another scene looked just as good. that turned out fine so i wanted to test one more block. now when i use the script, it screws up the result. the height seems to be doubled and it isn't doing the ivtc. each time i changed the trim range, i saved the script as a different name and now when i go back to my original script, it isn't acting right either.

what the heck happened?

Gavino
19th January 2011, 12:09
...
saa(eedi2)
...
the height seems to be doubled
eedi2 doubles the height.

But then... it should get reset to 480 by the LanczosResize.
Are you sure the resize line isn't commented out or something strange? You haven't added a 'return' somewhere?

Amateur
19th January 2011, 16:06
i copied the script exactly how it was. and looking at it again it seems nothing in the script is working. no ivtc, no cropping, and i'm assuming no smoothing or sharpening either but that's a little harder to tell since ivtc is messing with some of the frames.

Amateur
30th January 2011, 02:08
this problem did fix itself for a while but now it's popping up again and i have no idea why. the only part of my script that seems to work is the frame height increasing to 960. it doesn't do any other part of the script. is there a common problem with megui lately that would cause this? it is MeGUI 1911 (svn) in case that helps. the preview shows what it should look like it's just that the program doesn't actually produce that output when finished.

Sharktooth
5th February 2011, 05:21
cant reproduce and no, it's not a known problem. the fact that it "fixed itself for a while" is also very weird.
if you play the avisynth script in a directshow mediaplayer (MPC-HC for example) is the output correct?

Amateur
6th February 2011, 07:33
well i ended up re-installing megui and changing the upgrade server to developmental so now it's at 1928 (svn) and all is working as of now. not sure what happened...

Sharktooth
7th February 2011, 02:11
ok, let me know if the problem shows up again