Selur's Little Message Board
Fedora? - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: Fedora? (/thread-4335.html)

Pages: 1 2 3


Fedora? - MikeN - 26.02.2026

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: -




RE: Fedora? - Selur - 26.02.2026

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


RE: Fedora? - MikeN - 26.02.2026

Editing the misc.ini got Vapoursynth to show, but it crashed.


RE: Fedora? - Selur - 26.02.2026

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


RE: Fedora? - MikeN - 26.02.2026

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?


RE: Fedora? - Selur - 26.02.2026

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


RE: Fedora? - MikeN - 26.02.2026

libffms2.so and libvslsmashsource.so are both in the plugins folder.


RE: Fedora? - Selur - 27.02.2026

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


RE: Fedora? - MikeN - 27.02.2026

Created a .conf file with UserPluginDir=/home/mike/opt/vapoursynth/vsplugins/.  Still get the same error in the preview.


RE: Fedora? - Selur - 27.02.2026

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,...