Hi Friends!
I have a question for the gurus here. I have yet another crappy DVD that I am trying to fix. There is a lot wrong with it, but I thought I would start by deinterlacing it. I am trying to learn the principals behind deinterlacing. I have had movies where I noticed "mice teeth" or "jaggies", and sometimes that was the result of telecined video. If I understand correctly, that problem is not fixed by using a deinterlacer like QTGMC, but rather with TFM() & TDecimate(). I do not think that the video I have here is telecined video. Mice Teeth and Jaggies abound. Here is a clip:
http://files.videohelp.com/u/183506/sins.demuxed.m2v
Would I fix this with the following script?
Mpeg2Source("VTS_01_1.d2v")
AssumeTFF().QTGMC(Preset="placebo")
SRestore()
AssumeFPS(23.976)
Would this deliver the best results or should I be using something entirely different? Also, I was wondering if the mice teeth and jaggies are a result of poor pal to ntsc conversion.
Many thanks for your help again, video masters!!!
best,
h
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 30 of 60
Thread
-
-
what kind of footage is it?
for movie:
TFM(order=1) # for interlaced TFF
vinverse # to remove residual combing / not mandatory
TDecimate() # for cartoons: TDecimate(mode=1)
also possible with qtgmc:
QTGMC( Preset="Slower", SubPel=2, Sourcematch=3, Lossless=2).assumefps(60000,1001)
srestore(24000.0/1001.0)Last edited by themaster1; 18th Apr 2014 at 11:17.
*** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE -
Would I be correct if I said that this was Interlaced footage encoded as progressive?
-
No, it's interlaced footage encoded as interlaced. A number of apps can tell you that. For example, open a VOB in DGIndex and run the Preview (File->Preview) and check the 'Frame Type' in the Information Window. It's the usual PAL2NTSC garbage and the script in your first post will unblend it reasonably well if very slowly.
-
-
Thank you! I ran the preview which said interlaced, but i didn't run it to the end - I never knew you could have a frame be progressive. I figured that when the DVD was encoded that it would stay the same throughout. Thank you for the clarification!
-
One thing I was curious about: After creating my lagarith AVI with the script above, the aspect ratio goes from 4:3 to 3:2. When I use my dvd authoring program, it goes back to 4:3. Why would that happen? Is there any way to keep it at 4:3 or does it not matter?
Thank you! -
AVI doesn't really have a way of specifying the display aspect ratio. The reason your AVI file appears to have a 3:2 DAR is because it has a 3:2 frame aspect ratio -- with no other AR information programs use that.
-
Hi Manono, Jagabo & anyone else that wants to chime in!
What do you think of this for the pal/ntsc fix?
LoadCPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\yadif.dll")
Mpeg2Source("VTS_01_1.d2v")
AssumeTFF().yadif(mode=1, order=1) # bob
vInverse() # clean up a little residual combing
SRestore() # back to 25 fps
AssumeFPS(24000,1001)
QTGMC(InputType=3) # reduce shimmer
Thanks!! -
I wouldn't do that, but if it works for you...
1. Yadif is probably responsible for adding to the shimmer. I'd use a different bobber in this case. There are many from which to choose so you don't have to use QTGMC (which probably prevents it from being used a second time in the same script). Or use QTGMC(Input Type=3) later, in a second script.
2. Almost by definition, after bobbing there can be no combing in those bobbed fields for Vinverse to work on. My guess is the 'combing' is really aliasing or something similar. -
-
Here is another clip from the same film:
http://files.videohelp.com/u/183506/sins%20of%20wutai.demuxed.m2v
There is a lot going wrong here; some shimmering, combing, and even some dot crawl. I hope I have identified these things well. I thought the script I posted in post # 11 was okay, but just okay. Any suggestions would be appreciated.
Thanks, Video Masters!! -
-
He means something like this:
yadifmod(mode=1, order=1, edeint=nnedi3(field=-2))
By the way, you might try using RemoveSpotsMC() to remove a lot of the dust and scratches. And Stab() to get rid of the film bounce:
Code:Mpeg2Source("sins of wutai.demuxed.d2v", CPU2="ooooxx", Info=3) AssumeTFF() ColorYUV(off_y=-12) yadifmod(mode=1, order=1, edeint=nnedi3(field=-2)) vInverse() Stab() Crop(4,96,-16,-92) SRestore() RemoveSpotsMC() QTGMC(InputType=3) # reduce shimmer AssumeFPS(24000,1001)
Last edited by jagabo; 20th Apr 2014 at 06:19.
-
Hi!
How is this?
Mpeg2Source("VTS_01_1.d2v")
yadifmod(mode=1, order=1, edeint=nnedi3(field=-2))
sRestore()
AssumeFPS(24000,1001)
QTGMC(InputType=2)
Do you think it is better than:
Mpeg2Source("VTS_01_1.d2v")
AssumeTFF().QTGMC(Preset="placebo")
SRestore()
AssumeFPS(23.976)
Should I be using vinverse?
I don't know if you have it handy, but I can't find the plugins for removespotsmc.
Thanks again!! -
-
RemovesspotsMC is amazing, but I can't get it to run
I went on a plugin hunt and found all of this stuff:
#LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\removedirt.dll")
#LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\removedirts.dll")
#LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\repair.dll")
#LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\removegrain.dll")
#LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\repairt.dll")
#LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\removegraint.dll")
#LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\mvtools2.dll")
#LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\removedirt.dll")
#LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\fluxsmooth.dll")
#LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\vaguedenoiser.dll")
#LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\deflicker.dll")
#LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\despot.dll")
#LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\mt_masktools-25.dll")
#LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\masktools.dll")
#LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\fft3dfilter.dll")
#LoadVirtualDubPlugin("C:\Program Files (x86)\VirtualDubMOD\plugins\spotremover.vdf", "SpotRemover", 11)
But when i try to run the script, I keep getting: "There is no function named RemovespotsMC"
I am also getting a new message when trying to tun virtualdubmod: The program can't start because avsrecursion.dll is missing. I didn't delete anything, though... This is a complex one for me!!!!! Thanks for any help you folks can offer. -
http://forum.doom9.org/showthread.php?t=166579
"There is no function..." means you don't have the script anywhere AVISynth can find it.
(edit: it should be in the plugins folder with an avsi extension for it to autoload) -
Hi!
I used the removespotsmc that jagabo posted. It's an avs file. Is that no good?
Thanks! -
Only if you import it explicitly...
Import(filename): evals contents of another AviSynth script (imports the text of another script)
I think that's it, I've never done it before.
Either rename the extension to .avsi or import it into the script.Last edited by ndjamena; 20th Apr 2014 at 18:38.
-
AVS functions must be explicitly imported, even if they are in AviSynth's plugins folder:
Code:import("C:\Program Files (x86)\AviSynth 2.5\plugins\RemoveSpotsMC.avs")
If the script is in AviSynth's plugins folder you can rename it "RemoveSpotsMC.avsi" and it should autoload.
RemoveSpotsMC is very fragile. Everything must be set up just right. And often crashes on closing the editor/encoder or on reload (eg, F2 in VirtualDub). Even sometimes while scrubbing through a video. Especially when used in conjunction with other filters that use mvtools (like QTGMC, McTemporalDenoise, etc.).Last edited by jagabo; 20th Apr 2014 at 18:43.
-
-
Hi Jagabo!
I figured how to load remove spots, but it crashes virtualdubmod upon opening. Do you have any suggestions?
Thanks!
h -
Why are you using VirtualdubMOD???? It hasn't been updated in seven years. I'm pretty sure most of its features are included in VirtualDub by now.
Last edited by ndjamena; 20th Apr 2014 at 19:40.
-
Try RemoveSpots() instead of RemoveSpotsMC() -- it's in the same AVS script. That's not as effective but simpler. If that works try going back to the MC version. Remove your QTGMC() call since using the two together sometimes causes crashes. Stab() too. You might have to run the script without RemoveSpotsMC(), save to an intermediate lossless AVI, then run RemoveSpotsMC() on that lossless file. Try VirtualDub instead of VirtualDubMod. Try using SetMemoryMax() to adjust memory usage.