Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Today's Posts Search

Reply
 
Thread Tools Search this Thread
Old 27th June 2004, 16:07   #1  |  Link
Alxemi
Happy XviD user
 
Alxemi's Avatar
 
Join Date: Aug 2002
Location: Madrid, Spain
Posts: 183
undot+deen+mftoon --> excellent combo!

Hi people. I´m preparing my backup of AKIRA... it is my first experience with bad quality anime so i decided to do an intensive testing & search in the forum.
I tried everything: c3d, fluxsmooth, mipsmooth, sharpresize, deen, edeen, mftoon, many sharpeners... weeks of work!!

Now that i have my "final avs version" i would like to share it with all of you who helped me (in one way or another) to create it and for future searchers. I´m still open to suggestions!!


normal script:

LoadPlugin("C:\ARCHIV~1\GORDIA~1\AviSynthPlugins\dgdecode.dll")
mpeg2source("E:\akira\p1.d2v")
crop(8,4,704,568)
LanczosResize(608,336)


filtered script:

LoadPlugin("C:\ARCHIV~1\GORDIA~1\AviSynthPlugins\dgdecode.dll")
LoadPlugin("C:\ARCHIV~1\GORDIA~1\AviSynthPlugins\UnDot.dll")
LoadPlugin("C:\ARCHIV~1\GORDIA~1\AviSynthPlugins\warpsharp.dll")
LoadPlugin("C:\ARCHIV~1\GORDIA~1\AviSynthPlugins\masktools.dll")
LoadPlugin("C:\ARCHIV~1\GORDIA~1\AviSynthPlugins\awarpsharp.dll")
LoadPlugin("C:\ARCHIV~1\GORDIA~1\AviSynthPlugins\deen.dll")

import("C:\ARCHIV~1\GORDIA~1\AviSynthPlugins\mfToon-v0.52.avs")

mpeg2source("E:\akira\p1.d2v")
crop(8,4,704,568)
Undot()
deen()
LanczosResize(608,336)
Undot()
mftoon()


Some Screenshots: normal, filtered:













If you want to notice well the big difference, i recommend to download the imagen and make some zooms
Now i face to make a good xvid work (2cds)...

take care people!!
__________________
Mira detras de ti... ¡Un mono con tres cabezas! (Guybrush Threepwod)
Alxemi is offline   Reply With Quote
Old 27th June 2004, 22:41   #2  |  Link
ssjkakaroto
Registered User
 
ssjkakaroto's Avatar
 
Join Date: Oct 2001
Location: River of Flame
Posts: 204
Alxemi is using undot() twice really necessary?
ssjkakaroto is offline   Reply With Quote
Old 28th June 2004, 01:54   #3  |  Link
Corran
Registered User
 
Corran's Avatar
 
Join Date: Jun 2004
Location: Chicago
Posts: 19
Those still seem a bit noisy. How about this?

The following images are between 66-80 percent the filtered counterparts you posted above.

http://www.corranproductions.com/fil...akira16770.png
http://www.corranproductions.com/fil...akira24429.png
http://www.corranproductions.com/fil...kira110564.png
http://www.corranproductions.com/fil...kira135328.png
http://www.corranproductions.com/fil...kira153463.png

In the first scene I think I may have lost a little detail...
Here is the script I used.
Code:
mpeg2source("C:\Documents and Settings\Corran1\Desktop\akira.d2v")
telecide(order=1,post=0)
decimate(cycle=5)
assumefps(24)
Crop(2,0,-2,0)
lanczos4resize(608,336)
Convolution3d(1,8,8,8,8,3,0)
deen("a2d",2,5,7)
mftoon()
msmooth(strength=2,threshold=3,mask=false)
ColorYUV(gain_u=7)
tweak(sat=1.2,cont=1.1)
Corran is offline   Reply With Quote
Old 28th June 2004, 04:28   #4  |  Link
jorel
Guest
 
Posts: n/a
@ Alxemi
i believe that was needed weeks for tests,sometimes i do the same testing.i see only a little more bright(maybe gamma) in the pictures with filters but the general results is very cool!

@ Corran...excuse me but
all your pictures posted are with differents matizes comparing with the pictures from the source posted by Almexi,it's easy to see.
your script need little corrections i think!
  Reply With Quote
Old 28th June 2004, 05:11   #5  |  Link
Corran
Registered User
 
Corran's Avatar
 
Join Date: Jun 2004
Location: Chicago
Posts: 19
Quote:
Originally posted by jorel
all your pictures posted are with differents matizes comparing with the pictures from the source posted by Almexi,it's easy to see.
your script need little corrections i think!
Matizes? I'm sorry I'm not sure what that means and the forum search isn't giving me anything. I guess I'm still learning a lot so ignore my post until I can figure out what I'm missing.
Corran is offline   Reply With Quote
Old 28th June 2004, 05:58   #6  |  Link
jorel
Guest
 
