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.

 

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

Reply
 
Thread Tools Search this Thread Display Modes
Old 2nd June 2012, 16:43   #1  |  Link
FlaShow
Registered User
 
Join Date: Aug 2010
Posts: 47
enhance VHS Anime Quality recorded from TV

Hello,


I now there is a limit to enhance such a bade. This anime only produce in VHS quality & it is rare in the internet. It's too bade there is no DVD quality for it . I want to provide the quality a little, this video need denoiser and adjust color filter any suggestions which filter i have to use and the it is settings ?! I do some test with VirtualDub & This is the result i got
Before:




After:




Original video:
http://www.mediafire.com/?9lxbqd49mwmldz1
Filtered video:
http://www.mediafire.com/?1i5n4zgvhs776c2

Best Regards,
FlaShow

Last edited by FlaShow; 2nd June 2012 at 18:08.
FlaShow is offline   Reply With Quote
Old 2nd June 2012, 16:52   #2  |  Link
Bloax
The speed of stupid
 
Bloax's Avatar
 
Join Date: Sep 2011
Posts: 317
Dehaloing would definitely be a good idea. [/suggestion]

But since I have no idea what to do with such sources, that's about all I can say.
Bloax is offline   Reply With Quote
Old 2nd June 2012, 16:57   #3  |  Link
Lyris
Registered User
 
Join Date: Sep 2007
Location: Europe
Posts: 602
There's not a lot you can do with that. Fortunately it's quite untextured so FFT3DFilter / FFT3DGPU to reduce the appearance of the compression artefacts shouldn't chomp through many genuine details.
Lyris is offline   Reply With Quote
Old 2nd June 2012, 18:33   #4  |  Link
FlaShow
Registered User
 
Join Date: Aug 2010
Posts: 47
Thanks for the help...
Ok, I'm using the script below and display error massage:
Script:
Code:
Avisource("oSerendipity.avi")
FFT3DFilter(sigma=2, sharpen=0.3, interlaced=true)
Error Massage:
Code:
Avisynth error: YV12 images for output must have a width divisible by 4 (use crop)!
How to fix this error. please ?!
FlaShow is offline   Reply With Quote
Old 2nd June 2012, 21:35   #5  |  Link
Lyris
Registered User
 
Join Date: Sep 2007
Location: Europe
Posts: 602
The frame size is 768 x 576, and it needs to be divisible by 4. So before FFT3D I would add:

bilinearResize(720,576)

Normally I don't like the idea of scaling, but this looks like it's been horizontally rescaled anyway, and scaling isn't really going to do any damage to this.

You might also want to have a look for SremoveDirtMC and add that in after FFT3D to take care of the dirt and scratches. The animation is quite limited so I doubt it will do harm to genuine details.
Lyris is offline   Reply With Quote
Old 2nd June 2012, 21:48   #6  |  Link
FlaShow
Registered User
 
Join Date: Aug 2010
Posts: 47
Thanks Lyris. Is it possible to provide a link for SremoveDirtMC filter. please ?!
FlaShow is offline   Reply With Quote
Old 2nd June 2012, 22:36   #7  |  Link
Mounir
Registered User
 
Join Date: Nov 2006
Posts: 773
Have a look here FlaShow : http://forum.doom9.org/showthread.php?t=134078
Mounir is offline   Reply With Quote
Old 3rd June 2012, 04:32   #8  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
@FlaShow,

There is a search option at the top of the page (on sky blue bar) but it cannot find text in code sections,
but the below would even find it in code via google:

SremoveDirtMC Site:forum.doom9.org
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 3rd June 2012, 05:55   #9  |  Link
FlaShow
Registered User
 
Join Date: Aug 2010
Posts: 47
Thanks StainlessS for the info & the only thing i found is RemoveDirt filter...?!
FlaShow is offline   Reply With Quote
Old 3rd June 2012, 08:43   #10  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
http://forum.ixbt.com/post.cgi?id=print:29:9331&page=16

EDIT: You par Ruski (In a Sean Connery accent).

EDIT: Funny, google did not find this link, removeDirt, but see script in 2nd post.
http://forum.doom9.org/showthread.php?p=793467
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 3rd June 2012 at 08:49.
StainlessS is offline   Reply With Quote
Old 3rd June 2012, 08:56   #11  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,431
Quote:
Originally Posted by StainlessS View Post
There is a search option at the top of the page (on sky blue bar) but it cannot find text in code sections
Yes it can.
__________________
GScript and GRunT - complex Avisynth scripting made easier
Gavino is offline   Reply With Quote
Old 3rd June 2012, 09:02   #12  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Did not used to do it (i've had trouble in past where it would not find in code, maybe they fixed it).

