Selur's Little Message Board
Enabling FilmGrainGLSL causes crash - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: Enabling FilmGrainGLSL causes crash (/thread-4113.html)

Pages: 1 2


RE: Enabling FilmGrainGLSL causes crash - lostsnowboardvideos - 17.05.2025

I went back to a december dev version of hybrid saved in my downloads and the DPIRDeblock works there. something about the newer dev versions is preventing it from running on my end.


RE: Enabling FilmGrainGLSL causes crash - Selur - 17.05.2025

No clue. Like I wrote, it works fine here.
I have no idea what the issue is, so I can't do anything about it and you will be stuck at that old Hybrid version.

Cu Selur


RE: Enabling FilmGrainGLSL causes crash - lostsnowboardvideos - 17.05.2025

Output path error was because I didn't have a spot to save it identified in "paths". Oops


RE: Enabling FilmGrainGLSL causes crash - Selur - 17.05.2025

Okay, but it is still unclear why GLSL combined with DPIRDeblock fails.

What happend to:
vspipe "C:\Users\Computer\AppData\Local\Temp\encodingTempSynthSkript_2025-05-15@20_53_06_2610_0.vpy" NUL --outputindex 0 -c y4m
?


RE: Enabling FilmGrainGLSL causes crash - lostsnowboardvideos - 17.05.2025

how do I test that?


RE: Enabling FilmGrainGLSL causes crash - Selur - 17.05.2025

Assuming the file does still exist you call:
"C:\Program Files\Hybrid\64bit\Vapoursynth\vspipe.exe" "C:\Users\Computer\AppData\Local\Temp\encodingTempSynthSkript_2025-05-15@20_43_54_4410_0.vpy" NUL --outputindex 0 -c y4m
inside a Windows command prompt.

Cu Selur


RE: Enabling FilmGrainGLSL causes crash - lostsnowboardvideos - 17.05.2025

I don't have that folder anymore, but I redid it earlier and this is what I got:

C:\Users\Computer>"C:\Program Files\Hybrid\64bit\Vapoursynth\vspipe.exe" "C:\Users\Computer\Videos\RJ videos\Misc\Output2\encodingTempSynthSkript_2025-05-17@09_25_11_3410_0.vpy" NUL --outputindex 0 -c y4m
Script evaluation failed:
Python exception: expected 'else' after 'if' expression (dehalo.py, line 63)

Traceback (most recent call last):
  File "src\\cython\\vapoursynth.pyx", line 3365, in vapoursynth._vpy_evaluate
  File "src\\cython\\vapoursynth.pyx", line 3366, in vapoursynth._vpy_evaluate
  File "C:\Users\Computer\Videos\RJ videos\Misc\Output2\encodingTempSynthSkript_2025-05-17@09_25_11_3410_0.vpy", line 36, in <module>
    import dehalo
  File "C:\Program Files\Hybrid\64bit\vsscripts\dehalo.py", line 63
    so = so.vszip.Limiter() if hasattr(core,'vszip') so.std.Limiter()
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: expected 'else' after 'if' expression



RE: Enabling FilmGrainGLSL causes crash - Selur - 17.05.2025

Either replace the dehalo.py with https://github.com/Selur/VapoursynthScriptsInHybrid/blob/master/dehalo.py or edit the file and change:
so = so.vszip.Limiter() if hasattr(core,'vszip') so.std.Limiter()
to
so = so.vszip.Limiter() if hasattr(core,'vszip') else so.std.Limiter()

Cu Selur


RE: Enabling FilmGrainGLSL causes crash - lostsnowboardvideos - 17.05.2025

Now I get the following:
C:\Users\Computer>"C:\Program Files\Hybrid\64bit\Vapoursynth\vspipe.exe" "C:\Users\Computer\Videos\RJ videos\Misc\Temp\encodingTempSynthSkript_2025-05-17@10_35_22_2410_0.vpy" NUL --outputindex 0 -c y4m
Script evaluation failed:
Python exception: name 'TypeVar' is not defined

Traceback (most recent call last):
  File "src\\cython\\vapoursynth.pyx", line 3387, in vapoursynth._vpy_evaluate
  File "src\\cython\\vapoursynth.pyx", line 3388, in vapoursynth._vpy_evaluate
  File "C:\Users\Computer\Videos\RJ videos\Misc\Temp\encodingTempSynthSkript_2025-05-17@10_35_22_2410_0.vpy", line 40, in <module>
    import dehalo
  File "C:\Program Files\Hybrid\64bit\vsscripts\dehalo.py", line 938, in <module>
    T = TypeVar('T')
        ^^^^^^^
NameError: name 'TypeVar' is not defined



RE: Enabling FilmGrainGLSL causes crash - Selur - 17.05.2025

Change:
from typing import Union, Optional, Sequence
to:
from typing import Union, Optional, Sequence, TypeVar