-
Notifications
You must be signed in to change notification settings - Fork 9
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
'vapoursynth.VideoFrame' object is not subscriptable #9
Comments
Your VapourSynth version is too outdated. Try updating first. |
I update py version to py3.9.5 now. When I update it to >=R54-test2-API4 (R54-test2-API4,R55,R56,R57), error happen when processing "source = mvf.ToRGB(source,depth=32)": (But "source = RealESRGAN(source)" can be processed.) What can I do to process the whole pipeline? |
I update the version of fmtconv.dll and fix the problem QAQ. |
Yes, the version requirement is specified here. |
Error on frame 15 request:
'vapoursynth.VideoFrame' object is not subscriptable
py3.6.4
vs.core.version:
VapourSynth Video Processing Library\nCopyright (c) 2012-2018 Fredrik Mellbin\nCore R44\nAPI R3.5\nOptions: -\n
torch.version:
1.10.0+cu111
vpy:
import vapoursynth as vs
import sys
sys.path.append("C:\C\Transcoding\VapourSynth\core64\plugins\Scripts")
import mvsfunc as mvf
sys.path.append(r"C:\Users\liujing\AppData\Local\Programs\Python\Python36\Lib\site-packages\vsrealesrgan")
from vsrealesrgan import RealESRGAN
core = vs.get_core(accept_lowercase=True)
source = core.ffms2.Source(sourcename)
source = mvf.ToRGB(source,depth=32)
source = RealESRGAN(source)
source= mvf.ToYUV(source,depth=16)
source.set_output()
The text was updated successfully, but these errors were encountered: