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.

how to use this new version subtitle filter in hybrid?
#1
https://github.com/libass/libass
Maybe it's the most active subtitle filter with 177 forks on the github.

The following projects/companies use libass:

MPlayer
mplayer2
mpv
VLC
GStreamer (assrender plugin)
FFmpeg
Libav (unmaintained)
Aegisub
Kodi (XBMC)
avidemux
PunkGraphicsStream (BD subtitle encoder)
HandBrake
MX Player
QMPlay2
SubtitlesOctopus (JavaScript ASS via wasm libass)
Crunchyroll uses SubtitlesOctopus
AssRender for Avisynth(+)
Reply
#2
Added "Filtering->Vapoursynth->Misc->Script->Prefer AssRender" a few weeks ago to my dev version.

Cu Selur

Ps.: You can also always use custom additions in Avi-/VapourSynth.
Reply
#3
Aegisub use this filter such as {\pos(1068,774)\frz6.874\c&H0B0631&}

https://github.com/sorayuki/VSFilterMod/

the following are update recently.

https://github.com/AmusementClub/assrender

https://github.com/libass/libass/releases
Reply
#4
will look at it mid next week, I'm on a trip till then an only on mobile.
Reply
#5
Yep another error Sad

  added new job with id 2022-05-24@17_33_45_4310
starting 2022-05-24@17_33_45_4310_01_audio@17:33:45.504 - /home/pro/sssss.mp4
2022-05-24@17_33_45_4310_01_audio finished after 00:00:00.129
starting 2022-05-24@17_33_45_4310_04_video@17:33:45.861 - /home/pro/sssss.mp4
2022-05-24@17_33_45_4310_04_video finished after 00:00:00.095
-> 2022-05-24@17_33_45_4310_04_video crashed: ERROR: /tmp/2022-05-24@17_33_45_4310_04.264 is too small! (byteSize: 0byte)
Aborting '2022-05-24@17_33_45_4310_04_video' due to: ERROR: /tmp/2022-05-24@17_33_45_4310_04.264 is too small! (byteSize: 0byte)
Job 2022-05-24@17_33_45_4310 finished!
Reply
#6
Vapoursynth script failed, x264 aborts with:
y4m [error]: bad sequence header magic
The VapourSynth script used:
# Imports
import vapoursynth as vs
import os
import sys
# getting Vapoursynth core
core = vs.core
# Import scripts folder
scriptPath = '/home/pro/.hybrid/profiles/scripts/Vapoursynth'
sys.path.insert(0, os.path.abspath(scriptPath))
# 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@17_33_45_4310.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]
# set output frame rate to 25.000fps
clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1)
# Output
clip.set_output()
looks fine. My guess is that you are missing tons of dependencies for QTGMC.
(assuming the scripts are present)

I would recommend using the Vapoursynth Preview to figure out whats missing. (which should start vsViewer or vsedit if vsViewer couldn't be found)

Cu Selur

Ps.: By default Hybrid assumes on non-Windows systems that Vapoursynth libraries do not need to be loaded explicitly. If you setup requires this you need to set
vsLoadLibrariesOnNonWindows=true
in your misc.ini file.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)