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.

Enable Vapoursynth in Hybrid - Linux Manjaro/Arch
#11
Analyse: Function does not take argument(s) named _lambda, _global
Seems like you are using a rather old version of the scripts which was used before Vapoursynth R54.
Updating the scripts might help.

Cu Selur
Reply
#12
True I used https://github.com/Selur/VapoursynthScri...eleasesnot not master git Smile

ok and after many many next installation...

2022-05-24 20:15:50.018
Script was successfully evaluated. Output video info:
Frames: 948 | Time: 0:00:37.920 | Size: 720x576 | FPS: 25/1 = 25 | Format: YUV420P8
but in Hybrid still stuck...

Creating job for current source
/home/pro/BD_Filmy/komunia sw.ts
Current input: /home/pro/BD_Filmy/komunia sw.ts
-> Creating jobs for source: (1)
-> Generating calls for: /home/pro/BD_Filmy/jkjhkjhkhjk.mp4
  adding 4 video related calls for source: 1
  createJobs for /home/pro/BD_Filmy/jkjhkjhkhjk.mp4
   creating audio subjobs,...
   creating attachment extraction subjobs
   creating video subjobs
   creating muxing subjobs
   optimizing the subJobs
-> finished creating subjobs for current source
  added new job with id 2022-05-24@20_25_08_8410
starting 2022-05-24@20_25_08_8410_01_audio@20:25:08.900 - /home/pro/BD_Filmy/jkjhkjhkhjk.mp4
2022-05-24@20_25_08_8410_01_audio finished after 00:00:00.131
starting 2022-05-24@20_25_08_8410_04_video@20:25:09.255 - /home/pro/BD_Filmy/jkjhkjhkhjk.mp4
2022-05-24@20_25_08_8410_04_video finished after 00:00:00.102
-> 2022-05-24@20_25_08_8410_04_video crashed: ERROR: /tmp/2022-05-24@20_25_08_8410_04.264 is too small! (byteSize: 0byte)
Aborting '2022-05-24@20_25_08_8410_04_video' due to: ERROR: /tmp/2022-05-24@20_25_08_8410_04.264 is too small! (byteSize: 0byte)
Job 2022-05-24@20_25_08_8410 finished!
Reply
#13
Error is still the same:
y4m [error]: bad sequence header magic
script looks like this:
# Imports
import vapoursynth as vs
import os
import sys
# getting Vapoursynth core
core = vs.core
# Import scripts folder
scriptPath = '/home/pro/.hybrid/VapoursynthScriptsInHybrid'
sys.path.insert(0, os.path.abspath(scriptPath))
# Loading Plugins
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libdctfilter.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libdeblock.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libaddgrain.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libneo-fft3d.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libdfttest.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libeedi3m.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/vsznedi3.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libmvtools.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libscenechange.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libfmtconv.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libmiscfilters.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libremovegrain.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libd2vsource.so")
# Import scripts
import havsfunc
# source: '/home/pro/BD_Filmy/komunia sw.ts'
# current color space: YUV420P8, bit depth: 8, resolution: 720x576, fps: 25, color matrix: 470bg, yuv luminance scale: limited, scanorder: top field first
# Loading /home/pro/BD_Filmy/komunia sw.ts using D2VSource
clip = core.d2v.Source(input="/tmp/2022-05-24@20_25_08_8410.d2v", rff=False)
# Setting color matrix to 470bg.
clip = core.std.SetFrameProps(clip, _Matrix=5)
clip = clip if not core.text.FrameProps(clip,'_Transfer') else core.std.SetFrameProps(clip, _Transfer=5)
clip = clip if not core.text.FrameProps(clip,'_Primaries') else core.std.SetFrameProps(clip, _Primaries=5)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# making sure frame rate is set to 25
clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1)
# setting field order to what QTGMC should assume (top field first)
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=2)
# Deinterlacing using QTGMC
clip = havsfunc.QTGMC(Input=clip, Preset="Fast", TFF=True) # new fps: 25
# make sure content is preceived as frame based
clip = core.std.SetFieldBased(clip, 0)
clip = clip[::2]
# applying deblocking using DeBlock QED
clip = havsfunc.Deblock_QED(clip)
# set output frame rate to 25.000fps
clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1)
# Output
clip.set_output()
-> check the Vapoursynth preview, unless the preview works fine, the encoding will fail as it uses the same script as the preview.

Cu Selur
Reply
#14
2022-05-24 20:33:24.853
Failed to evaluate the script:
Python exception: Failed to load /usr/lib/vapoursynth/libdctfilter.so. Error given: /usr/lib/vapoursynth/libdctfilter.so: nie można otworzyć pliku obiektu dzielonego: Nie ma takiego pliku ani katalogu

