View Full Version : Need advice on removing artifacts from an anime
lych_necross
24th November 2010, 09:15
I'm having trouble encoding this anime. There is terrible dotcrawl and rainbowing all throughout the series. Here's a screenshot of the offending artifacts and a sample.
http://img87.imageshack.us/img87/4743/fumoffu.jpg
Unprocessed sample (http://www.mediafire.com/?na62uc1fa9jxfpf)
I've tried using various combinations of bifrost, checkmate, chubbyrain2, and tcomb; however, I was not pleased with the results.
After browsing the forums, I came up with this script that helps, but it introduces ghosting.
DGSource("D:\DVDs\VTS_01_1.dgi",fieldop=0)
chubbyrain2()
checkmate()
tfm(order=1).tdecimate(mode=1,hybrid=1)
Any help you guys could offer would be appreciated. :)
egrimisu
24th November 2010, 09:51
Hi
for rainbow you might try
smartssiq(280)
(does a perfect jobs in some cases and nothing in other cases, it has something to do with chrome when detecting rainbows and in some cases it does not detect it)
as any rainbow remover might create bleeding.
for dotcrawl try double checkmate
checkmate().checkmate()
or simple chrfix=true in animeivtc if you use animeivtc to ivtc.on the animeivtc thread the guys say that chrfix module is broken but for me seem to work just fine.
if the dotcrawl is not removed entirely try an antialiasing at the end of the script, i like ediaa(), antialiasing will smooth the image a little bit so you could try a sharpen before it.
post a sample if you want and i'll take a look at it. Not saw it till now, i'm taking a look.
best regards.
i believe ghosting came from the wrong decimation.
egrimisu
24th November 2010, 10:05
DGDecode_mpeg2source("d:\Misu\VTS_01_1.demuxed.d2v")
checkmate()
smartssiq(280)
animeivtc(mode=1,chrfix=true,ifade=false)
limitedsharpenfaster()
#EDIAA()
return(last)
and here is the encoded sample, http://www.mediafire.com/?4q58fhkkmsb3hbo
http://img337.imageshack.us/img337/3912/batmanmkvsnapshot000020.jpg
Nightshiver
24th November 2010, 16:08
For the chrfix problem, it seems to be hit or miss. Regard to this post:
Quote:
Originally Posted by GMJCZP View Post
When by chance I tried the option with AnimeIVTC chrfix = true I got exactly the same error that Floatingshed.
Looking at the source of AnimeIVTC (which uses SRestore), I see that when chrfix=true, it calls a function chroma_rep - this function writes to a global variable 'lfr' inside a ScriptClip call. Now, SRestore also uses a global variable lfr for its own purposes, controlling the correct initialisation of variables like d32.
I suspect the "I don't know what d32 means" error is a result of interference between the two functions using the lfr global. If I'm right, the fix is to use a different (and unique) variable name in AnimeIVTC's chroma_rep function. (Has anyone come across this error when not using AnimeIVTC?)
Note that (as I warned here) problems with SRestore can occur if you have a global variable in your script (or in a function called by your script) with any of the following names:
dm, om, bom, thr, frfac, numr, denm, mec, det, bclp, dclp, fin, lfr, offs, ldet, lpos.
from http://forum.doom9.org/showthread.php?t=95924&page=26
lych_necross
25th November 2010, 07:37
I've never used animeivtc before. egrimisu, your sample looks great! I'll try your suggestion. :thanks:
egrimisu
25th November 2010, 09:48
I only get d32 error when using mode 2 (mode 2 passes the job to srestore)
For the chrfix problem, it seems to be hit or miss. Regard to this post:
from http://forum.doom9.org/showthread.php?t=95924&page=26
lych_necross
26th November 2010, 07:41
Damn, getting AnimeIVTC up and running is a real chore. It seems to work well; however, it runs a little slow. After playing around, I decided upon this script:
DGSource("D:\DVDs\FUMOFU\VTS_01_1.dgi")
Import("C:\Program Files (x86)\AviSynth 2.5\plugins\SAA.avs")
tcomb(mode=2,fthreshl=10, othreshl=11, fthreshC=14,othreshC=19)
TFM(mode=5, pp=7, slow=2)
TDecimate(mode=1)
SAA()
Toon()
I've seen quite a bit of anime, but Full Metal Panic: FUMOFFU contains some of the worst dot crawl and rainbowing I've ever seen.
egrimisu
26th November 2010, 08:03
Damn, getting AnimeIVTC up and running is a real chore. It seems to work well; however, it runs a little slow. After playing around, I decided upon this script:
DGSource("D:\DVDs\FUMOFU\VTS_01_1.dgi")
Import("C:\Program Files (x86)\AviSynth 2.5\plugins\SAA.avs")
tcomb(mode=2,fthreshl=10, othreshl=11, fthreshC=14,othreshC=19)
TFM(mode=5, pp=7, slow=2)
TDecimate(mode=1)
SAA()
Toon()
I've seen quite a bit of anime, but Full Metal Panic: FUMOFFU contains some of the worst dot crawl and rainbowing I've ever seen.
Well animeivtc is using the same thing as tfm but runs slowly because of some improvements. But it's just fin using tfm.toon will wash out some of the details because it uses warpsharp. Cheers man.
P.S. Full Metal Panic: FUMOFFU can be baught on bluray and the video where you'll find no rainbows or dot crawls.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.