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.

[BUG] SVT-AV1 not working with vapoursynth inputs (Arch Linux)
#5
Quote:So the problem seems to be the vpy file not being generated.
According to the log it was created and clean up later.
Created skript /tmp/2025-02-25@15_50_50_1010/encodingTempSynthSkript_2025-02-25@15_50_50_1010_0.vpy:
---------------------
# Imports
import vapoursynth as vs
# getting Vapoursynth core
import sys
import os
core = vs.core
# Import scripts folder
scriptPath = '/usr/lib/python3.12/site-packages/'
sys.path.insert(0, os.path.abspath(scriptPath))
# Import scripts
import havsfunc
import validate
# Source: '/run/media/inky/vhs antigo/VHS/0-2001.mpg'
# Current color space: YUV420P8, bit depth: 8, resolution: 720x480, frame rate: 29.97fps, scanorder: top field first, yuv luminance scale: limited, matrix: 470bg, transfer: bt.470 system m, primaries: bt.470 system m, format: mpeg-2
# Loading /run/media/inky/vhs antigo/VHS/0-2001.mpg using D2VSource
clip = core.d2v.Source(input="/tmp/2025-02-25@15_50_50_1010/2025-02-25@15_50_50_1010.d2v")
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_BT470_BG), if it is not set.
if validate.transferIsInvalid(clip):
  clip = core.std.SetFrameProps(clip=clip, _Transfer=vs.TRANSFER_BT470_BG)
# 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) # tff
# Deinterlacing using QTGMC
clip = havsfunc.QTGMC(Input=clip, Preset="Medium", TFF=True) # new fps: 59.94
# Making sure content is preceived as frame based
clip = core.std.SetFrameProps(clip=clip, _FieldBased=vs.FIELD_PROGRESSIVE) # progressive
# adjusting output color from: YUV420P8 to YUV420P10 for SvtAv1Model
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P10, range_s="limited")
# set output frame rate to 59.94fps (progressive)
clip = core.std.AssumeFPS(clip=clip, fpsnum=60000, fpsden=1001)
# output
clip.set_output()
---------------------

2025.02.25 - 15:50:52_Arch Linux (64bit)_2024.12.21.1 - level 9: 2025-02-25@15_50_50_1010_04_cleanUp: "/tmp/2025-02-25@15_50_50_1010/encodingTempSynthSkript_2025-02-25@15_50_50_1010_0.vpy"
2025.02.25 - 15:50:52_Arch Linux (64bit)_2024.12.21.1 - level 9: JobHandler subjobFinished 2025-02-25@15_50_50_1010_04_cleanUp finished,..

Quote:The vapoursynth preview doesn't works because there is no package for vsPreview.
vsViewer code is available over at https://github.com/Selur/vsViewer. Since there are other Arch users out there, someone can probably help.

Quote:Yes, both the SVT-AV1 implementations work just fine in FFMPEG.
FFmpeg uses the library not SvtAv1EncApp.

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: SVT-AV1 not working with vapoursynth inputs - by Selur - 25.02.2025, 22:00

Forum Jump:


Users browsing this thread: 4 Guest(s)