Log in

View Full Version : Opening HDV files (.m2t) in Avisynth ?


the_tourist
14th December 2015, 23:04
Hi, I am looking for quite some time, without success, for a explanatory text on how to get to open my HDV files (.m2t) in Avisynth for deinterlacing by QTGMC through VirtualDub. I already know how to use QTGMC with DV files, but Avisynth refuses my HDV.

My reading leads me to believe that I would have to use "DGDecode / MPEG2Source" or "FFmpegSource (ffms2)" to open my HDV, but I find no clear guidance on how to install and use them to open the HDV files.

As I am not a developer, my knowledge and understanding of the script system is very limited ... I need to be guided here.

Thank you in advance for any help.

ajk
15th December 2015, 11:47
Download and unpack FFMS: https://github.com/FFMS/ffms2/releases/download/2.22/ffms2-2.22-msvc.7z

Then copy the three files (ffms2.dll, ffms2.lib, ffmsindex.exe) from within the x86 or x64 directory (according to the AviSynth version you are using) to the plugins directory of AviSynth.

Once in place, use in your script:

FFMpegSource2("my-video.m2t")

QTGMC() # or whatever processing you wish to have

the_tourist
15th December 2015, 23:11
Thank you very much, it works very well !

Do you know if there would be a speed boost to get if I rather used DGDecNV to access my HDV files (.m2t) in Avisynth, or if anyway, the slow process of QTGMC would mask any speed gain that could provide the GPU ?

MysteryX
15th December 2015, 23:16
What's working the best for me to open videos is LWLibavVideoSource (http://avisynth.nl/index.php/LSMASHSource)

ajk
16th December 2015, 06:35
Do you know if there would be a speed boost to get if I rather used DGDecNV to access my HDV files (.m2t) in Avisynth, or if anyway, the slow process of QTGMC would mask any speed gain that could provide the GPU ?

I have used both DGDecNV and FFMS2 and haven't noticed any major difference between them. As you say, QTGMC() is heavy processing and will pretty much determine the speed anyway.