Posts: 10.553
Threads: 57
Joined: May 2017
Quote:preview window sometimes with 2-3 filters does
sometimes with some unknown filter,... details?
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.
Posts: 23
Threads: 7
Joined: Mar 2024
Posts: 10.553
Threads: 57
Joined: May 2017
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.
Posts: 23
Threads: 7
Joined: Mar 2024
Yes but the preview window didn't appear...
As I mentioned in an earlier post...
"The frames are synchronized now
but the preview window sometimes with 2-3 filters does not open, while in the Jobs queue the encoding takes place normally... "
Posts: 10.553
Threads: 57
Joined: May 2017
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.
Posts: 23
Threads: 7
Joined: Mar 2024
A few tests the encoding is done with shutter encoder. None of them showed a preview window
Posts: 10.553
Threads: 57
Joined: May 2017
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.
Posts: 23
Threads: 7
Joined: Mar 2024
(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...
Posts: 10.553
Threads: 57
Joined: May 2017
17.04.2024, 20:05
(This post was last modified: 17.04.2024, 20:05 by Selur.)
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
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.