Log in

View Full Version : Can't make dot crawl filters work


poutipouticat
8th September 2008, 20:21
Hello, I just started using AviSynth recently. Here's my script :

----

Loadplugin("C:\Program Files\DGMPGDec\DGDecode.dll")
Loadplugin("C:\Program Files\AviSynth 2.5\plugins\TComb.dll")

Ac3Source(MPEG2source("VIDEO_TS.d2v",upConv=1),"VIDEO_TS T01 2_0ch 256Kbps DELAY -8ms.ac3").DelayAudio(-0.008)
separatefields()
selecteven()
lanczos4resize(640,480)

----

I'm trying to get rid of the dot crawl artifact, but I can't seem to make any filters work. I tried TComb, GuavaComb, DeDot and Checkmate (4 different plugins that are supposed to greatly reduce dot crawl), but for some reason, they don't seem to take effect. Is there anything wrong with the way I'm loading them into AviSynth? Thanks in advance

Nightshiver
8th September 2008, 20:25
Post a sample. If you have your plugins in the plugins folder of avisynth, then they should autoload, so there shouldn't be a need to use loadplugin.

poutipouticat
8th September 2008, 20:36
What file do you want me to post as a sample?

Leak
8th September 2008, 20:52
What file do you want me to post as a sample?
A short clip (< 10MB) featuring the dot crawl you want to eliminate in VOB format would be perfect.

You can cut it out with DGIndex - just select a small range with the "[" and "]" buttons, then use "File > Save project and demux video" and upload the produced .demuxed.m2v file somewhere...

np: Rex The Dog - I Can See You, Can You See Me? (The Rex The Dog Show)

poutipouticat
8th September 2008, 21:21
http://files.filefront.com/VIDEO+TSdemuxedm2v/;11735083;/fileinfo.html

Nightshiver
9th September 2008, 00:33
It's not dot crawl.

poutipouticat
9th September 2008, 01:52
Then what is it? It fits the many descriptions I read about dot crawl and looks exactly like the examples used to represent dot crawling I saw. Also, it only appears when I'm using a s-video cable for some reason.

Yoshiyuki Blade
9th September 2008, 02:19
It looks kinda like dot crawl, but its far too pronounced to be it. Dot craw is typically much more subtle, occur around edges and kinda blend with the colors. In this clip's case, the entirety of the scenes are checkered out. Its really strange how it turned out like that. What video capture device was used, and were you certain to have configured it correctly?

poutipouticat
9th September 2008, 02:41
I'm using a DVD recorder. I think I configured it correctly, unless there's something I need to turn on to get rid of this artifact that I'm not aware of. I tried 5 different ones, and I always get the same result... Also, I'm recording directly from my N64 to my DVD recorder using a s-video cable that looks like this :

http://www.jandaman.com/Merchant2/images/gc/gcavsvid.jpg

I wasted a lot of time trying to solve that problem and if I can't eliminate it with an avisynth filter, I think I'll just give up

mikeytown2
9th September 2008, 10:03
I think it's how the N64 is rendering the graphics, and/or you have a very bad deinterlacer built into the DVD recorder, and/or cable issues.

Try this code and go to the last scene, the smoke doesn't have the problem


FFmpegSource("VIDEO_TS.demuxed.m2v")
SeparateFields()
AssumeFrameBased()
SeparateFields()
TurnLeft()
AssumeFrameBased()
SeparateFields()
TurnRight()

PointResize(width*4,height*4)




Once again the last scene. It shows bad deinterlacing in the UV channel.


FFmpegSource("VIDEO_TS.demuxed.m2v")
dummyUV = BlankClip(last,width=width/2,height=height/2,color=$808080)
dummyY = BlankClip(last,color=$808080)

gray= YToUV(dummyUV,dummyUV,last)
v= YToUV(dummyUV,last.VToY(),dummyY)
u= YToUV(last.UToY(),dummyUV,dummyY)
uv= YToUV(last.UToY(),last.VToY(),dummyY)
full= YToUV(last.UToY(),last.VToY(),last)


i=48
UVchan=uv.levels(128-i,1,128+i,0,255)
StackHorizontal(UVchan,gray)





Bad way of fixing this problem... but I think most N64 games are 320x240.

FFmpegSource("VIDEO_TS.demuxed.m2v")

dummyUV = BlankClip(last,width=width/2,height=height/2,color=$808080)

blured=YToUV(dummyUV,dummyUV,last).BilinearResize(360,240).BilinearResize(720,480)
YToUV(last.UToY(),last.VToY(),blured)

squid_80
9th September 2008, 11:00
Yay Nintendo - outputting non-standard signals for over 20 years! (Continued to this day with the wii.)
I don't know about NTSC units but to get s-video working properly with PAL SNES/N64 you normally had to open up the cable and solder a 75-ohm resistor between the luma pin and ground.

Taurus
9th September 2008, 11:21
----

Loadplugin("C:\Program Files\DGMPGDec\DGDecode.dll")
Loadplugin("C:\Program Files\AviSynth 2.5\plugins\TComb.dll")

Ac3Source(MPEG2source("VIDEO_TS.d2v",upConv=1),"VIDEO_TS T01 2_0ch 256Kbps DELAY -8ms.ac3").DelayAudio(-0.008)
separatefields()
selecteven()
lanczos4resize(640,480)

----


Is this your whole script?:confused:
You forgot the call for the Tcomb.dll.
Something like this:

Tcomb() # put parameters in the brackets

And you dont have to load the plugin with:
Loadplugin("C:\Program Files\AviSynth 2.5\plugins\TComb.dll")
if it's in C:\Program Files\AviSynth 2.5\plugins folder, AviSynth takes care of it automatically..:p

poutipouticat
9th September 2008, 23:03
Yes, I found this link (http://avisynth.org.ru/docs/english/externalfilters/tcomb.htm) but even with the nice explanation it gives, I still haven't managed to figure out what to do with this script : TComb (clip, int "hfThreshL", int "hfThreshC", int "fCorrL", int "fCorrC", bool "edge", int "mode", int "map"). I messed with it but I kept getting error messages. My English and knowledge of technical terms leave much to be desired though, so there's probably something to get out of this.

45tripp
10th September 2008, 00:20
no,
because it's not dot crawl

try mikeytown's fix for size,

or grab a soldering iron like squid says,
yeah...
that sounds like fun :)

MadRat
10th September 2008, 09:15
You missed one important part of your dot crawl diagnosis, movement. Dot crawl shimmers or as it's name suggests crawls. You can find an exaggerated, animated gif example here: http://www.michaeldvd.com.au/Articles/VideoArtefacts/VideoArtefactsDotCrawl.html