digitalFAQ.com Forum

digitalFAQ.com Forum (https://www.digitalfaq.com/forum/)
-   Restore, Filter, Improve Quality (https://www.digitalfaq.com/forum/video-restore/)
-   -   Using KTGMC and KFM? (https://www.digitalfaq.com/forum/video-restore/14981-ktgmc-kfm.html)

thevideotvdude 03-03-2025 12:44 PM

Using KTGMC and KFM?
 
I put together an XP machine so I could finally use my Pinnacle PCI 700 capture interface that i bought new at Circuit City back in the mid-2000's. ----- >Procrastination anyone?

40 - Hi8mm *not DV* Sony cam
S-video out.
Captured at Best settings = DV compression . avi files
27GB files for around 2 hrs of videos.

Then I went down the encoding rabbit hole and ended up here.

After hours and hours and hours I found
Hybrid.exe - x265 - Avisynth - QTGMC - Bob Slow settings looks better than the original and only about 13% of the original file size but the encoding takes FOREVER on my ryzen 5800X3D Rtx 3080 Ti. Appears to be CPU bound.

Then I stumbled across this video: KTGMC and KFM using NVidia CUDA

https://youtu.be/CiNj11Nfi00

After hours with google translate, I installed AVISynth+, NEO, KTGMC & KFM, AviUtl

But after creating a AVS sript and drag/drop into AviUlt, I only have video in the lower 3rd - it's greyscaled, displaying 3 frames side by side, Uspide down, with a bunch of scrambled lines in the top 2 3rds . I'm guessing using the incorrect codec ?

My script is :
Code:

SetMemoryMax(2048, type=DEV_TYPE_CUDA)
srcfile="C:\Hi8 encoding tests\1st.avi"
AviSource(srcfile)
ConvertToYV12()
AssumeTFF()
#KShowStatic(KAnalyzeStatic(30,15), last)
OnCPU(2)

KMergeStatic(KTGMC(Preset="Slower"), last, KAnalyzeStatic(last,30,15))

OnCUDA(2)

I've tried DirectShowSource, FFVideoSource,
Added lines like:
Code:

LoadPlugin("C:\Program Files (x86)\AviSynth+\plugins+\ffms2.dll")
No luck.

But when i drag / drop the video into AviUtl it will play - just not while using the script.

Any ideas? Or know of another way for me to tap into the speed of the GPU using QTGMC ? I've tried Handbrake but the results were no where close to QTGMC's quality.

Appreciate any insights.

Selur 03-03-2025 01:19 PM

side note: QTGMC through Vapoursynth should be faster than the Avisynth version,..

thevideotvdude 03-03-2025 06:29 PM

3 Attachment(s)
Hi Selur Thanks for your suggestion.
I now tried using Vapoursynth and the same results as using Avisynth. CPU at 100% GPU is at 1%.

Are these the correct checked Boxes ?

Selur 03-03-2025 09:02 PM

Enabling gpu decoding doesn't really help if your input is in a format that decoder chips do not support.
You might want to enable OpenCL and with latest dev DFTTest2 to leverage the GPU.


All times are GMT -5. The time now is 08:04 PM

Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.