This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[BUG] Avisynth TemporalDergrain 2 FFT3DFilter&FFT3DGPU Crash
#11
Quote:preview window sometimes with 2-3 filters does
sometimes with some unknown filter,... details? Tongue
If you can reproduce it, let me know and I can look into it.
Keep in mind that TemporalDegrain(2) were designed for SD content, so if you use HD content or above with the default setting or even more demanding settings than the default it can take quite a while of the filter to update,...

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#12
The example you asked...
Reply
#13
The debug output shows that:
ClearAutoloadDirs()
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
LoadPlugin("C:\Programs Custom\Hybrid_dev_2024.04.10\64bit\Avisynth\avisynthPlugins\LoadDll.dll")
LoadDLL("C:\Programs Custom\Hybrid_dev_2024.04.10\64bit\Avisynth\avisynthPlugins\d3d9.dll")
LoadDLL("C:\Programs Custom\Hybrid_dev_2024.04.10\64bit\Avisynth\avisynthPlugins\libfftw3f-3.dll")
LoadPlugin("C:\Programs Custom\Hybrid_dev_2024.04.10\64bit\Avisynth\avisynthPlugins\LSMASHSource.dll")
LoadPlugin("C:\Programs Custom\Hybrid_dev_2024.04.10\64bit\Avisynth\avisynthPlugins\RgTools.dll")
LoadPlugin("C:\Programs Custom\Hybrid_dev_2024.04.10\64bit\Avisynth\avisynthPlugins\masktools2.dll")
LoadPlugin("C:\Programs Custom\Hybrid_dev_2024.04.10\64bit\Avisynth\avisynthPlugins\mvtools2.dll")
LoadPlugin("C:\Programs Custom\Hybrid_dev_2024.04.10\64bit\Avisynth\avisynthPlugins\nnedi3.dll")
LoadPlugin("C:\Programs Custom\Hybrid_dev_2024.04.10\64bit\Avisynth\plugins64+\ConvertStacked.dll")
LoadPlugin("C:\Programs Custom\Hybrid_dev_2024.04.10\64bit\Avisynth\avisynthPlugins\hqdn3d.dll")
LoadPlugin("C:\Programs Custom\Hybrid_dev_2024.04.10\64bit\Avisynth\avisynthPlugins\neo-fft3d.dll")
LoadPlugin("C:\Programs Custom\Hybrid_dev_2024.04.10\64bit\Avisynth\avisynthPlugins\FFT3dGPU.dll")
LoadPlugin("C:\Programs Custom\Hybrid_dev_2024.04.10\64bit\Avisynth\avisynthPlugins\dither.dll")
LoadPlugin("C:\Programs Custom\Hybrid_dev_2024.04.10\64bit\Avisynth\avisynthPlugins\KNLMeansCL.dll")
LoadPlugin("C:\Programs Custom\Hybrid_dev_2024.04.10\64bit\Avisynth\avisynthPlugins\neo-dfttest.dll")
Import("C:\Programs Custom\Hybrid_dev_2024.04.10\64bit\Avisynth\avisynthPlugins\mtmodes.avsi")
Import("C:\Programs Custom\Hybrid_dev_2024.04.10\64bit\Avisynth\avisynthPlugins\QTGMC.avsi")
Import("C:\Programs Custom\Hybrid_dev_2024.04.10\64bit\Avisynth\avisynthPlugins\Zs_RF_Shared.avsi")
Import("C:\Programs Custom\Hybrid_dev_2024.04.10\64bit\Avisynth\avisynthPlugins\dither.avsi")
Import("C:\Programs Custom\Hybrid_dev_2024.04.10\64bit\Avisynth\avisynthPlugins\TemporalDegrain2.avsi")
# loading source: D:\6.0 VR\Test3\Test_VD[S.D S.B NV D.Ag 100%][uncompresed YUV422].avi
# color sampling YUY2@8, matrix: bt601, scantyp: bottom field first, luminance scale: limited
LWLibavVideoSource("D:\6.0 VR\Test3\Test_VD[S.D S.B NV D.Ag 100%][uncompresed YUV422].avi",cache=false,dr=true,format="YUV422P8", prefer_hw=0)
# current resolution: 640x480
# deinterlacing
AssumeTFF()
QTGMC(Preset="Slow", ediThreads=2)
SelectEven()
# cropping
Crop(6,2,-6,-8)# 628x470
ConvertToYV12(interlaced=false)
TemporalDegrain2(limitFFT=2,postFFT=2,postTR=3,postSigma=2)
# scaling to 720x540
Spline36Resize(720,540)
# Converting from 8 to 10bit for encoder
ConvertBits(10)
# adjust color to YV16 (color matrix: Rec601)
ConvertToYUV422()
# 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
was used and encoding ran fine:
frame=  136 fps=6.9 q=-0.0 size=   14080KiB time=00:00:04.53 bitrate=25418.0kbits/s speed=0.232x

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#14
Yes but the preview window didn't appear...
As I mentioned in an earlier post...
"The frames are synchronized now Smile but the preview window sometimes with 2-3 filters does not open, while in the Jobs queue the encoding takes place normally... "
Reply
#15
Okay, then the debug output should an example there that happens and not an example where you encode something.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#16
A few tests the encoding is done with shutter encoder. None of them showed a preview window
Reply
#17
Accoding to the debug output, the avsViewer is newer started.
(there's no 'startPreview call: ...')
Can't reproduce this here so far.

Can you write a exact step-by-step of what you are doing?

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#18
(Tests 4 & 5 & 6) Avisynth-->QTGMC slow & Despot & SpotRemover & TemporalDegrain 2 FFT3DGPU (previous current next frame 3D, Limit FFT: GPU, P.Sigma 3)

Ok finally after about 2 minutes it did open the preview ... Is this time normal for a 100minute footage?  
Can I Increase the performance? add more threads ? It barely use the cpu and I have 16 cores 32 treads...
Reply
#19
a. Avisynth isn't as good as Vapoursynth in regard of threading
b. TemporalDegrain and TemporalDegrain2 are not fast to begin with especially on higher resolutions (+ your settings and Despor&SpotRemover)
c. 'QTGMC(Preset="Slow", ediThreads=2)' is slow,...
d. jumping inside uncompressed YUV is slow too
=> what did you expect Huh
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)