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 6th January 2012, 11:02   #1  |  Link
Gerry62
TV Guy
 
Join Date: Jun 2011
Posts: 46
16mm 'Home' Telecine job and its woes. HELP!

Ok,
I want to simply get this file to stop its merry dance of alternitive fields merging,
What I tried,
Well I tried to simply de-interlace and of course every 4 or 5 frames two frames would be merged, ok I thought, lets try the other field, Its the same BUT at difrent spots, question is.. Is there a way to deinterlace said file 'missing' the merged feilds?

Or is that just impossible

Here's a sample in DV (how it was Telecined)

http://www.megaupload.com/?d=O9ZJD3MP

forgive me if this is a dopey question, but NTSC is not my feild, Pal transfers are usualy quite simple to sort!

I supose another question would be is how to get it back to 24p after deinterlaceing? I don't atually know (never played much with NTSC)

But would very much like to know how to fix the filed/frame merging prob, I could go and do it manually but that would take bloody years.

Last edited by Gerry62; 6th January 2012 at 11:07.
Gerry62 is offline   Reply With Quote
Old 6th January 2012, 15:01   #2  |  Link
2Bdecided
Registered User
 
Join Date: Dec 2002
Location: UK
Posts: 1,673
Some clever person is going to give you a script to do a wonderful restoration on that. It's certainly possible.

Some smart person is going to point to the same cartoon, in pristine form, on YouTube and/or DVD and save you the trouble

Cheers,
David.
2Bdecided is offline   Reply With Quote
Old 6th January 2012, 15:47   #3  |  Link
librarian
Registered User
 
