Posts: 137
Threads: 15
Joined: Oct 2020
1. Avisynth:
TIVTC with QTGMC de-interlacer crashes, throwing an error: " p, li { white-space: pre-wrap; }
Avisynth preview error: -> Evaluate: Unhandled C++ exception! (D:\Hybrid_test\tempPreviewAvisynthFile14_47_44_974.avs, line 33)
2. Vapoursynth: No one TIVTC de-interlacer has an effect
Posts: 10.981
Threads: 57
Joined: May 2017
I'll send you a link to my current dev version, since I think I fixed that already there.
Cu Selur
Posts: 137
Threads: 15
Joined: Oct 2020
(10.01.2021, 09:00)Selur Wrote: I'll send you a link to my current dev version, since I think I fixed that already there.
Cu Selur
Avisynth: " p, li { white-space: pre-wrap; }
Avisynth preview error: -> Script error: There is no function named 'LoadDLL'. (, line 3)
Vapoursynth: still has no effect regardless of specified de-interlacer
Posts: 10.981
Threads: 57
Joined: May 2017
10.01.2021, 18:53
(This post was last modified: 10.01.2021, 19:12 by Selur.)
I'll look into it.
-> found the issues, will send you a link to a dev version in a few minutes.
Cu Selur
Posts: 137
Threads: 15
Joined: Oct 2020
(10.01.2021, 18:53)Selur Wrote: I'll look into it.
-> found the issues, will send you a link to a dev version in a few minutes.
Cu Selur Hybrid_dev_2021.01.10-181157
Avisynth: Still "Avisynth preview error: -> Evaluate: Unhandled C++ exception! (D:\Hybrid_test\tempPreviewAvisynthFile09_42_48_913.avs, line 33)
Vapoursynth: Still no de-interlace effect
Posts: 10.981
Threads: 57
Joined: May 2017
Avisynth:
-----------------
Strange thing is that the script from the debug output:
ClearAutoloadDirs()
LoadCPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\yadif.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\nnedi3.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\RgTools.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\VerticalCleanerSSE2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\TDeint.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\mvtools2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\masktools2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\FFT3DFilter.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\eedi3.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\EEDI2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\dfttest.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\AddGrainC.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\TIVTC.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\LoadDll.dll")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\Zs_RF_Shared.avsi")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\SMDegrain.avsi")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\QTGMC.avsi")
LoadDLL("C:\Program Files\Hybrid\32bit\avisynthPlugins\libfftw3f-3.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\LSMASHSource.dll")
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
# loading source: D:\Hybrid_test\Gill\hotel.avi
# color sampling RGB24@8, matrix: bt601, scantyp: bottom field first, luminance scale: limited
Source = LWLibavVideoSource("D:\HYBRID~1\Gill\hotel.avi",cache=false,format="RGB24", prefer_hw=0)
# current resolution: 720x480
# deinterlacing
SourceFiltered = Source
Source = Source.ConvertToYV24(interlaced=true, matrix="Rec601")
Source = Source.AssumeBFF()
Source = Source.ConvertToYV12(interlaced=true)
Source = Source.QTGMC(Preset="fast", ediThreads=2, FPSDivisor=2, PrevGlobals="Reuse")# added PrevGlobals="Reuse" to handle multiple QTGMC instances
Source = Source.TFM(mChroma=true,clip2 = Source)
Source = Source.TDecimate(cycleR=1,cycle=5,noblend=true,nt=0,blockx=32,blocky=32,chroma=true,denoise=false,ssd=false,display=false)
Source = Source.AssumeFrameBased()
SourceFiltered = SourceFiltered.ConvertToYV24(interlaced=true, matrix="Rec601")
SourceFiltered = SourceFiltered.AssumeBFF()
SourceFiltered = SourceFiltered.ConvertToYV12(interlaced=true)
SourceFiltered = SourceFiltered.QTGMC(Preset="fast", ediThreads=2, FPSDivisor=2, PrevGlobals="Reuse")# added PrevGlobals="Reuse" to handle multiple QTGMC instances
SourceFiltered = SourceFiltered.TFM(mChroma=true,clip2 = SourceFiltered)
SourceFiltered = SourceFiltered.TDecimate(cycleR=1,cycle=5,noblend=true,nt=0,blockx=32,blocky=32,chroma=true,denoise=false,ssd=false,display=false)
SourceFiltered = SourceFiltered.AssumeFrameBased()
# filtering
# stacking horizontal for filter preview
# adjust color to RGB32 (for preview)
SourceFiltered = SourceFiltered.ConvertToRGB32(matrix="Rec601")
# adjust color to RGB32 (for preview)
Source = Source.ConvertToRGB32(matrix="Rec601")
StackHorizontal(Source, SourceFiltered)
PreFetch(2)
# setting output fps to 23.976fps
AssumeFPS(24000,1001)
# output: color sampling RGB32@8, matrix: bt601, scantyp: progressive, luminance scale: limited
return last
works fine here. (In only used one of my sources and adjusted the paths to my setup during testing.)
Script I used:
ClearAutoloadDirs()
LoadCPlugin("i:\Hybrid\32bit\AVISYN~1\yadif.dll")
LoadPlugin("i:\Hybrid\32bit\AVISYN~1\nnedi3.dll")
LoadPlugin("i:\Hybrid\32bit\AVISYN~1\RgTools.dll")
LoadPlugin("i:\Hybrid\32bit\AVISYN~1\VerticalCleanerSSE2.dll")
LoadPlugin("i:\Hybrid\32bit\AVISYN~1\TDeint.dll")
LoadPlugin("i:\Hybrid\32bit\AVISYN~1\mvtools2.dll")
LoadPlugin("i:\Hybrid\32bit\AVISYN~1\masktools2.dll")
LoadPlugin("i:\Hybrid\32bit\AVISYN~1\FFT3DFilter.dll")
LoadPlugin("i:\Hybrid\32bit\AVISYN~1\eedi3.dll")
LoadPlugin("i:\Hybrid\32bit\AVISYN~1\EEDI2.dll")
LoadPlugin("i:\Hybrid\32bit\AVISYN~1\dfttest.dll")
LoadPlugin("i:\Hybrid\32bit\AVISYN~1\AddGrainC.dll")
LoadPlugin("i:\Hybrid\32bit\AVISYN~1\TIVTC.dll")
LoadPlugin("i:\Hybrid\32bit\AVISYN~1\LoadDll.dll")
Import("i:\Hybrid\32bit\avisynthPlugins\Zs_RF_Shared.avsi")
Import("i:\Hybrid\32bit\avisynthPlugins\SMDegrain.avsi")
Import("i:\Hybrid\32bit\avisynthPlugins\QTGMC.avsi")
LoadDLL("i:\Hybrid\32bit\avisynthPlugins\libfftw3f-3.dll")
LoadPlugin("i:\Hybrid\32bit\AVISYN~1\LSMASHSource.dll")
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
# loading source: F:\TestClips&Co\files\interlaceAndTelecineSamples\telecine\Gabby_test_RGB_telecined.avi
# color sampling RGB24@8, matrix: pc601, scantyp: telecine, luminance scale: full
Source = LWLibavVideoSource("F:\TESTCL~1\files\INTERL~1\telecine\GABBY_~1.AVI",cache=false,format="RGB24", prefer_hw=0)
# current resolution: 720x480
# deinterlacing
SourceFiltered = Source
Source = Source.ConvertToYV24(interlaced=true, matrix="Rec601")
Source = Source.AssumeBFF()
Source = Source.ConvertToYV12(interlaced=true)
Source = Source.QTGMC(Preset="fast", ediThreads=2, FPSDivisor=2, PrevGlobals="Reuse")# added PrevGlobals="Reuse" to handle multiple QTGMC instances
Source = Source.TFM(mChroma=true,clip2 = Source)
Source = Source.TDecimate(cycleR=1,cycle=5,noblend=true,nt=0,blockx=32,blocky=32,chroma=true,denoise=false,ssd=false,display=false)
Source = Source.AssumeFrameBased()
SourceFiltered = SourceFiltered.ConvertToYV24(interlaced=true, matrix="Rec601")
SourceFiltered = SourceFiltered.AssumeBFF()
SourceFiltered = SourceFiltered.ConvertToYV12(interlaced=true)
SourceFiltered = SourceFiltered.QTGMC(Preset="fast", ediThreads=2, FPSDivisor=2, PrevGlobals="Reuse")# added PrevGlobals="Reuse" to handle multiple QTGMC instances
SourceFiltered = SourceFiltered.TFM(mChroma=true,clip2 = SourceFiltered)
SourceFiltered = SourceFiltered.TDecimate(cycleR=1,cycle=5,noblend=true,nt=0,blockx=32,blocky=32,chroma=true,denoise=false,ssd=false,display=false)
SourceFiltered = SourceFiltered.AssumeFrameBased()
# filtering
# stacking horizontal for filter preview
# adjust color to RGB32 (for preview)
SourceFiltered = SourceFiltered.ConvertToRGB32(matrix="Rec601")
# adjust color to RGB32 (for preview)
Source = Source.ConvertToRGB32(matrix="Rec601")
StackHorizontal(Source, SourceFiltered)
PreFetch(2)
# setting output fps to 23.976fps
AssumeFPS(24000,1001)
# output: color sampling RGB32@8, matrix: bt601, scantyp: progressive, luminance scale: limited
return last
Side note:
# color sampling RGB24@8, matrix: bt601, scantyp: bottom field first, luminance scale: limited
-> you should enable 'Overwrite input scantype to' and set it to 'telecine'
Vapoursynth:
-----------------
works fine here,... -> need a debug output
Cu Selur
Posts: 10.981
Threads: 57
Joined: May 2017
10.01.2021, 20:27
(This post was last modified: 10.01.2021, 20:33 by Selur.)
Found a small rounding error in the output frame count calculation so far but I can't reproduce the issue here.
Quote:"Avisynth preview error: -> Evaluate: Unhandled C++ exception! (D:\Hybrid_test\tempPreviewAvisynthFile09_42_48_913.avs, line 33)
That is the second TDecimate line.
Hybrid uses the latest version from https://github.com/pinterf/TIVTC/releases.
You could try whether it works for you with an older version,...
What cpu are you using?
Cu Selur
Ps.: Does this only happen with this file or also with others?
Posts: 137
Threads: 15
Joined: Oct 2020
Posts: 10.981
Threads: 57
Joined: May 2017
No clue. Doesn't happen here.
-> Would need the content of your settings folder to try to replicate this here.
Cu Selur
Posts: 137
Threads: 15
Joined: Oct 2020
(10.01.2021, 21:28)serg Wrote: (10.01.2021, 20:27)Selur Wrote: Found a small rounding error in the output frame count calculation so far but I can't reproduce the issue here.
Quote:"Avisynth preview error: -> Evaluate: Unhandled C++ exception! (D:\Hybrid_test\tempPreviewAvisynthFile09_42_48_913.avs, line 33)
That is the second TDecimate line.
Hybrid uses the latest version from https://github.com/pinterf/TIVTC/releases.
You could try whether it works for you with an older version,...
What cpu are you using?
Cu Selur
Ps.: Does this only happen with this file or also with others?
After install Hybrid_dev_2021.01.10-181157 on the first launch it throws an error: If I "Continue" it 3 times GUI is launched. However after changing Default path (input/output/temp) and save config, the every launch crashes application throwing an error "Hybrid Encoder Gui has stopped working".
Hybrid_dev_2021.01.10-2005 the same errors as mentioned before.
(10.01.2021, 21:40)Selur Wrote: No clue. Doesn't happen here.
-> Would need the content of your settings folder to try to replicate this here.
Cu Selur
"settings folder" - ???
|