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.

Problem opening Avisynth script.
#8
The version you send me now loads the avs script, but when I go to the the Crop/Resize Tab and I chose Crop preview I gen another error:

# Imports
import vapoursynth as vs
# getting Vapoursynth core
core = vs.core
# Loading Plugins
core.std.LoadPlugin(path="C:/Audio-video App/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
# source: 'D:\*\project.avs'
# current color space: YUV420P8, bit depth: 8, resolution: 1920x1080, fps: 25, color matrix: 709, yuv luminance scale: full, scanorder: progressive
# Loading D:\Registrazioni Sky\L'Italia delle navi\project.avs using LWLibavSource
clip = core.lsmas.LWLibavSource(source="D:/*/project.avs", format="YUV420P8", cache=0, prefer_hw=0)
# making sure input color matrix is set as 709
clip = core.resize.Bicubic(clip, matrix_in_s="709",range_s="full")
# making sure frame rate is set to 25
clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1)
# Setting color range to PC (full) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=0)
# Output
clip.set_output()
with this Log:
2022-01-30 15:54:30.796
Failed to evaluate the script:
Python exception: lsmas: failed to get video track.

Traceback (most recent call last):
File "src\cython\vapoursynth.pyx", line 2832, in vapoursynth._vpy_evaluate
File "src\cython\vapoursynth.pyx", line 2833, in vapoursynth._vpy_evaluate
File "C:\Users\ctapp\AppData\Local\Temp\tempPreviewVapoursynthFile15_54_29_848.vpy", line 10, in
clip = core.lsmas.LWLibavSource(source="D:/*/project.avs", format="YUV420P8", cache=0, prefer_hw=0)
File "src\cython\vapoursynth.pyx", line 2580, in vapoursynth.Function.__call__
vapoursynth.Error: lsmas: failed to get video track.
Bye
Reply


Messages In This Thread
RE: Problem opening Avisynth script. - by Devilman1 - 30.01.2022, 16:59

Forum Jump:


Users browsing this thread: 2 Guest(s)