Posts: n/a
ok Corran,i was unclear! matizes are like "hue" or color tons.see the color of the faces(easy to see) and the overall colors in your pictures are differents from the source.

i was forgoten: welcome in forum!
  Reply With Quote
Old 28th June 2004, 09:00   #7  |  Link
zettai
Fascinated Lurker
 
zettai's Avatar
 
Join Date: Feb 2002
Location: Durham, UK
Posts: 243
@jorel

well, yes... ColorYUV(gain_u=7) and Tweak tend to change the color :P

(although it might partly be being used to compensate for msmooth's odd coloring effect when used in YV12 and partly just to "improve" the colors)
zettai is offline   Reply With Quote
Old 28th June 2004, 22:34   #8  |  Link
Alxemi
Happy XviD user
 
Alxemi's Avatar
 
Join Date: Aug 2002
Location: Madrid, Spain
Posts: 183
Corran:
I really like your screenshots!! i think mines have better color, but yours has less noise and keep very good detail
They remember me the tests i did with mipsmooth animelq, could you please post the frame 25935??

original 25935


25935 with mipsmooth (animelq)


25935 with mipsmooth (animehq)


25935 with deen


With deen i keep some noise, but mipsmooth was too much bluring for me, look at the leg of the guy who is the last one sitted, also the brown cloth of the guy in the middle..
BTW, your avs was for compress with XviD? I´m trying a good encode but I can´t!! i have tested everything, with and without every single xvid setting, and i couldn´t keep the dots and mosquito away.
Hum, now i remember that Fox Home Entertaiment at q=2 did it quite well, but maybe we are talking then of using a DVDR xDD

more: corran if you want to show your screenshots in the screen use the IMG button!!

Quote:
The following images are between 66-80 percent the filtered counterparts you posted above.
dunno understand... what do you mean?

ssjkakaroto:
I usually use double undot as default to remove the dots created by the resize filter (not a lot but they exists). Maybe is not necessary but for sure that is harmless.


__________________
Mira detras de ti... ¡Un mono con tres cabezas! (Guybrush Threepwod)

Last edited by Alxemi; 28th June 2004 at 22:50.
Alxemi is offline   Reply With Quote
Old 28th June 2004, 23:19   #9  |  Link
Chainmax
Huh?
 
Chainmax's Avatar
 
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
I already asked this on a previous thread but didn't get much of answer:

Is it a good idea to use aWarpSharp+SSXSharpen or should I just use mfToon instead?
Chainmax is offline   Reply With Quote
Old 28th June 2004, 23:21   #10  |  Link
Chainmax
Huh?
 
Chainmax's Avatar
 
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
Crap, I can't edit.

The question is geared towards Futurama/Simpsons-type cartoons.
Chainmax is offline   Reply With Quote
Old 29th June 2004, 02:58   #11  |  Link
Corran
Registered User
 
Corran's Avatar
 
Join Date: Jun 2004
Location: Chicago
Posts: 19
@ jorel

Thanks. Also, what Zettai is saying is true. Looking back though I guess I didn't really need any color correction for akira..

@ Alxemi

Actually I haven't tried backing up a dvd before. I'm just an AMV creator that is intersted in making the source I edit with look better than the DVDs they were derived from. BTW I know how to post images. I was just under the impression people didn't like large images loading. Oh well:

With the script I posted above (218KB):


With the script I posted minus the tweak and colorYUV filters (213KB):


My attempt to keep more detail in the brown jacket(245KB):



Quote:
Originally posted by Alxemi
Quote:
Originally posted by Corran
The following images are between 66-80 percent the filtered counterparts you posted above.
dunno understand... what do you mean?
What I was refering to here was that the size of the png images I posted were smaller than the images you posted. It is possible however we were using a different compression strength for our images, but I doubt it.
Corran is offline   Reply With Quote
Old 29th June 2004, 03:48   #12  |  Link
Prettz
easily bamboozled user
 
Prettz's Avatar
 
Join Date: Sep 2002
Location: Atlanta
Posts: 373
The problem with Akira is that there is so much detail that even at 3 CDs you will be hard pressed to have enough bitrate to encode it all. I've tested this movie obsessively and I've found that trying to completely eliminate all noise is not worth it. In roughly half of the movie, any attempt at heavy denoising loses too much detail.

Also, when you completely eliminate noise and ringing, you still probably won't have enough bitrate to encode all the cel edges without substantial ringing. Removing all the noise in the center of the cel areas only makes the ringing far more apparent during playback. I've decided to leave a fair amount of noise in the movie when I encode it (still haven't had time to finish it). Deblock+Dering does most of my work.

I've found that C3D and VagueDenoiser are totally useless on this movie; they does absolutely nothing against the noise and ringing. MipSmooth I couldn't get to be very effectual without heavy ghosting. Unfilter works miracles at eliminating noise noise in this movie, but is also extremely dangerous. I use Unfilter in a few scenes with extremely heavy noise and little or no movement.

That said, here's the filter chain I have applied to most of the movie:
Code:
MPEG2Source("C:\Akira\akira_full_01.d2v",idct=7)

Telecide(chroma=true,post=false)  #postprocessing interprets skyscrapers as interlace artifacts
Decimate(cycle=5,mode=2,ovr="decimate_override.txt")  #only found 1 scene where Decimate fails so far

BlindPP(quant=2,cpu=4,moderate_h=20,moderate_v=40)
BlindPP(quant=2,cpu2="ooooxo",moderate_h=22,moderate_v=46)
FluxSmooth(12,16)  #16 is absolute max for temporal senstivity before you get ghosting
Undot()

Crop(0,0,-2,0)
BicubicResize(640,368)		#after crop, 2.0% aspect error
My whole script is hideously complicated, with 11 (and counting) different filter chains (some only being used in a single scene).
Prettz is offline   Reply With Quote
Old 29th June 2004, 07:40   #13  |  Link
DarkNite
Almost Silent Member
 
DarkNite's Avatar
 
Join Date: Jun 2002
Location: Purgatory
Posts: 273
Hmm...

Akira seems like it would be the perfect candidate for bilateral filtering seeing as it's riddled with film grain, and almost completely void of large gradients.

*sighs*

Now I'll have to go buy this DVD for the third time... This time I'm making a backup immediately.
__________________
Rethinking the "Why?" chromosome.
DarkNite is offline   Reply With Quote
Old 29th June 2004, 08:37   #14  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,844
Quote:
Originally posted by Prettz

FluxSmooth(12,16) #16 is absolute max for temporal senstivity before you get ghosting
Actually the temporal threshold is 12 in this case. For some odd reason, SansGrip put temporal first, then spatial. Don't ask me how long it took before I noticed that myself
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 29th June 2004, 12:30   #15  |  Link
Sirber
retired developer
 
Sirber's Avatar
 
Join Date: Oct 2002
Location: Canada
Posts: 8,979
Quote:
Originally posted by Prettz
The problem with Akira is that there is so much detail that even at 3 CDs you will be hard pressed to have enough bitrate to encode it all. I've tested this movie obsessively and I've found that trying to completely eliminate all noise is not worth it. In roughly half of the movie, any attempt at heavy denoising loses too much detail.
You could try RealVideo on it, it's excellent with anime source
Sirber is offline   Reply With Quote
Old 29th June 2004, 15:07   #16  |  Link
vigi_lante
Registered User
 
Join Date: Oct 2003
Posts: 155
I always use this to remove noise from analog TV capture of cartoon/anime.

UnDot()
cnr2()
edeen(7,14,21,2,3,true)
TemporalCleaner(6,12)
aWarpSharp()
mfToonLite()

It works with a decent speed and really removes all noise. Worth a check.
vigi_lante is offline   Reply With Quote
Old 30th June 2004, 01:56   #17  |  Link
Prettz
easily bamboozled user
 
Prettz's Avatar
 
Join Date: Sep 2002
Location: Atlanta
Posts: 373
Quote:
Originally posted by Boulder
Actually the temporal threshold is 12 in this case. For some odd reason, SansGrip put temporal first, then spatial. Don't ask me how long it took before I noticed that myself
Oh dear you're right. Now I have to figure out whether or not I knew this when I first started using those values (which was a long time ago, as I took a break from working on Akira for several months at one point). I know that at one point I realized that my normal settings for it were still producing minor ghosting in dark scenes and I adjusted it. More work for me I guess...

edit: I forgot to mention in my first post that my D2V also uses +13 Gain and +13 Offset. Helps video quality immeasurably in dark scenes.

Last edited by Prettz; 30th June 2004 at 02:00.
Prettz is offline   Reply With Quote
Old 23rd July 2004, 06:08   #18  |  Link
SansGrip
Noise is your friend
 
Join Date: Sep 2002
Location: Ontario, Canada
Posts: 554
Quote:
Originally posted by Boulder
Actually the temporal threshold is 12 in this case. For some odd reason, SansGrip put temporal first, then spatial. Don't ask me how long it took before I noticed that myself
My evil elves did their work well.
__________________
Regards,
SansGrip
SansGrip is offline   Reply With Quote
Old 5th April 2014, 05:39   #19  |  Link
darkslayer00
Registered User
 
Join Date: Mar 2014
Posts: 11
Can you send me the filters and the scripts you used?
i looked in the page of avisyth, bu those are down... and always i use another version, avspmod send me a error...T-T
darkslayer00 is offline   Reply With Quote
Old 5th April 2014, 10:39   #20  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: void
Posts: 2,633
plz don't resurrect a 10 years old thread!
feisty2 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:00.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.