Join Date: Nov 2011
Posts: 63
A quick try:
Code:
LoadPlugin("Your_Path_here\mt_masktools-25.dll")
LoadPlugin("Your_Path_here\average.dll")
LoadPlugin("Your_Path_here\Removegrains.dll")
LoadPlugin("Your_Path_here\RepairS.dll")
LoadPlugin("Your_Path_here\RemovedirtS.dll")
LoadPlugin("Your_Path_here\Tivtc.dll")
LoadPlugin("Your_Path_here\Yadifmod.dll")
LoadPlugin("Your_Path_here\nnedi3.dll")
LoadPlugin("Your_Path_here\Tisophote.dll")
LoadPlugin("Your_Path_here\FFt3dfilter.dll")
Import(""Your_Path_here\srestore.avsi")

FFmpegsource("Felix Interlaced.avi")

Yadifmod(mode=1,edeint=nnedi3(field=2))

Srestore(frate=24)

############now your clips is 24 fps without fieldblending, as requested. If you want to denoise it, you can apply this: ############
Greyscale().converttoyv12()

tweak(bright=8,cont=1.1)

Tisophote()

grain=mt_makediff(removegrain(17,0))# save a bit of original grain

Removedirt()#_grey=true give me a few random green screens

fft3dfilter(sigma=1,sigma4=6)

mt_adddiff(grain)# recover original grain 



function RemoveDirt(clip input, bool "_grey", int "repmode") 
{
    _grey=default(_grey, false)
	repmode=default(repmode, 16)
	clmode=17
	clensed=Clense(input, grey=_grey, cache=4)
	sbegin = ForwardClense(input, grey=_grey, cache=-1)
	send = BackwardClense(input, grey=_grey, cache=-1)
	alt=Repair(SCSelect(input, sbegin, send, clensed, debug=true), input, mode=repmode, modeU = _grey ? -1 : repmode ) 
	restore=Repair(clensed, input, mode=repmode, modeU = _grey ? -1 : repmode)
	corrected=RestoreMotionBlocks(clensed, restore, neighbour=input, alternative=alt, gmthreshold=70, dist=1, dmode=2, debug=false,\
 	noise=10, noisy=12, grey=_grey)
	return RemoveGrain(corrected, mode=clmode, modeU = _grey ? -1 : clmode )
}

Last edited by librarian; 6th January 2012 at 16:05.
librarian is offline   Reply With Quote
Old 6th January 2012, 16:10   #4  |  Link
Gerry62
TV Guy
 
Join Date: Jun 2011
Posts: 46
Quote:
Originally Posted by 2Bdecided View Post
Some clever person is going to give you a script to do a wonderful restoration on that. It's certainly possible.

Some smart person is going to point to the same cartoon, in pristine form, on YouTube and/or DVD and save you the trouble

Cheers,
David.
Aha, Yes but that won't be half as fun as cleaning it myself!
I LOVE to clean stuff, but hate crap like this with weird telecine jobs!
Thats all im looking for here, is help with the first step, how to eradicate the wierd field blends, the Restoration is all sorted and Id prefer no help along those lines whatsoever!

Last edited by Gerry62; 6th January 2012 at 16:16.
Gerry62 is offline   Reply With Quote
Old 6th January 2012, 19:17   #5  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
@Gerry62

Please do not delete threads after others have answered. Thank you.
Guest is offline   Reply With Quote
Old 7th January 2012, 02:56   #6  |  Link
Gerry62
TV Guy
 
Join Date: Jun 2011
Posts: 46
Quote:
Originally Posted by neuron2 View Post
@Gerry62

Please do not delete threads after others have answered. Thank you.
Apologies, I diddnt want to waste anyone's time, Sorry for my stupidness!

Last edited by Gerry62; 7th January 2012 at 05:03.
Gerry62 is offline   Reply With Quote
Old 7th January 2012, 03:04   #7  |  Link
Gerry62
TV Guy
 
Join Date: Jun 2011
Posts: 46
Thanks librarian that first part before the fixing stage works brilliantly, Exactly what I needed, Thanks heaps!
Interesting too see your method of cleaning too, although I don't use scripts to do any of the cleaning work I can see how yours works, and in fact is the first time ive seen fft3dfilter in action so thanks for that.

Bet yeah, much better prints of this particular short exist and no doubt are on Youtube (abet in crappy bitrate), That's not the point in cleaning this, I usually work with one of a kind UK TV, so stuffing about with this print even though its completely 'superseded' It lets me practice on stuff. Plus as I said before I get plesure out of cleaning stuff! No matter if a thousand better dupe prints exist Ill learn a thing or two in the process!

Can anyone help me understand how the following line works?
Yadifmod(mode=1,edeint=nnedi3(field=2))

Its great to be able to fix the issue and my friend has sevral films in the same state, But id like to know how this atually works, I'm not mearly content with fixing the issue but learning the why and how as well, sorry for being a pain!

Last edited by Gerry62; 7th January 2012 at 03:15.
Gerry62 is offline   Reply With Quote
Old 7th January 2012, 12:17   #8  |  Link
librarian
Registered User
 
Join Date: Nov 2011
Posts: 63
You are welcome.
Yadifmod(mode=1, edeint=nnedi3(field=2)) is a smart bobber (wich use spatial interpolation given by nnedi3).
The hard work (deblendig) is done by Srestore.
As to the cleaning part of the script: sorry for the OT.

Last edited by librarian; 7th January 2012 at 12:19.
librarian is offline   Reply With Quote
Old 7th January 2012, 12:56   #9  |  Link
Gerry62
TV Guy
 
Join Date: Jun 2011
Posts: 46
Quote:
Originally Posted by librarian View Post
As to the cleaning part of the script: sorry for the OT.
No thanks for it anyway! Interesting to see what Syth will do cleaning wise, Its not my cup of tea personally as I clean dirt and crud by hand, yeah, sounds insane but its like meditation for me.
Ive never found a dirt remedy that will just target the dirt and not start to 'clean away' detail and movement, once it starts doing that its usuless in my book, but then again it's all down to your sourse, the one I have here is a shocker, looks like it was transferd on a Telecine with a 60YO Vidcon tube passed though a lowband video stage, so not the ideal of sources to even consider doing any 'real' work on but it passes the time!

Ill read all the 'manuals' on the functions soon! Im amazed that a dll will figure out the duff field and use the other, knocks me out!. Pity it had to be deinterlaced chucking out half the rez but by god im still impressed. double wow. I have a few really shocking projects ive been wanting to work on that have simular isuues (sometimes much much worse) Ill see about running it though em!
Gerry62 is offline   Reply With Quote
Reply

Tags
16mm, interlace, telecine

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


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