Log in

View Full Version : Ergo Proxy and filters?


Carpo
11th July 2011, 20:07
Has anyone converted Ergo Proxy from DVD to x264 and could advise me on some filters.

After googling i know it can suffer from banding, and i have looked up a few filters but not overly sure i have the right ones or that i have the right settings.

Is there a script i can run over a part of the episode that might be able to show me what it might suffer from? (much like how MeGUI tells you if its interlace or progressive)

So far this is what i have come up with (although I think i have found an issue with ep1 which i will redue to confirm)

SetMTMode(2,0)
LoadPlugin("C:\Program Files (x86)\MeGUI\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("F:\DISC_RIPS\MainMovie\ERGO_PROXY_ep1\VIDEO_TS\ego_ep1.d2v", info=3)
LoadPlugin("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, interlaced=true, threads=0)
Load_Stdcall_Plugin("C:\Program Files (x86)\MeGUI\tools\yadif\yadif.dll")
SetMTMode(2)
MSharpen()
Yadif(order=1)
crop( 4, 2, 0, 0)
Spline36Resize(720,400) # Spline36 (Neutral)
tweak(sat=1.2) ------ Think this is an issue
GradFun2DBmod()
toon()
#denoise

Temuthril
11th July 2011, 21:55
Why are you resizing it to 720x400 & are you sure the source is interlaced, instead of telecined?

Carpo
11th July 2011, 22:05
Why are you resizing it to 720x400 & are you sure the source is interlaced, instead of telecined?

Ran it through MeGUI it says interlaced, its from Pal source, as to the resize that is a mod16 resize, I did a copy where i didnt resize and even told mkvmerge it was a 16/9 file and it still came out square, if i resize it comes out as 16/9

RazrFalcon
11th July 2011, 22:09
Try to find R2 DVD, it is without interlacing.
PS: it will be nice, if you done rip with 848x480 resolution.

Carpo
11th July 2011, 22:12
I am in R2 and MeGUI is saying interlaced, looked at it in MeGUI and vdub and DGIndex all shows the lines you see with interlaced material

RazrFalcon
11th July 2011, 22:41
Only ads. Look:
http://storage6.static.itmages.ru/i/11/0712/s_1310420447_477a71f149.png (http://itmages.ru/image/view/229370/477a71f1)

http://storage7.static.itmages.ru/i/11/0712/s_1310420448_207403a2c7.png (http://itmages.ru/image/view/229371/207403a2)

Carpo
11th July 2011, 23:02
yes mine is like in first picture, after de-interlacing it looks like second

RazrFalcon
12th July 2011, 11:04
Yes. But second picture without deinterlacing. I think auto deinterlacing works bad.
You can simply remove the advertisement.

Motenai Yoda
12th July 2011, 12:30
asd -> put MSharpen() before deinterlacing/ivtc is a bad, bad idea...
also using MSharpen() is a bad idea too.

resize should be 716x394 for avc or 640x352 for asp

Carpo
12th July 2011, 12:33
if i put MSharpen() before deinterlacing i get strange effects, for resize i selected Resize and select resolution (mod16) in megui, that's the resolution it gave me after auto cropping. Is there any other sharpen scripts i could use instead of MSharpen?

Didée
12th July 2011, 12:57
Erh, but that's exactly what Motenai Yoda told you.

The script you posted in post#1 contains this:

...
MSharpen
Yadif
Crop
...

but the order should be

...
Yadif
MSharpen
Crop
...

Carpo
12th July 2011, 12:59
i misread what he put

new script i have been testing is

LoadPlugin("C:\Program Files (x86)\MeGUI\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("F:\DISC_RIPS\ERGO_PROXY_ep1\ergo_ep1.d2v", info=3)
LoadPlugin("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, interlaced=true, threads=0)
Load_Stdcall_Plugin("C:\Program Files (x86)\MeGUI\tools\yadif\yadif.dll")
SetMTMode(5)
Yadif(order=1)
crop( 4, 2, 0, 0)
Spline36Resize(720,400) # Spline36 (Neutral)
GradFun2DBmod()
toon()
MSharpen()
#denoise

Motenai Yoda
12th July 2011, 18:28
try lsfmod(edgemode=1) instead
it also has a parameter undershoot, that can take the place of toon too.
else there is the old and slow vmtoon.
order should be:

source
colormatrix (if it's pal I doubt is necessary)
deint/ivtc
crop
resize
denoise (like removegrain,deen,degrainmedian,fft3dfilter/fft3dgpu,mdegrain ecc)
sharp (u can put filters like denoiser and sharpener before resize for better, but slower, processing)
linedarken/toon
gradfun2dbmod/gradfun3 <- gradfun put a lot of grain to hide banding so this should be the lastest filter, else u denoise/sharp the grain too

Carpo
12th July 2011, 19:05
so something like LSFmod(Smode=3,undershoot=1,edgemode=1) could replace MSharpen and toon() ?