I've got an interlaced m2v file in PAL format that I'm trying to de-interlace. I've done some web searching on the topic. This page (http://www.100fps.com/) recommended I use a Virtualdub filter called "Deinterlace - smooth" (http://biphome.spray.se/gunnart/video/). But this filter only works if the interlaced frames are split into separate fields beforehand. (?)
So I looked into how to split the frames. Apparentenly AVIsynth can do it (never used it before). But Virtualdubmod can't import m2v files - but I understand AVIsynth can overcome this problem too? using the mpeg2dec.dll plugin. (http://www.100fps.com/avsproblems.htm)
So then I went looking for more information about the mpeg2dec.dll plugin. I found out it was updated to mpeg2dec3.dll which became mpeg2dec3dg.dll which became DGDecode.dll ... so anyway at this point I'm totally confused and lost.
Assuming the "Deinterlace - smooth" filter in Virtualdubmod is the right way to go, what plugins and script do I use in AVIsynth to split the frames and allow Virtualdubmod to import an m2v file?
Thanks, and I'd be glad to provide any extra information that might help! Audio is not an issue.
+ Reply to Thread
Results 1 to 7 of 7
-
-
VirtualDubMod CAN import .m2v files. Are you sure you're running the MOD version and not plain ol' VirtualDub ?
-
Ack! I thought it couldn't. Sorry, my bad. Thanks, that eliminates one of my "problems"! Now all I need to know is how to split the frames into the two fields beforehand.
-
Hi-
Get the latest DGMPGDec here:
http://neuron2.net/dgmpgdec/dgmpgdec.html
It contains DGIndex and the DGDecode.dll. Open the .m2v in DGIndex, set Video->Field Operation for "Ignore Pulldown Flags", and go File->Save Project File. That'll give you a Movie.d2v. Then make your AviSynth script file like so:
LoadPlugin("C:\Path\To\DGDecode.dll")
MPEG2Source("C:\Path\To\Movie.d2v")
You'll then be able to open that in VDubMod (if you get the paths correct). Read the included DGDecode.html for much more information. To then separate the fields, add:
SeparateFields()
to the bottom of the script. If your original .m2v was 720x576, after separating the fields it'll then be 720x288. If you don't want to separate the fields, use a deinterlacer that doesn't require it, like KernelDeint (from the same site linked above).
And I would make real sure it's really interlaced before deinterlacing, if I were you. With the fields separated, scroll to a place where there's movement and advance a frame at a time. If every field is doubled, it's not interlaced. If every field is different it's interlaced. If the fields were doubled, then remove SeparateFields, save it, open it again in VDubMod, and advance a frame at a time. If you don't see combing, it's not interlaced. If you see combing, it has shifted fields and applying Telecide (from the same site, it's part of Decomb) will straighten it out. To do that,:
LoadPlugin("C:\Path\To\Decomb.dll")
LoadPlugin("C:\Path\To\DGDecode.dll")
MPEG2Source("C:\Path\To\Movie.d2v")
Telecide(Order=1,Post=0, Guide=2) -
manono: Yes! That did it! Thank you! The original m2v is most definitely interlaced.
MrMoody: The end destination is an NTSC m2v file for putting onto a DVD. The current plan is to de-interlace the original file, then use VDub to shrink it down bilinearly to 720x480, change the frame rate to 29.97 and frameserve it into TMPGenc. When I tried to do that leaving the interlacing in place, all I got was a bad case of the image jitters. -
There's two possible reasons for that; one, you can't vertically resize interlaced video without separating fields first or you'll get a combing mess, or two, you possibly had the field order getting reversed which will make an awful-looking motion stutter.
VirtualDubMod is not an Mpeg2 encoder so you'd have to frameserve from it and do more processing to get the right framerate into your encoder.
I've tried every way there is to do this (convert interlaced PAL to NTSC) and the method I recently posted here gives the best and smoothest result. Just change the size to 720x480. You can add a line Bob() at the end and load the AVS into VirtualDubMod to check how it's working. If it motion stutters, change the tff= part. Then take the Bob() out again and load the AVS into your MPEG2 encoder and let it run.
Keep in mind interlaced video never looks right on a computer because the computer display isn't interlaced and will look much better when played on the TV.
Similar Threads
-
AviSynth or GPU based deinterlacing / IVTC
By topsyturvy in forum Video ConversionReplies: 2Last Post: 7th May 2011, 09:07 -
AVISynth : Upsizing & DeInterlacing
By Bonie81 in forum EditingReplies: 14Last Post: 30th Dec 2010, 07:23 -
AviSynth Deinterlacing Help...
By Shizam in forum RestorationReplies: 3Last Post: 19th Aug 2010, 09:58 -
Deinterlacing problems _ AviSynth
By pureimpure in forum Video ConversionReplies: 18Last Post: 15th Sep 2009, 20:25 -
H.264 deinterlacing AVISynth scripts for 29.97fps
By PuzZLeR in forum Video ConversionReplies: 12Last Post: 7th May 2008, 22:36