Log in

View Full Version : Avisynth Edge Problem


[MA]Debito
2nd February 2005, 06:57
I seem to be having a problem getting rid of these edges in avisynth:

http://members.cox.net/debito/edges_avisynth.PNG

Sorry, Dialupers...Wanted to get a lossless image to show off my quality.

How do I go about removing those spots? I want to call it over saturation of the edges...I'm not quite sure how it happens...I want to say from the coloring. Any tips?

Thanks.

Guest
2nd February 2005, 07:20
Is this filtered in some way? I am struck by the fact that the color is the same as the color of the hair on the opposite edge. Even the tiny artifact in the top left corner matches the color of the other side! And there's another one about a third of the way up that matches too. And the right side is picking up the left side's colors too! It's too much to be coincidence. Maybe there is a filter bug?

[MA]Debito
2nd February 2005, 08:32
I'm not sure, here's the Script i'm using though:

Mpeg2Source("C:\Documents and Settings\debito\Desktop\CC09\CC09.d2v",ipp=true,cpu=6,idct=7,cpu2="030406")
Telecide(guide=1,gthresh=1,hints=false,vthresh=30,order=1,post=2,back=1,blend=true)
Decimate(cycle=5,quality=3)
Crop(4,0,-4,0)
LanczosResize(576,432)
deen("a2d",1,7,10)
awarpsharp(11, 4, .6, 1)
ColorYUV(Levels="TV->PC").tweak(sat=1.05,cont=1.1,bright=-15)
TextSub("C:\Documents and Settings\debito\Desktop\Tools\SSA\CC09.ssa")

Btw...HI! I luv your various filters and stuff...oh that brings to mind...I have a little...glitch/bug with Decomb...Lemme make a sample and upload it to my webspace. I'll post a link in my Edit.

Edit: I solved the edge problem, it was aWarpSharp...i guess it was too warpy! LoL Anywho, there's the link to the video...any Idea how to fix this kinda stuff with Telecide?: http://members.cox.net/debito/Decomb_Telecide_House.avi

Didée
2nd February 2005, 08:56
I have seen that error before. In those cases, it was caused by aWarpSharp, when applied to clips of certain resolutions (non-MOD16 ?).
Now your reolution *is* MOD16, but still: comment out aWarpSharp, and see what happens. If aWarpSharp indeed is the cause for you, then you should use manual padding - simply addborders() before and crop afterwards (or, perhaps better, use BorderMirror() )

edit:

replying too late,
that's my fate ...

Guest
2nd February 2005, 09:23
Originally posted by [MA]Debito
any Idea how to fix this kinda stuff with Telecide?: http://members.cox.net/debito/Decomb_Telecide_House.avi Is that the output or the input? To help you, I need you to explicitly tell me what the perceived problem is ("fix what stuff?") and I need an unprocessed source clip. Thank you.

[MA]Debito
2nd February 2005, 10:05
Nevermind...It was part of the source. Sorry to worry you!

jellysandwich
25th September 2005, 01:23
Now I remember why I stopped using aWarpSharp 6 months ago...

Anyway, I've decided that using WarpSharp.vdf was just too slow, so now I'm back to using aWarpSharp. I figured out one way to fix the distorted edges, so I thought I'd post it here. This is for the other newbies who might run across this problem...

# PLUGINS
LoadPlugin("C:\PROGRA~1\GORDIA~1\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\UnDot.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynth25\awarpsharp.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynth25\decomb522.dll")

# SOURCE
mpeg2source("D:\WitchHunterRobin\1\1.d2v")
AssumeTFF()
Telecide(guide=0,post=2,vthresh=35,dthresh=0,show=false)
Decimate()

awarpsharp(12,1)

# CROPPING
crop(4,0,712,480)

# RESIZING
LanczosResize(640,480)

# DENOISING: choose one combination (or none)
Undot()


Just call it before cropping and resizing.

js