(can you take a look at ColorYUV2, just posted please).
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 3rd June 2012 at 09:17.
StainlessS is offline   Reply With Quote
Old 3rd June 2012, 09:21   #13  |  Link
FlaShow
Registered User
 
Join Date: Aug 2010
Posts: 47
Thanks StainlessS,
I put the script to an avsi file with the name of SRemoveDirtMC.avsi but when i call it with SRemoveDirtMC() it display
Script error: Invalid arguments to function "SRemoveDirtMC"
How should to call this function ?!

Best Regards,
FlaShow
FlaShow is offline   Reply With Quote
Old 3rd June 2012, 09:26   #14  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Put Double quotes around "limit" in function definition.

EDIT:
As it is, 'limit' is not optional, but inside the function, it treats it as if optional, ie
uses 'Default(limit,6)'

EDIT: Same for RemoveDirt function arg 'limit'.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 3rd June 2012 at 09:30.
StainlessS is offline   Reply With Quote
Old 3rd June 2012, 10:40   #15  |  Link
FlaShow
Registered User
 
Join Date: Aug 2010
Posts: 47
Quote:
Originally Posted by StainlessS View Post
Put Double quotes around "limit" in function definition.

EDIT:
As it is, 'limit' is not optional, but inside the function, it treats it as if optional, ie
uses 'Default(limit,6)'

EDIT: Same for RemoveDirt function arg 'limit'.


AVISynth open failure: Script Error: MVAnalyse does not have a named argument "truemotion":
FlaShow is offline   Reply With Quote
Old 3rd June 2012, 12:08   #16  |  Link
Bloax
The speed of stupid
 
Bloax's Avatar
 
Join Date: Sep 2011
Posts: 317
AFAIK It's on by default, so you can probably remove the "***,truemotion=true,***" parts.
Bloax is offline   Reply With Quote
Old 3rd June 2012, 13:12   #17  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,391
Not good advice. The message about truemotion means that he (resp. that Avisynth) is using a stoneage version of MVTools. (Link leads to actual version...)
__________________
- We´re at the beginning of the end of mankind´s childhood -

My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!)
Didée is offline   Reply With Quote
Old 3rd June 2012, 14:18   #18  |  Link
Bloax
The speed of stupid
 
Bloax's Avatar
 
Join Date: Sep 2011
Posts: 317
I should sleep less in the middle of the day I guess.
Bloax is offline   Reply With Quote
Old 3rd June 2012, 18:47   #19  |  Link
FlaShow
Registered User
 
Join Date: Aug 2010
Posts: 47
Thanks guys it is work fine now and i got the best result with this script:
Code:
Avisource("oSerendipity.avi")
bilinearResize(720,576)
Deblock()
dfttest()
FastLineDarken()
deen("a3d",4,8,9)
Spline36Resize(last.width*2,last.height*2)
AddBorders(4, 0, 4, 0)
aWarpSharp(depth=12,blurlevel=4,thresh=0.2,cm=1)
FastLineDarken()
aWarpSharp(depth=6,blurlevel=4,thresh=0.7,cm=1)
Crop(14,10,-14,-10)
FastLineDarken()
DeHalo_Alpha()
fft3dgpu(bt=3,sigma=8,sharpen=1.3)
Spline36Resize(640,480)
Tweak(sat=1.1, bright=0.0, cont=1.1)
Dup(threshold=4)
Best Regards,
FlaShow
FlaShow is offline   Reply With Quote
Old 6th June 2012, 14:11   #20  |  Link
Chainmax
Huh?
 
Chainmax's Avatar
 
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
Seems like too much filtering, particularly the excessive repeats of aWarpSharp and FastLineDarken. The picture itself does not look that awful. Like others have said, I would recommend halo removal (Dehalo_Alpha and maybe EdgeCleaner too). I would also add line thinning (aWarpSharp, which can also remove minor haloing) and some judicious light denoising (MDegrain if you're up to it, DFTTest if you prefer something simpler but quite effective too).

You might want to have a look at this thread for filter sugestions on a variety of situations.
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it.
Chainmax 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 19:11.


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