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

Reply
 
Thread Tools Search this Thread Display Modes
Old 11th December 2008, 16:53   #1  |  Link
ncahammer
Registered User
 
Join Date: Feb 2007
Location: Athens, Greece
Posts: 43
Restore an old Video

I have an old DVD which is almost unwatchable (a VHS transfer?) and I am trying using avisynth to restore it and encode it transparently.

A small sample is here
http://rapidshare.com/files/17240935..._LIVE.vob.html

The first problem I noticed is dot crawling. TComb(0) I think it remove it

The second was rainbow artifacts. I did try DeRaibow() but that made almost all color to disappear. I rewrote the ChubbyRain2() to use the mt_* functions

Quote:
function ChubbyRain2(clip c, int "th", int "radius", bool "show", int "sft")
{
#based on Mug Funky's ChubbyRain

th = default(th,10)
radius = default(radius,10)
show = default(show,false)
sft = default (sft, 10)

u = c.utoy()
v = c.vtoy()

uc = u.mt_convolution(horizontal="1",vertical="1 -2 1",Y=3,U=0,V=0)
vc = v.mt_convolution(horizontal="1",vertical="1 -2 1",Y=3,U=0,V=0)

cc = c.mt_convolution(horizontal="1",vertical="1 2 1",Y=2,U=3,V=3).bifrost(interlaced=false).cnr2().temporalsoften(radius,0,sft,2,2)

rainbow=mt_lutxy(uc,vc,Yexpr=string("x y + "+string(th)+" > 256 0 ?")).pointresize(c.width,c.height).mt_expand(y=3,u=-128,v=-128)#.blur(1.5)

overlay(c,cc,mask=rainbow)

show==true? rainbow : last

}
which made a much better job, but still I don't know if it's the one suit for this video.

I still have two problems.
1) Color leaking or Halo ? (I havn't the slightest idea how to describe this)
2) Deinterlacing, i tried

TDeint(slow=2, MtnMode=3, edeint=NNEDI(), emask=TMM())
YadifMod(EDeint=NNEDI())
and Yadif() all did not produced a stable image
McBob did produce a much more stable image (still it's not perfect) but it leaves deinterlacing artifacts (jagged lines in some frames)

so up to now my script is like that

ChubbyRain2()
TComb(0)
TDeint(slow=2, edeint=NNEDI(), emask=TMM())
#YadifMod(EDeint=NNEDI())
#Yadif()
Vinverse()
Crop(14,0,-6,-0)

any suggestions ?
ncahammer is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 23:42.


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