Log in

View Full Version : Old TV captured anime renewal, need help


cbwarz
12th March 2003, 22:55
Hi,

I'm trying to "restore" an old tv capture i have taped long time ago.

The source have a heavy rain, ghost, rainbow, bad saturation, ...
But i want my childs to see it :), well if it can be seen.

Have tried many filters and just want to ask if someone can point me out or suggest an avisynth script to me to try.

My current script is (AviSynth v2.07):

AVISource("c:\temp\candy.avi")
#To convert to 23.976
GreedyHMA(1,0,0,3,0,0,0)
#This cleans very good the image, if i put -100 a more
#positive value it blurs motion
PeachSmoother(200,-100,400)
# 4th parameter can't be more cause in other parts of the
#video it blurs motion
Convolution3D(0, 32, 128, 20, 250, 10, 0)
msmooth(20,130,false)


This gives me an accepted picture, but some noise can be found, and is a little blurry.

Filters already tried but maybe don't applied right: GuavaComb, Ghostbuster, AntiBlink.

Looking for ghost remove, rainbow remove or any enhancements masters can provide :).

Please help
cbwarz

Want to attach a little 1.2mb file for example SOURCE & PROCESSED, but don't have a web space :(, can someone help me out if interested please

DJ Bobo
13th March 2003, 01:18
I think, it's the wrong way to use avisynth here, because you can't preview the effects of the filters.
The best would be you use virtualdub, there you can preview most effects, so that you can change on the fly and see what helps faster.

A very usefull filter for VHS captures is flaxen's VHS filter of course :D

cbwarz
13th March 2003, 15:48
Hi,

Actually i load the avs into vdub to preview :)

Will check Flaxen filters: fxtoon and vhs :D

Thanks

sh0dan
13th March 2003, 16:19
Dust is a very good filter for noisy sources - probably even better than PeachSmoother. Definately worth a shot.

The new temporalsoften in 2.5 will probably also be able to help you.

Valky
14th March 2003, 00:00
Originally posted by DJ Bobo
I think, it's the wrong way to use avisynth here, because you can't preview the effects of the filters.
The best would be you use virtualdub, there you can preview most effects, so that you can change on the fly and see what helps faster.

A very usefull filter for VHS captures is flaxen's VHS filter of course :D

You can preview it with avscompare-tool or what ever it is called these days. Or you can preview it with Swiftavs where it is very easy to choose your filter too.

cbwarz
14th March 2003, 15:40
Hi,

I tried fxvhs & fxtoon in vdub and have very very good results :D thanks.

But how can i make it run on AviSynth?
With the following script fxtoon runs with parameters, but can't find a way to fxvhs to run with parameters.

Please someone post an example of fxvhs with parameters with avisynth i really need this to work :).


Here's my current script:


LoadPlugin("c:\movie\GreedyHMA.dll")
LoadVirtualDubPlugin("c:\movie\fxvhs.vdf", "fxvhs")
LoadVirtualDubPlugin("c:\movie\fxtoon.vdf", "fxtoon")
LoadPlugin("c:\movie\PeachSmoother.dll")

avisource("c:\Movie\capture.avi")

LetterBox(25,25)

GreedyHMA(1,0,3,0,0,0,0,0)

PeachSmoother(NoiseReduction = 60, Stability = 25, Spatial = 140)

ConvertToRGB32()
#fxvhs only works with fxvhs() but i need to do more filtering :(
fxvhs(?, ?, ?, ?,...)
fxtoon(5, 200, 16)


@shodan
I'm using avisynth v2.07 :(
Thanks

cbwarz
14th March 2003, 15:50
Found this in a Russian page (i think)

##########################
# Cartoon Tool by flaXen #
##########################
# "Show Inverse Map" не поддерживается, так-как очевидно
# недоступен через интерфейс скрипта
function VD_CartoonTool(clip clip, int "scale_base", int "scale_intensity", int "pixel_base")
{
LoadVirtualdubPlugin(VirtualDub_plugin_directory+"\fxtoon.vdf", "_VD_CartoonTool")
return clip._VD_CartoonTool(default(scale_base,16),default(scale_intensity,200),default(pixel_base,16))
}
########################
# VHS Filter by flaXen #
########################
function VD_VHS(clip clip, bool "stabilize", int "luma_threshold", int "chroma_threshold",
\ int "temporal_error", int "temporal_bias", int "noise_threshold",
\ int "pixel_radius", bool "prefilter", bool "postfilter", bool "sharpen",
\ int "sharpen_amount", bool "eight_direction", int "chroma_shift_x",
\ int "chroma_shift_y", bool "shift_i", bool "shift_q")
{
LoadVirtualdubPlugin(VirtualDub_plugin_directory+"\fxvhs.vdf", "_VD_VHS")
return clip._VD_VHS(default(stabilize,true)?1:0, default(luma_threshold,5),
\ default(chroma_threshold,30), default(temporal_error,15), default(temporal_bias,5),
\ default(noise_threshold,10), default(pixel_radius,1), default(prefilter,false)?1:0,
\ default(postfilter,false)?1:0, default(sharpen,false)?1:0, default(sharpen_amount,15),
\ default(eight_direction,false)?1:0, default(chroma_shift_x,-1), default(chroma_shift_y,0),
\ default(shift_i,false)?1:0, default(shift_q,false)?1:0)
}



-------------------------------

I guess i was loading fxtoon & fxvhs the wrong way, will try this later at home

I'm using fxtoon & fxvhs v1.0, if there's another script to do it, please post :)

Thanks