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.

Fedora Vapoursynth undefined symbol
#14
  • The https://github.com/Selur/hybrid-vapoursynth-addon scripts are meant to be used if you install Vapoursynth and the plugins through them. First building vapoursynth, then the plugins. If you install either from different sources do not use these scripts.
  • Quote:Failed to initialize VapourSynth environment!
    if you get this when using build-vapoursynth.sh, you forgot step 4 of https://github.com/Selur/hybrid-vapoursy.../README.md
  • Quote:vapoursynth.Error: Plugin /home/superboo07/opt/vapoursynth/vsplugins/libvslsmashsource.so already loaded (systems.innocent.lsmas) from /home/superboo07/opt/vapoursynth/vsplugins/libvslsmashsource.so
    this should only happen if there is another source for plugins loaded somewhere,...
    Okay, looking at the debug output:
    # Imports
    import vapoursynth as vs
    # getting Vapoursynth core
    import sys
    import os
    core = vs.core
    # Import scripts folder
    scriptPath = '/home/superboo07/Applications/hybrid/vsscripts'
    sys.path.insert(0, os.path.abspath(scriptPath))
    # loading plugins
    core.std.LoadPlugin(path="/home/superboo07/opt/vapoursynth/vsplugins/Support/libakarin.so")
    core.std.LoadPlugin(path="/home/superboo07/opt/vapoursynth/vsplugins/libaddgrain.so")
    core.std.LoadPlugin(path="/home/superboo07/opt/vapoursynth/vsplugins/libvslsmashsource.so")
    # Import scripts
    import addGrain
    import validate
    # Source: '/home/superboo07/Videos/Screencasts/Screencast_20251007_165931.webm'
    # Current color space: YUV420P8, bit depth: 8, resolution: 470x164, frame rate: 59fps, scanorder: progressive, yuv luminance scale: limited, matrix: 470bg, format: vp9
    # Loading /home/superboo07/Videos/Screencasts/Screencast_20251007_165931.webm using LWLibavSource
    clip = core.lsmas.LWLibavSource(source="/home/superboo07/Videos/Screencasts/Screencast_20251007_165931.webm", format="YUV420P8", stream_index=0, cache=0, prefer_hw=0)
    frame = clip.get_frame(0)
    # setting color matrix to 470bg.
    clip = core.std.SetFrameProps(clip, _Matrix=vs.MATRIX_BT470_BG)
    # setting color transfer (vs.TRANSFER_BT601), if it is not set.
    if validate.transferIsInvalid(clip):
      clip = core.std.SetFrameProps(clip=clip, _Transfer=vs.TRANSFER_BT601)
    # setting color primaries info (to vs.PRIMARIES_BT470_BG), if it is not set.
    if validate.primariesIsInvalid(clip):
      clip = core.std.SetFrameProps(clip=clip, _Primaries=vs.PRIMARIES_BT470_BG)
    # setting color range to TV (limited) range.
    clip = core.std.SetFrameProps(clip=clip, _ColorRange=vs.RANGE_LIMITED)
    # making sure frame rate is set to 59fps
    clip = core.std.AssumeFPS(clip=clip, fpsnum=59, fpsden=1)
    # making sure the detected scan type is set (detected: progressive)
    clip = core.std.SetFrameProps(clip=clip, _FieldBased=vs.FIELD_PROGRESSIVE) # progressive
    # adding grain using GrainFactory3
    clip = addGrain.GrainFactory3(clp=clip)
    # set output frame rate to 59fps (progressive)
    clip = core.std.AssumeFPS(clip=clip, fpsnum=59, fpsden=1)
    # output
    clip.set_output()
    is wrong,
    # loading plugins
    core.std.LoadPlugin(path="/home/superboo07/opt/vapoursynth/vsplugins/Support/libakarin.so")
    core.std.LoadPlugin(path="/home/superboo07/opt/vapoursynth/vsplugins/libaddgrain.so")
    core.std.LoadPlugin(path="/home/superboo07/opt/vapoursynth/vsplugins/libvslsmashsource.so")
    should not include by default.
    These lines should only appear one enables 'vsLoadLibrariesOnNonWindows' in a misc.ini, which Hybrid does not by default.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
RE: Fedora Vapoursynth undefined symbol - by Selur - 08.10.2025, 19:26

Forum Jump:


Users browsing this thread: 1 Guest(s)