PDA

View Full Version : How to STOP avisynth from automatically de-interlacing my .m2t?


rohan
29th May 2007, 19:02
I have .m2t files that I pull off an HDV camcorder. In order to get them into VirtualDub I used to add the median step of converting them in Sony's Vegas (horrible) software to AVI.

Then it occured to me that MPlayerC had no trouble playing the .m2t files directly, and thus avisynth shouldn't either.

I was right - I used a DirectShowSource to open the .m2t files in avisynth. The only problem is that avisynth (or perhaps more correctly - the filters it's employing) are automatically deinterlacing the .m2t.

I want to avoid this. The whole reason I want these HDV files in VirtualDub is to be able to discard field 1, and have a progressive 960 x 540 source to use.

How do I disable this de-interlacing? Do I have to find out what filter / codec is being used by avisynth, and somehow disable it there?

neuron2
29th May 2007, 20:10
I assume that it is MPEG2 video. If not, ignore this. :)

Use MPEG2Source() (part of DGMPGDec) instead of DirectShowSource(). It will give you complete control of the field operation. Read the quick start guide that comes with DGMPGDec to get going.

http://neuron2.net/dgmpgdec/dgmpgdec.html

Blue_MiSfit
30th May 2007, 06:30
Indeed. Do as neuron2 suggests, and index the M2T with DGIndex first, and load it with MPEG2Source into AviSynth.

The whole reason I want these HDV files in VirtualDub is to be able to discard field 1, and have a progressive 960 x 540 source to use.

Why? This is a terrible loss of resolution. But hey, why not, if it's what you want :)

Easy. AssumeTFF().SeparateFields().SelectEven() should do it :)

~MiSfit