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?
#1
Does the Fedora install work? Vapoursynth and plugins are installed, scripts are in the .hybrid folder but no Vapoursynth. Bestsource did fail to install when doing the plugins, buit installing that manually didn't help.

vspipe --version shows this

VapourSynth Video Processing Library
Copyright © 2012-2025 Fredrik Mellbin
Core R71
API R4.1
API R3.6
Options: -

Reply
#2
Quote:Does the Fedora install work?
Never tried it, but the AppImage (latest dev) should work.

Depending on your setup, you might have to set
[General]
vsPluginsPath=<PATH to the Vapoursynth plugins>
vsScriptPath=<PATH to Hybrids Vapoursynth scripts>
enableVapoursynth=True
inside a misc.ini file.
If you start Hybrid from a terminal, it should report where it looks for Vapoursynth and whether it enabled or disabled Vapoursynth support.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#3
Editing the misc.ini got Vapoursynth to show, but it crashed.


Attached Files
.zip   debug.zip (Size: 111,02 KB / Downloads: 9)
Reply
#4
The Vapoursynth script:
# Imports
import vapoursynth as vs
# getting Vapoursynth core
import sys
import os
core = vs.core
# Import scripts folder
scriptPath = '/home/mike/.hybrid/vsscripts'
sys.path.insert(0, os.path.abspath(scriptPath))
# Import scripts
import qtgmc
import validate
# Source: '/home/mike/Videos/Get Smart s01E14 - Weekend Vampire.mkv'
# Current color space: YUV420P8, bit depth: 8, resolution: 720x480, frame rate: 29.97fps, scanorder: top field first, yuv luminance scale: limited, matrix: 470bg, format: mpeg-2
# Loading '/home/mike/Videos/Get Smart s01E14 - Weekend Vampire.mkvÄ using LWLibavSource
clip = core.lsmas.LWLibavSource(source="/home/mike/Videos/Get Smart s01E14 - Weekend Vampire.mkv", 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 29.97fps
clip = core.std.AssumeFPS(clip=clip, fpsnum=30000, fpsden=1001)
# making sure the detected scan type is set (detected: top field first)
clip = core.std.SetFrameProps(clip=clip, _FieldBased=vs.FIELD_TOP) # scan type: top field first
# Deinterlacing using QTGMC
clip = qtgmc.QTGMC(clip, Preset="Slow", TFF=True) # new fps: 59.94
# Making sure content is preceived as frame based
clip = core.std.SetFrameProps(clip=clip, _FieldBased=vs.FIELD_PROGRESSIVE) # scan type: progressive
clip = clip[::2] # selecting previously even frames, new fps: 29.97
# set output frame rate to 29.97fps (progressive)
clip = core.std.AssumeFPS(clip=clip, fpsnum=30000, fpsden=1001)
# output
clip.set_output()
# script was created by Hybrid 2026.02.14.1
seems fine.
y4m [error]: bad sequence header magic
usually indicated there is some problem (probably missing filters)
QTGMC with preset="slow", will prooably use:
1. AddGrain
2. fft3dfilter
3. DFTTest
4. EEDI3m
5. vsznedi3 or another nnedi4 compatible filter
6. libmvtools
7. fmtconv
8. Bwdif
9. akarin.dll (optionally)
10. zsmooth (or RemoveGrain)
=> Does the Vapoursynth Preview work?
I suspect not. It should show where the problem is.

If the Vapoursynth Preview fails, it's highly likely the encoding will fail too.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#5
Preview says:

Failed to evaluate the script:
Python exception: No attribute with the name lsmas exists. Did you mistype a plugin namespace or forget to install a plugin?
Reply
#6
lsmas.LWLibavSource => LSMashSource
Depending on your Settings under "Filtering->Vapoursynth->Misc->Source" and the type of your source, Hybrid will use a different source filter.
On Linux, mainly: BestSource, LWLibavSource /LSMashSource from lsmas, FFmpegSource2 from ffms2.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#7
libffms2.so and libvslsmashsource.so are both in the plugins folder.
Reply
#8
Then Vapoursynth likely doesn't load the plugins inside the plugin folder on your system.
read: https://www.vapoursynth.com/doc/installation.html#linux
maybe that helps.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#9
Created a .conf file with UserPluginDir=/home/mike/opt/vapoursynth/vsplugins/.  Still get the same error in the preview.
Reply
#10
On Linux, filters have to be loaded by the native Vapoursynth.
For some reason your Vapoursynth Version doesn not autoload your filters, which is why I linked the Vapoursynth doc,...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)