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] Crash when encoding
#14
Just got time for testing Interframe with AviSynth in dev version 2020.06.28.1. Unfortunately, it crashes. Sad

AviSynth script:

ClearAutoloadDirs()
LoadCPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\ffms2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\svpflow1.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\svpflow2.dll")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\InterFrame2.avsi")
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
# loading source: E:\USER\fin\Test\Test.mp4
#  input color sampling YV12@8, matrix:Rec.601, scantyp: progressive
#  input luminance scale tv
FFVideoSource("E:\USER\fin\Test\Test.mp4",colorspace="YV12")
# current resolution: 656x480
InterFrame(NewNum=60000,NewDen=1001,OverrideAlgo=23,Tuning="Weak",Cores=16)
# filtering
PreFetch(4)
return last


Debug file attached!

[attachment=922]

I tried with Vapoursynth, and I seem to have the same symptoms as the original poster. After 100%, the processing continues as the processing speed increases (the fps in the title bar gradually continues to go up) and the file size gradually continues to decrease. I stopped it at 2000%.

Vapoursynth script:

# Imports
import os
import sys
import vapoursynth as vs
core = vs.get_core()
# Import scripts folder
scriptPath = 'C:/Program Files/Hybrid/64bit/vsscripts'
sys.path.append(os.path.abspath(scriptPath))
# Loading Plugins
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/FrameFilter/Interframe/svpflow2_vs64.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/FrameFilter/Interframe/svpflow1_vs64.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
# Import scripts
import havsfunc
# input color space: YUV420P8, bit depth: 8, resolution: 656x480, fps: 25
# Loading E:\USER\fin\Test\Test.mp4 using LibavSMASHSource
clip = core.lsmas.LibavSMASHSource(source="E:/USER/fin/Test/Test.mp4",fpsnum=25)
# making sure input color matrix is set as 470bg
clip = core.resize.Point(clip, matrix_in_s="470bg",range_s="limited")
# making sure frame rate is set to 25
clip = core.std.AssumeFPS(clip, fpsnum=25, fpsden=1)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# adjusting frame count with Interframe/SVP
clip = havsfunc.InterFrame(clip, Tuning="weak", NewNum=60000, NewDen=1001, OverrideAlgo=23) # new fps: 59.94
# Output
clip.set_output()


Debug file attached!

[attachment=923]

In troubleshooting the AviSynth crash, I found it seems to be related to the versions of svpflow1.dll and svpflow2.dll in the avisynthPlugins directory.

I replaced the versions that Hybrid 2020.06.28.1 installed (same as release version 2020.06.21.1):

CRC32            Size  Name
-------- -------------  ------------
E66573AE        374784  svpflow1.dll
6A7C9596        399360  svpflow2.dll



...with the older versions that were installed with Hybrid 2020.02.19.1:

CRC32            Size  Name
-------- -------------  ------------
0586759C        517632  svpflow1.dll
ABA31676        647680  svpflow2.dll



Now Hybrid works as expected without crashing.

Debug file of successful run with the older svpflow dll's attached!

[attachment=924]
Reply


Messages In This Thread
Crash when encoding - by AndreyRGW - 21.06.2020, 21:24
RE: Crash when encoding - by Selur - 22.06.2020, 15:58
RE: Crash when encoding - by AndreyRGW - 24.06.2020, 19:44
RE: Crash when encoding - by Selur - 24.06.2020, 19:50
RE: Crash when encoding - by The_Tinkerer - 27.06.2020, 18:55
RE: Crash when encoding - by Selur - 27.06.2020, 18:57
RE: Crash when encoding - by The_Tinkerer - 28.06.2020, 00:23
RE: Crash when encoding - by The_Tinkerer - 28.06.2020, 02:50
RE: Crash when encoding - by The_Tinkerer - 28.06.2020, 04:28
RE: Crash when encoding - by Selur - 28.06.2020, 07:19
RE: Crash when encoding - by Selur - 28.06.2020, 07:40
RE: Crash when encoding - by The_Tinkerer - 28.06.2020, 14:19
RE: Crash when encoding - by Selur - 28.06.2020, 14:25
RE: Crash when encoding - by The_Tinkerer - 30.06.2020, 08:08
RE: Crash when encoding - by The_Tinkerer - 30.06.2020, 09:21
RE: Crash when encoding - by Selur - 30.06.2020, 17:29
RE: Crash when encoding - by The_Tinkerer - 01.07.2020, 02:18
RE: Crash when encoding - by Selur - 01.07.2020, 04:57
RE: Crash when encoding - by Selur - 01.07.2020, 16:59
RE: Crash when encoding - by The_Tinkerer - 01.07.2020, 23:09
RE: Crash when encoding - by Selur - 02.07.2020, 04:25
RE: Crash when encoding - by Selur - 02.07.2020, 05:00
RE: Crash when encoding - by The_Tinkerer - 02.07.2020, 06:15
RE: Crash when encoding - by Selur - 02.07.2020, 19:50
RE: Crash when encoding - by The_Tinkerer - 02.07.2020, 19:53
RE: Crash when encoding - by Selur - 02.07.2020, 20:02

Forum Jump:


Users browsing this thread: 2 Guest(s)