Traceback (most recent call last):
File "src/cython/vapoursynth.pyx", line 2886, in vapoursynth._vpy_evaluate
File "src/cython/vapoursynth.pyx", line 2887, in vapoursynth._vpy_evaluate
File "", line 11, in
File "src/cython/vapoursynth.pyx", line 2632, in vapoursynth.Function.__call__
vapoursynth.Error: Failed to load /usr/lib/vapoursynth/libdctfilter.so. Error given: /usr/lib/vapoursynth/libdctfilter.so: nie można otworzyć pliku obiektu dzielonego: Nie ma takiego pliku ani katalogu
and after install https://aur.archlinux.org/packages/vapou...filter-git

2022-05-24 20:34:18.191
Failed to evaluate the script:
Python exception: Plugin /usr/lib/vapoursynth/libdctfilter.so already loaded (com.holywu.dctfilter) from /usr/lib/vapoursynth/libdctfilter.so

Traceback (most recent call last):
File "src/cython/vapoursynth.pyx", line 2886, in vapoursynth._vpy_evaluate
File "src/cython/vapoursynth.pyx", line 2887, in vapoursynth._vpy_evaluate
File "", line 11, in
File "src/cython/vapoursynth.pyx", line 2632, in vapoursynth.Function.__call__
vapoursynth.Error: Plugin /usr/lib/vapoursynth/libdctfilter.so already loaded (com.holywu.dctfilter) from /usr/lib/vapoursynth/libdctfilter.so
Reply
#15
By default Hybrid assumes on non-Windows systems that Vapoursynth libraries do not need to be loaded explicitly.
Did you set
vsLoadLibrariesOnNonWindows=true
in your misc.ini file?
Only if that is set Hybrid should add the '# Loading Plugins'-block:
# Loading Plugins
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libdctfilter.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libdeblock.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libaddgrain.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libneo-fft3d.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libdfttest.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libeedi3m.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/vsznedi3.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libmvtools.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libscenechange.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libfmtconv.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libmiscfilters.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libremovegrain.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libd2vsource.so")
-> the way you set it up, vsLoadLibrariesOnNonWindows should not be set to true, since the automatic loading will collide with the explicit loading.
(sadly here is no option in Vapoursynth to disable the autoloading)

Cu Selur
Reply
#16
(24.05.2022, 20:43)Selur Wrote: By default Hybrid assumes on non-Windows systems that Vapoursynth libraries do not need to be loaded explicitly.
Did you set
vsLoadLibrariesOnNonWindows=true
in your misc.ini file?

Yes after delete this function, process going start wuhohoho Big Grin but there is another problem with GUI something is wrong with names with options ..


Attached Files Thumbnail(s)
   
Reply
#17
No clue, what's broken there.
Could also be some strange translation addon of your frontend.
From the looks of it all comboboxes are empty.
Wild guess is that it's related to the Qt version you are using.
Hybrid uses Qt 5.9 on Linux.
May be you see some error message if you start Hybrid from a terminal.

Cu Selur
Ps.: in case it's style related, changing Config->View->Style might help.
Reply
#18
This problem is after install this new version

Couldn't find vsCCDAddFilterPushButton(2)
aborted closing
Couldn't find vsCCDRemoveFilterPushButton(2)


I have error again after enable DeGrain > TemporalDeGrain Big Grin

starting 2022-05-24@21_15_34_7910_04_video@21:15:35.238 - /home/pro/BD_Filmy/86867867867.mp4
2022-05-24@21_15_34_7910_04_video finished after 00:00:00.194
-> 2022-05-24@21_15_34_7910_04_video crashed: ERROR: /tmp/2022-05-24@21_15_34_7910_04.264 is too small! (byteSize: 0byte)
Aborting '2022-05-24@21_15_34_7910_04_video' due to: ERROR: /tmp/2022-05-24@21_15_34_7910_04.264 is too small! (byteSize: 0byte)
Job 2022-05-24@21_15_34_7910 finished!
Reply
#19
Quote:This problem is after install this new version
Which version the dev version?

Quote:I have error again after enable DeGrain > TemporalDeGrain
Then check the Vapoursynth Preview to figure out what plugins you are lacking.
the plugins folder of https://github.com/Selur/hybrid-vapoursynth-addon might also give a hint on what plugins are potentially used by Hybrid.

Cu Selur
Reply
#20
Problem is with 2022.5.23.1


arch version 2022.03.20.1 its ok.


Attached Files Thumbnail(s)
       
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)