Log in

View Full Version : Hybrid (mostly film) - MeGui did good, but still jerky


TheArkive
24th July 2008, 05:06
Sorry but I'm not sure where exactly to post this. My guess would be in the AviSynth forum, but I have no direct knowledge of how to use it without a GUI.

The film in question is "Todd McFarlane's SPAWN", the DVD release of the animated TV series (3 DVD-5's, front and back - rather short for a TV Series). Now ... dealing with an interlaced flick, I'm stumped.

I'm in the process of trial and error as we speak, though I'm hoping someone can give me a more solid answer so I can say "I know what I'm doing".

Basically after MeGui does the auto-detection, it comes up with "Hybrid - Mostly Film", and the deinterlace method is "TIVTC". Back when I used AutoGK, using CTRL + F9 allowed me to "Force IVTC when detected as Hybrid", and that usually worked for all the interlaced films that I came across. But I've never head of TIVTC (and MeGui doesn't have much explanation of the options on that window - the AviSynth Script Creator).

So far, after letting MeGui do the auto-detect stuff, the resulting video is defenantly jerky, and I still see "left-overs" of the interlacing (not sure how to term that one). I also tried manually setting the type to "Progressive" just to see what happened, and except for the typical lines in an interlaced flick, the smooth motion was back, and I didn't always see the lines too.

I played the M2V file in MPC, and went one frame at a time, and there are certainly some chunks of video that have no interlacing (must be why it is hybrid eh?). Seems like i see 2 frames pasted over each other (that is interlacing?) only when the motion on the screen is faster. Slower moving scenes don't have "over pasting", but the slower scenes do seem to have duplicate frames .... and the over pasting is mostly lines, not the full frame.

So my main question boils down to 2 unrelated parts:

1 - Is there a really good tutorial (or group of tutorials) to explain the different kinds of methods used to TC a flick + other tutorials to explain how to use AviSynth? (Part of this is to also hopefully further understand the options in MeGui so I can select better methods.)

2 - Is there even a way to do this with MeGui, or is it sounding more like I should dive in to AviSynth and check out VFR?

====================================

I know MeGui is a GUI, and the automatic functions are still prone to error. Because of that I'm ready to read on... if someone could point me in the right direction (pretty please?).

czerro
27th July 2008, 06:19
TIVTC is tritical's IVTC plugin for Avisynth. Very good for most sources, although animated sources are usually headaches. The quickest solution that works for me when sources can't seem to be IVTC'ed is .MVBob().MRestore().

Unfortunately, I don't think there is an easier way to do this. There is probably a much better way, but this will certainly require the least scripting. Avisynth is versatile and generally easy. At a basic usage, consisting of nothing more than performing function calls. Here is a quick by-the-numbers outline of how to get a working MVBob/MRestore process:

You will need...

MVBob (http://home.arcor.de/scharfis_brain/mvob/mvbob.rar)
MRestore (http://forum.gleitz.info/attachment.php?attachmentid=92952&d=1214942467)
- MRestore Development Thread Located Here (http://forum.doom9.org/showthread.php?t=95924)

You will also need these plugins in the MRestore directory:
- TIVTC (http://bengal.missouri.edu/~kes25c/TIVTCv105.zip)
- MaskTools v2 (http://manao4.free.fr/masktools-v2.0a35.zip)

Create directories for the scripts and place the required plugins inside the MRestore directory:

Program Files\AviSynth 2.5\plugins\mvbob
- mvbob.avs

Program Files\Avisynth 2.5\plugins\mrestore
- mrestore.avs and associated scripts in package
- TIVTC plugin
- Masktools v2 plugin

Create the Script:

#Avisynth Script For Bobbing and Decimating to 25 fps

Import("mvbob\mvbob.avs")
Import("mrestore\mrestore.avs")

#May or may not need to manually load the plugins.
#If you receive a script error uncomment the next 2 lines:
#LoadPlugin("mrestore\TIVTC.dll")
#LoadPlugin("mrestore\mt_masktools-26.dll")

Mpeg2Source("source.d2v", info=3)
#Replace source.d2v with your source filename
Colormatrix(hints=true)
MVBob() #Best Method, Very Accurate, Very Slow
MRestore()
#End Script

Depending on the results/speed you want you can replace the MVBob() call for something as simple as Bob() or LeakKernelBob()

czerro
27th July 2008, 06:45
It is of course possible there is some sort of field order problem, or the pulldown flags weren't retained in the process of taking the source to m2v, or a million other things, and the source might still be IVTC'ed correctly which would be faster, and look better.

The solution above is kinda slow and really only appropriate as a last measure on a truly hybrid and or hard/double hard interlaced source.

czerro
27th July 2008, 07:05
Last reply to myself, Promise!

Depending on the source, something like:

MVBob().SelectEven().TDecimate()

Will be twice as fast, decimate you to a more desirable 23.976 fps.