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.

[HELP] I cant encode anything.
#2
Vapoursynth script looks fine:
# Imports
import os
import sys
import ctypes
# Loading Support Files
Dllref = ctypes.windll.LoadLibrary("C:/Program Files/Hybrid/64bit/vsfilters/Support/libfftw3f-3.dll")
import vapoursynth as vs
core = vs.get_core()
# Import scripts folder
scriptPath = 'C:/Program Files/Hybrid/64bit/vsscripts'
sys.path.append(os.path.abspath(scriptPath))
# Loading Plugins
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/GrainFilter/AddGrain/AddGrain.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/FFT3DFilter/fft3dfilter.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/DFTTest/DFTTest.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/EEDI3.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/ResizeFilter/nnedi3/vsznedi3.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/libmvtools.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/temporalsoften.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/scenechange.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/fmtconv.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/d2vSource/d2vsource.dll")
# Import scripts
import havsfunc
# Loading E:\Dukto\Kenshin.1999.COMPLETE.DVD9.PAL.R2.SPANiSH\KENSHIN 1ª TEMPORADA\KENSHIN_VOL1_DVD1\VIDEO_TS using D2VSource
clip = core.d2v.Source(input="D:/done/16_21_20_1710.d2v", rff=False)
# making sure input color matrix is set as 709
clip = core.resize.Point(clip, matrix_in_s="709",range_s="limited")
# making sure frame rate is set to 25.000
clip = core.std.AssumeFPS(clip, fpsnum=25, fpsden=1)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# setting field order to what QTGMC should assume
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=2)
# Deinterlacing using QTGMC
clip = havsfunc.QTGMC(Input=clip, Preset="Fast", TFF=True)
# make sure content is preceived as frame based
clip = core.std.SetFieldBased(clip, 0)
clip = clip[::2]
# adjusting output color from: YUV420P8 to YUV420P10 for x265Model (i420)
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P10, range_s="limited")
# Output
clip.set_output()
Encoding call:
"C:\PROGRA~1\Hybrid\64bit\Vapoursynth\vspipe.exe" "D:\done\encodingTempSynthSkript_16_21_20_1710.vpy" - --y4m | "C:\PROGRA~1\Hybrid\64bit\x265.exe" --preset medium --input - --output-depth 10 --y4m --profile main10 --limit-modes --no-early-skip --no-open-gop --opt-ref-list-length-pps --crf 18.00 --opt-qp-pps --cbqpoffs -2 --crqpoffs -2  --limit-refs 0 --ssim-rd --psy-rd 2.50 --rdoq-level 2 --psy-rdoq 10.00 --aq-mode 0 --deblock=-1:-1 --limit-sao --no-repeat-headers --range limited --colormatrix unknown --output "D:\done\16_21_20_1710_03.265"
looks fine too.

Does the Vapoursynth Preview work properly?
In case it does: Do you get an error message when you call the encoding call inside a Windows Command Prompt?

Cu Selur
--- mainly offline 20.-26 of May ---
Reply


Messages In This Thread
I cant encode anything. - by ojetepelon - 06.03.2020, 17:24
RE: I cant encode anything. - by Selur - 06.03.2020, 17:30
RE: I cant encode anything. - by ojetepelon - 06.03.2020, 17:50
RE: I cant encode anything. - by Selur - 06.03.2020, 20:43
RE: I cant encode anything. - by ojetepelon - 06.03.2020, 20:46
RE: I cant encode anything. - by Selur - 06.03.2020, 20:55
RE: I cant encode anything. - by ojetepelon - 06.03.2020, 21:01
RE: I cant encode anything. - by Selur - 06.03.2020, 21:08
RE: I cant encode anything. - by ojetepelon - 06.03.2020, 21:13
RE: I cant encode anything. - by Selur - 06.03.2020, 21:32
RE: I cant encode anything. - by ojetepelon - 06.03.2020, 22:14
RE: I cant encode anything. - by Selur - 06.03.2020, 22:23
RE: I cant encode anything. - by ojetepelon - 06.03.2020, 22:28
RE: I cant encode anything. - by Selur - 06.03.2020, 22:47
RE: I cant encode anything. - by ojetepelon - 06.03.2020, 22:52
RE: I cant encode anything. - by Selur - 06.03.2020, 23:03
RE: I cant encode anything. - by ojetepelon - 06.03.2020, 23:14
RE: I cant encode anything. - by Selur - 06.03.2020, 23:26
RE: I cant encode anything. - by ojetepelon - 06.03.2020, 23:32
RE: I cant encode anything. - by Selur - 07.03.2020, 08:46
RE: I cant encode anything. - by ojetepelon - 07.03.2020, 13:11
RE: I cant encode anything. - by Selur - 07.03.2020, 14:31

Forum Jump:


Users browsing this thread: 1 Guest(s)