marcobrd
27th January 2007, 01:02
hi all, sorry for my english, i'm italian :o
i was reading this forum for months, first times working on my holidays dv material, doing my first step with the avisynth world. then in last months for a new job with a old 8mm film material.
i learned many things reading the forum, so first i have to thank you all very much.
this was my steps for the 8mm job: project on 30-40cm distant white paper, and record directly to pc with an "old" sony cam s-video connected to pinnacle pctv card, with the record function of dscaler software. i used the "interlaced" mode recording of dscaler because it was the best method of this software and because i was shure that it means "linear 2 field frame based". i was shure to get great results with just a "simply" deinterlacer if i would have a progessive destination.
later i learned about telecined/ivtc question, and i found that my recording is just composed by an irregular pattern of progressive and "combed" frames (i hope i'm right..i'm newbby!).
so, after much testing, here the script i have now:
***
aviSource("clip.avi")
tfm()
# tdecimate(mode=2, rate=18)
crop(48,42,620,496)
converttoyv12()
fields=last
backward_vec2 = fields.MVAnalyse(isb = true, delta = 2, pel = 2, overlap=4, idx = 1)
backward_vec1 = fields.MVAnalyse(isb = true, delta = 1, pel = 2, overlap=4, idx = 1)
forward_vec1 = fields.MVAnalyse(isb = false, delta = 1, pel = 2, overlap=4, idx = 1)
forward_vec2 = fields.MVAnalyse(isb = false, delta = 2, pel = 2, overlap=4, idx = 1)
fields.MVDegrain2(backward_vec1,forward_vec1,backward_vec2,forward_vec2,thSAD=230,idx=1)
FFT3DFilter(Sigma=1.5, dehalo=-0.5, sharpen=0.5)
HDRAGC(coef_gain=1, corrector=0.7, max_sat=1.7)
dull = last
sharp = dull.LimitedSharpenfaster( ss_x=1.25, ss_y=1.25, strength=150, overshoot=1 )
Soothe( sharp, dull, 25 )
***
i use tfm because, in this case, i get better result than telecide (perhaps i'm not able to give it the right parameters)
i dont decimate, for 2 reasons: a) sometimes the first of the two equal frame looks better, sometimes the second, and i don't know if there is a method to keep always the better of the two frames. b) the destination will be a 25fps pal, so when i have the 18fps video, i should add 7fps.
i will decimate if i had a method to keep always the better of the 2 equal frame and if there is a *great* method to "create" 7fps every 18.
then i do some denoise, hdragc, and then some sharpening. i'm a niubby, please tell me if i made mistake or if you think my script could be better.. i go at 2fps processing speed.. it does'nt matter to me, if the results are better, i will happy even at 0.2fps
here a screen that show the results, before and after:
http://img241.imageshack.us/img241/7938/oldei5.th.jpg (http://img241.imageshack.us/my.php?image=oldei5.jpg)
http://img241.imageshack.us/img241/8333/newpa3.th.jpg (http://img241.imageshack.us/my.php?image=newpa3.jpg)
(this scene has perhaps a little bit higher hdragc coef gain.. i have to use a compromise for other darker scene in the clip)
then i must resize to 720*576 for pal.. i was thinking about iip :) but i have to learn to use it :scared: :)
i can give you other screen/sequence/clip if you want. i hope i don't make a mistake with this post, obviously i will post in specific thread for specific filter-questions.
hello everybody and thanks again!
i was reading this forum for months, first times working on my holidays dv material, doing my first step with the avisynth world. then in last months for a new job with a old 8mm film material.
i learned many things reading the forum, so first i have to thank you all very much.
this was my steps for the 8mm job: project on 30-40cm distant white paper, and record directly to pc with an "old" sony cam s-video connected to pinnacle pctv card, with the record function of dscaler software. i used the "interlaced" mode recording of dscaler because it was the best method of this software and because i was shure that it means "linear 2 field frame based". i was shure to get great results with just a "simply" deinterlacer if i would have a progessive destination.
later i learned about telecined/ivtc question, and i found that my recording is just composed by an irregular pattern of progressive and "combed" frames (i hope i'm right..i'm newbby!).
so, after much testing, here the script i have now:
***
aviSource("clip.avi")
tfm()
# tdecimate(mode=2, rate=18)
crop(48,42,620,496)
converttoyv12()
fields=last
backward_vec2 = fields.MVAnalyse(isb = true, delta = 2, pel = 2, overlap=4, idx = 1)
backward_vec1 = fields.MVAnalyse(isb = true, delta = 1, pel = 2, overlap=4, idx = 1)
forward_vec1 = fields.MVAnalyse(isb = false, delta = 1, pel = 2, overlap=4, idx = 1)
forward_vec2 = fields.MVAnalyse(isb = false, delta = 2, pel = 2, overlap=4, idx = 1)
fields.MVDegrain2(backward_vec1,forward_vec1,backward_vec2,forward_vec2,thSAD=230,idx=1)
FFT3DFilter(Sigma=1.5, dehalo=-0.5, sharpen=0.5)
HDRAGC(coef_gain=1, corrector=0.7, max_sat=1.7)
dull = last
sharp = dull.LimitedSharpenfaster( ss_x=1.25, ss_y=1.25, strength=150, overshoot=1 )
Soothe( sharp, dull, 25 )
***
i use tfm because, in this case, i get better result than telecide (perhaps i'm not able to give it the right parameters)
i dont decimate, for 2 reasons: a) sometimes the first of the two equal frame looks better, sometimes the second, and i don't know if there is a method to keep always the better of the two frames. b) the destination will be a 25fps pal, so when i have the 18fps video, i should add 7fps.
i will decimate if i had a method to keep always the better of the 2 equal frame and if there is a *great* method to "create" 7fps every 18.
then i do some denoise, hdragc, and then some sharpening. i'm a niubby, please tell me if i made mistake or if you think my script could be better.. i go at 2fps processing speed.. it does'nt matter to me, if the results are better, i will happy even at 0.2fps
here a screen that show the results, before and after:
http://img241.imageshack.us/img241/7938/oldei5.th.jpg (http://img241.imageshack.us/my.php?image=oldei5.jpg)
http://img241.imageshack.us/img241/8333/newpa3.th.jpg (http://img241.imageshack.us/my.php?image=newpa3.jpg)
(this scene has perhaps a little bit higher hdragc coef gain.. i have to use a compromise for other darker scene in the clip)
then i must resize to 720*576 for pal.. i was thinking about iip :) but i have to learn to use it :scared: :)
i can give you other screen/sequence/clip if you want. i hope i don't make a mistake with this post, obviously i will post in specific thread for specific filter-questions.
hello everybody and thanks again!