Selur's Little Message Board
Yadifmod2 plugin is not loaded with UltraFast QTGMC preset - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: Yadifmod2 plugin is not loaded with UltraFast QTGMC preset (/thread-3806.html)



Yadifmod2 plugin is not loaded with UltraFast QTGMC preset - JamesJohnston - 07.08.2024

The Yadifmod2 plugin is required by QTGMC when using the UltraFast preset for QTGMC.  However, Hybrid neglects to load that plugin, and thus QTGMC fails.

Avisynth preview error: -> Script error: There is no function named 'Yadifmod2'. (C:\Program Files\Hybrid\32bit\avisynthPlugins\QTGMC.avsi, line 1072) (C:\Program Files\Hybrid\32bit\avisynthPlugins\QTGMC.avsi, line 847) (C:\Users\JohnstonJ\AppData\Local\Temp\tempPreviewAvisynthFile01_03_03_497_tmp.avs, line 30)

QTGMC documents this as an optional plugin when the UltraFast preset is used: http://avisynth.nl/index.php/QTGMC

To reproduce, just try using QTGMC with a top-level preset of Custom (the box on the left), and then pick the Ultra Fast preset from the drop-down on the right.
  • Hybrid version 2024.06.16.1
  • Windows 10 22H2 64-bit



RE: Yadifmod2 plugin is not loaded with UltraFast QTGMC preset - Selur - 07.08.2024

No debug output,... Angry
Another one that did not care to read the sticky.

=> will look into it.

Cu Selur


RE: Yadifmod2 plugin is not loaded with UltraFast QTGMC preset - Selur - 07.08.2024

Loading an interlaced source, (making sure 32bit Avisynth is used), switching QTGMC preset to 'Ultra Fast' looking at the Avisynth script, I see:
ClearAutoloadDirs()
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
LoadPlugin("F:\Hybrid\32bit\avisynthPlugins\DGDecode.dll")
LoadPlugin("F:\Hybrid\32bit\avisynthPlugins\yadifmod2.dll")
LoadPlugin("F:\Hybrid\32bit\avisynthPlugins\mvtools2.dll")
LoadPlugin("F:\Hybrid\32bit\avisynthPlugins\masktools2.dll")
LoadPlugin("F:\Hybrid\32bit\avisynthPlugins\RgTools.dll")
Import("F:\Hybrid\32bit\avisynthPlugins\mtmodes.avsi")
Import("F:\Hybrid\32bit\avisynthPlugins\Zs_RF_Shared.avsi")
Import("F:\Hybrid\32bit\avisynthPlugins\QTGMC.avsi")
# loading source: G:\TestClips&Co\files\interlaceAndTelecineSamples\interlaced\bff.m2v
# color sampling YV12@8, matrix: bt601, scantyp: bottom field first, luminance scale: limited
MPEG2Source(d2v="J:\tmp\m2v_478bc6d007ec94bfc67367d30d9093a4_853323747.d2v",fieldop=0)
# current resolution: 720x480
# deinterlacing
AssumeBFF()
QTGMC(Preset="Ultra Fast", ediThreads=2)
SelectEven()
# Converting from 8 to 10bit for encoder
ConvertBits(10)
# setting output fps to 29.970fps
AssumeFPS(30000,1001)
PreFetch(16)
#  output: color sampling YV12@10, matrix: bt601, scantyp: progressive, luminance scale: limited
return last
.....

Ah, okay if I switch to Preset 'Custom' and then set 'Preset' to 'Ultra Fast' I get:
ClearAutoloadDirs()
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
LoadPlugin("F:\Hybrid\32bit\avisynthPlugins\DGDecode.dll")
LoadPlugin("F:\Hybrid\32bit\avisynthPlugins\nnedi3.dll")
LoadPlugin("F:\Hybrid\32bit\avisynthPlugins\mvtools2.dll")
LoadPlugin("F:\Hybrid\32bit\avisynthPlugins\masktools2.dll")
LoadPlugin("F:\Hybrid\32bit\avisynthPlugins\RgTools.dll")
Import("F:\Hybrid\32bit\avisynthPlugins\mtmodes.avsi")
Import("F:\Hybrid\32bit\avisynthPlugins\Zs_RF_Shared.avsi")
Import("F:\Hybrid\32bit\avisynthPlugins\QTGMC.avsi")
# loading source: G:\TestClips&Co\files\interlaceAndTelecineSamples\interlaced\bff.m2v
# color sampling YV12@8, matrix: bt601, scantyp: bottom field first, luminance scale: limited
MPEG2Source(d2v="J:\tmp\m2v_478bc6d007ec94bfc67367d30d9093a4_853323747.d2v",fieldop=0)
# current resolution: 720x480
# deinterlacing
AssumeBFF()
QTGMC(Preset="Ultra Fast", InputType=0, TR2=0, SourceMatch=0, Lossless=0, ediThreads=2)
SelectEven()
# Converting from 8 to 10bit for encoder
ConvertBits(10)
# setting output fps to 29.970fps
AssumeFPS(30000,1001)
PreFetch(16)
#  output: color sampling YV12@10, matrix: bt601, scantyp: progressive, luminance scale: limited
return last

=> Will fix.

Cu Selur


RE: Yadifmod2 plugin is not loaded with UltraFast QTGMC preset - Selur - 07.08.2024

Uploaded a new dev version into the experimental folder of my GoogleDrive, which should fix the problem.

Cu Selur