Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#1 | Link |
|
Cary Knoop
Join Date: Feb 2017
Location: Newark CA, USA
Posts: 419
|
VSEdit - cuFFT issue
When a script using vs-dfttest2 with the cuFFT backend is reloaded in VSEdit (or when closing the editor), VapourSynth throws:
setVideoInfo: The VSVideoFormat pointer passed by DFTTest was not obtained from registerFormat() or getFormatPreset() Conditions Happens only on script reload or editor exit, not during normal encoding. Only occurs when DFTTest2() is used with Backend.cuFFT(). The crash occurs even if the clip formats are unchanged and all processing is valid. Any throughts? |
|
|
|
|
|
#5 | Link |
|
Cary Knoop
Join Date: Feb 2017
Location: Newark CA, USA
Posts: 419
|
I tried this but that did not make the problem go away:
Code:
try:
from dfttest2 import DFTTest as DFTTest2, Backend
# Create once, reuse forever
_DFTTEST_BACKEND = None
def get_dfttest_backend():
global _DFTTEST_BACKEND
if _DFTTEST_BACKEND is None:
_DFTTEST_BACKEND = Backend.cuFFT(device_id=0, in_place=True)
return _DFTTEST_BACKEND
_DFTTEST_BACKEND = get_dfttest_backend()
except ImportError:
raise RuntimeError("PMOyster Error: dfttest2 not found.")
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|