Log in

View Full Version : Restoring low quality anime?


farhanimator
5th February 2011, 21:32
hw can i restore low quality anime. is there a tutorial or smthing anywhere.. my video is noisy, and white regions in the video looks weired at some frames
Actually its a rare anime and better quality is not avaliable.. :( its a tv-rip and ripped craply at 320*240 resolution, so i was thinking of restoring its quality as much as possible :|
https://lh5.googleusercontent.com/_Nt_TdRg_0vk/TU2yJ64UHII/AAAAAAAAAFc/2F_TtFhHWiQ/02.jpg
https://lh4.googleusercontent.com/_Nt_TdRg_0vk/TU2yxT-xmJI/AAAAAAAAAFg/fGEtFYBzBpA/03.jpg

farhanimator
6th February 2011, 16:51
I used this script but no luck very little increase in quality :O DirectShowSource("D:\Doraemon #1538.3gp", fps=23.976, audio=true, convertfps=true)
#deinterlace
#crop
#resize
LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\Convolution3DYV12.dll")
Convolution3D (1, 12, 22, 8, 8, 2.8, 0) #AnimeBQ preset from "Convolution3D Documentation" by Sébastien LUCAS

This Convolution3D setting is avaliable in its original documentation and its for AnimeBQ (anime bad quality) but not much improvement :(

Results with above settings
https://lh6.googleusercontent.com/_Nt_TdRg_0vk/TU7DRurB9oI/AAAAAAAAAF0/sUJOJwwkYao/s640/UP%20Help%20LQ-Restore%20Test1.jpg

farhanimator
6th February 2011, 22:13
OMG!! I discovered this (http://forum.doom9.org/showthread.php?t=134078) thread and got the script wrking... (i was feeling very dumb n noobish :P) and it worked well..

code
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\deblock.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\dfttest.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Deen.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\aWarpSharp.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\fft3dfilter.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MaskTools.dll")
Import("C:\Program Files\AviSynth 2.5\plugins\DeHalo_alpha.avs")
Import("C:\Program Files\AviSynth 2.5\plugins\FastLineDarken.avs")
DirectShowSource("D:\Doraemon #1538.3gp", fps=23.976, audio=true, convertfps=true)
#deinterlace
#crop
#resize
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(4,0,-4,0)
FastLineDarken()
DeHalo_Alpha()
fft3dfilter(bt=3,sigma=8,sharpen=1.3)
Spline36Resize(last.width/2,last.height/2)

Original source
https://lh6.googleusercontent.com/_Nt_TdRg_0vk/TU8UIywnshI/AAAAAAAAAGw/JnLBFPIpRr4/1.Original.jpg
After Encode
https://lh5.googleusercontent.com/_Nt_TdRg_0vk/TU8UJBcJzWI/AAAAAAAAAG0/vzVu1ty0rWU/2.Encoded.jpg

farhanimator
6th February 2011, 22:43
the encoding was very slow! how to do it fast?! help! :rolleyes:
and a super-foolish question ---> how to increase the resolution/resize the video?
should i just add the required resolution in Spline36Resize(last.width/2,last.height/2) as Spline36Resize(640,480)

osgZach
7th February 2011, 00:32
If you're gonna upscale, I think you might want to look at NNEDI2 or one of those various EDI filters by Tritical

tengo6dedos
7th February 2011, 01:06
Hello, you need to put a video sample if you want more responses, or at least lossless images, or even better, both!. Take lossless png's of scripts with avspmod.

More important, that tvrip is so bad is not even worth the effort of all those filters. That anime is not rare, even i know it from somewhere maybe?, get a better source.

If you still want to do something about it try something like this. Really, why more.

ColorMatrix()
saa()
Deen("a2d",4,7,9,min=0.5)
aWarpSharp2(thresh=160, blur=3, type=0, depth=8, chroma=4)
ColorYUV(off_u=5)


And have to do something about the saturation and levels.


Good Luck!

farhanimator
7th February 2011, 12:08
Hello, you need to put a video sample if you want more responses, or at least lossless images, or even better, both!. Take lossless png's of scripts with avspmod.

More important, that tvrip is so bad is not even worth the effort of all those filters. That anime is not rare, even i know it from somewhere maybe?, get a better source.

If you still want to do something about it try something like this. Really, why more.

ColorMatrix()
saa()
Deen("a2d",4,7,9,min=0.5)
aWarpSharp2(thresh=160, blur=3, type=0, depth=8, chroma=4)
ColorYUV(off_u=5)


And have to do something about the saturation and levels.


Good Luck!


Thanks for the reply :D!! yeah you are right its realy bad rip and restoring would be wastage of time and effort :P but i dont think better quality is avaliable not even in raw!! Actually this is Doraemon (Longest running Anime with 1700+ episodes). 1-50 episodes are avaliable in subbed and nice quality. And All movies are also avaliable at some sites. But mine is eps #1538 and i cant find more episodes not even in raw! :( anyway thanks again!

JEEB
7th February 2011, 13:39
But mine is eps #1538 and i cant find more episodes not even in raw! :(

1700-1538=162
162/52=3.115384615384615

So if it's somewhat more than 1700 episodes, it puts us ~3,5-4 years back at max. That's the "New Doraemon" that started airing in 2005. DVD packages exist and are on sale on amazon.co.jp, which also sends stuff out abroad if needed (can be found under the name of "TV版 NEW ドラえもん" if you search). I really recommend you to go for them if what you have on hand is all that you have available.

What you're doing is just raping the bad source you have even more.

farhanimator
7th February 2011, 17:03
1700-1538=162
162/52=3.115384615384615

So if it's somewhat more than 1700 episodes, it puts us ~3,5-4 years back at max. That's the "New Doraemon" that started airing in 2005. DVD packages exist and are on sale on amazon.co.jp, which also sends stuff out abroad if needed (can be found under the name of "TV版 NEW ドラえもん" if you search). I really recommend you to go for them if what you have on hand is all that you have available.

What you're doing is just raping the bad source you have even more.

wow!! i didn't know that its avaliable on dvd's thx! (i found all movies but no eps :P cos' i never looked in amazon jp). i have some more episodes but all crap-rip i hate them.. thanks for the suggestion i'll look for those dvd's ^___^!

Btw eps #1538 airdate is 14.05.1999, the previous anime has 1787 episodes and the newer one has 196 [source:anidb.net and animenewsnetwork]

cacepi
8th February 2011, 00:29
Actually this is Doraemon (Longest running Anime with 1700+ episodes).
A nitpick I know, but Sazae-san has aired continually in Japan since 1969, making it not only longer than Doraemon, but the longest running animated program in history.

farhanimator
8th February 2011, 15:12
A nitpick I know, but Sazae-san has aired continually in Japan since 1969, making it not only longer than Doraemon, but the longest running animated program in history.

Ooh! i think i hav heard about that anime but dont know this :P. Great Info thanx! [i found in animenewsnetwork that it has more than 6044 episodes... AMAZING!!]