View Full Version : Could you help me with a deinterlacing script for AVISynth?
jrodefeld
17th September 2014, 15:57
Hello,
I have some captured laserdisc footage that I need to deinterlace. I happen to be pretty much retarded when it comes to writing AVISynth scripts though. I was hoping you all could help me write a simple script to deinterlace at the highest possible quality?
I don't care about speed. I just want the highest possible quality output.
I want the motion to be very smooth. I tried a script which gave me good quality but the motion was quite jerky.
I was thinking of MCbob plus NNEDI or a similar variation. Could you help me write a script? I only care about quality (with decent motion).
I really appreciate the help.
Overdrive80
17th September 2014, 16:02
Without you attach one sample of you untouched material, is impossible give you proper answer.
Tip: If you dont know like using avisynth, you should begin to question on newbies section of forum.
LemMotlow
17th September 2014, 20:36
And chances are pretty high that at least some of those laserdisc sources are telecined movie-based flicks. Shouldn't deinterlace those. Inverse Telecine required.
johnmeyer
17th September 2014, 22:02
I do transfers from laserdiscs all the time. LemMotlow is exactly correct: if the material is a movie, then they are telecined, and you do NOT want to deinterlace, but instead use IVTC software. A simple TFM() followed by TDecimate() is usually all that is required. It is about as simple an AVISynth script as you can possibly get.
jrodefeld
17th September 2014, 22:08
Okay, one of the laserdiscs I captured is Jackie Chan's Drunken Master 2. I've uploaded a very short sample of the opening scene.
Please take a look:
https://www.dropbox.com/s/yut7pw5shm148em/DM2_Scene_Example.avi?dl=0
I've run a script on it to deinterlace it. The quality that I got is pretty good but movement is somewhat jerky. I just copied the script from a forum, it is a rather complicated script and I'm not sure what it is doing exactly.
Could you give me some more information based on the above clip?
I'm not a complete novice at AVIsynth and I am quite competent with Virtualdub and Adobe Premiere. I just am having some issues understanding the various deinterlacing options for AVIsynth.
I'd be really grateful if you could provide a basic script just for properly deinterlacing and/or inverse telecining with the best quality.
Thanks again.
creaothceann
17th September 2014, 23:25
Remember to switch to YV12 mode when using Lagarith with YUV sources...
johnmeyer
18th September 2014, 00:06
Perhaps you did not read the previous posts. I'll say it again: you do not want to deinterlace this video. That is the wrong thing to do. Do not use deinterlacing software. Instead, you want to use Inverse Telecine (IVTC) software to change the video from 29.97 NTSC interlaced video to 23.976 progressive video. You can then edit that, or simply encode it to whatever format you want.
Here is the script that you need to use:# Script to IVTC a movie.
loadPlugin("c:\Program Files\AviSynth 2.5\plugins\TIVTC.dll")
AVISource("E:\fs.avi")
tfm()
tdecimate()
Make sure you run this script on your original capture. Do not run it on any video that results from any previous modifications you may have done with AVISynth or some other program.
Reel.Deel
18th September 2014, 00:18
The video contains dot crawl (only see it in the movie tittle) so before your use inverse telecine you might want to reduce the dot crawl with some of these filters (http://avisynth.nl/index.php/External_filters#Rainbow_.26_Dot_Crawl_Removal) here. Another option is this excellent script by Didée (http://forum.doom9.org/showpost.php?p=1584186&postcount=62) that removes dot crawl and also performs inverse telecine. It's slow but achieves excellent results.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.