Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Srestore omode=pp returns error #58

Open
xurich-xulaco opened this issue Nov 29, 2023 · 1 comment
Open

Srestore omode=pp returns error #58

xurich-xulaco opened this issue Nov 29, 2023 · 1 comment

Comments

@xurich-xulaco
Copy link

xurich-xulaco commented Nov 29, 2023

After trying to see how well this srestore ran, I can't get to use any of the omode=pp1, pp2, or pp3 modes, none of them work, they get stuck and report following error code:

Script evaluation failed:
Python exception: Exceeds the limit (4300 digits) for integer string conversion; use sys.set_int_max_str_digits() to increase the limit

Traceback (most recent call last):
  File "src/cython/vapoursynth.pyx", line 2886, in vapoursynth._vpy_evaluate
  File "src/cython/vapoursynth.pyx", line 2887, in vapoursynth._vpy_evaluate
  File "P3OP.py", line 91, in <module>
    deblend = muf.srestore(deint, omode='pp2')
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "Scripts/muvsfunc.py", line 8345, in srestore
    .format(i=scale(4, peak), peak=peak, j=scale(200, peak), k=scale(28, peak))
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: Exceeds the limit (4300 digits) for integer string conversion; use sys.set_int_max_str_digits() to increase the limit

I'm really not sure what's wrong here or what I'm doing wrong, if it helps, I'm working with a clip with the following stats:

Width: 640
Height: 368
Frames: 2800
FPS: 30000/1001 (29.970 fps)
Format Name: YUV420P16
Color Family: YUV
Alpha: No
Sample Type: Integer
Bits: 16
SubSampling W: 1
SubSampling H: 1

And I'm running Python 3.11 with Vapoursynth 58.

@WolframRhodium
Copy link
Owner

Thanks! Please check the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants