Log in

View Full Version : MergeLuma: Images must have same width and height!


sixthofmay
11th November 2020, 01:58
Surely someone has seen this error:
Avisynth open failure:
MergeLuma: Images must have same width and height! (QTGMC-3,32.avsi, line 394)

And here's line 394 in QTGMC:
spatialBlur = (IsClip(spatialBlur) && SrchClipPP > 1) ? (ChromaMotion ? spatialBlur.Merge( repair0, 0.1 ) : spatialBlur.MergeLuma( repair0, 0.1 )) : spatialBlur

I noticed the oddity in the DGIndexNV status window when creating the 'thkd.dgi' file
Coded Size: 1920x1088
Display Size: 1920x1080
IIRC, those are usually the same dimensions, not different.

So far QTGMC-3.32.avsi has worked fine. Today I tried to open a 1080i 25fps video (PAL?). I'm using AVISynth v2.6. In my 01.avs file (opened with Virtualdub2 b44282), I have:
DGSource("thkd.dgi", deinterlace=0)
AssumeTFF()
QTGMC( Preset="Slow", NoisePreset="Slow" )
SelectEven()

kedautinh12
11th November 2020, 05:14
Surely someone has seen this error:
Avisynth open failure:
MergeLuma: Images must have same width and height! (QTGMC-3,32.avsi, line 394)

And here's line 394 in QTGMC:
spatialBlur = (IsClip(spatialBlur) && SrchClipPP > 1) ? (ChromaMotion ? spatialBlur.Merge( repair0, 0.1 ) : spatialBlur.MergeLuma( repair0, 0.1 )) : spatialBlur

I noticed the oddity in the DGIndexNV status window when creating the 'thkd.dgi' file
Coded Size: 1920x1088
Display Size: 1920x1080
IIRC, those are usually the same dimensions, not different.

So far QTGMC-3.32.avsi has worked fine. Today I tried to open a 1080i 25fps video (PAL?). I'm using AVISynth v2.6. In my 01.avs file (opened with Virtualdub2 b44282), I have:
DGSource("thkd.dgi", deinterlace=0)
AssumeTFF()
QTGMC( Preset="Slow", NoisePreset="Slow" )
SelectEven()

Please update new ver of QTGMC
https://github.com/realfinder/AVS-Stuff/raw/Community/avs%202.6%20and%20up/QTGMC.avsi

sixthofmay
14th November 2020, 09:37
Wow! What an ordeal to update QTGMC! Why are there so many different versions of the same file? Don't answer...rhetorical question... Thank you. The latest version fixed the issue.

Something that should be done periodically (as was done in 2012 with the release of the first version of QTGMC) is to create a working collection of all the plugins needed for QTGMC to operate.

I have done so. Tested and working properly on Windows XP Pro 32bit SP3, Windows 7 Pro 64bit SP1, and Windows 10 Pro 64bit. Using Avisynth v2.6 32bit.

I scanned all the files with MS Security Essentials using the latest definition.

Download here:
QTGMC_v3.368s_32bit 2020-12-16.7z
https://mega.nz/file/hhUhDARa#wcD-_1wiBSIWX4WCBTtpzSr6pgBaVXt0KXtUivVDwhU