a. try using a temp folder with a normal path. "/var/folders/tg/7dxp1cw503x4wrv507ypxqm40000gn/T" looks like some temporary path.
b. Does the vapoursynth preview work properly?
The Vapoursynth script looks fine.
c. The encoding call:
looks fine to me and doesn't throw an error.
Since the encding works fine and the script looks fine too, I see no reason for the output to be shorter than the source unless the deocder has some problem with the source. (Vapoursynth Preview should show whether there some frames are dropped,..)
If you send me a link to a sample which causes the problem for you via PM I can look at the source under Windows. (Don't have a mac any more, which is why I stopped offering Mac builds.)
My current guess is that the source is interlaced and not telecined and thus applying IVTC causes Hybrid to drop frames which are needed for normal playback and causes the illusion of the content played back faster.
Cu Selur
b. Does the vapoursynth preview work properly?
The Vapoursynth script looks fine.
# Imports
import os
import sys
import vapoursynth as vs
core = vs.get_core()
# Import scripts folder
scriptPath = '/Applications/Hybrid.app/Contents/MacOS/vsscripts'
sys.path.append(os.path.abspath(scriptPath))
# Import scripts
import mvsfunc
import muvsfunc
import edi_rpow2
import hysteria
import havsfunc
# Loading /Volumes/Ghost In The Shell Fix/IGPX Discotek/IGPX for Jose (1)/Episode 1/Episode 1 16.9.M2V using D2VSource
clip = core.d2v.Source(input="/var/folders/tg/7dxp1cw503x4wrv507ypxqm40000gn/T/09_45_20_5310.d2v", rff=False)
# making sure input color matrix is set as unspec
clip = core.resize.Point(clip, matrix_in_s="unspec",range_s="limited")
# making sure frame rate is set to 30000/1001
clip = core.std.AssumeFPS(clip, fpsnum=30000, fpsden=1001)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
clip = core.vivtc.VFM(clip=clip, order=0, mode=1)
clip = core.vivtc.VDecimate(clip=clip)
# denoising using MCTemporalDenoise
clip = havsfunc.MCTemporalDenoise(i=clip, settings="very low")
# Debanding using Flash3kDB
clip = core.f3kdb.Deband(clip, keep_tv_range=True)
clip = havsfunc.LSFmod(input=clip, Smode=4, Smethod=2, Lmode=22, soft=-2, edgemaskHQ=True)
# DeHaloing using DeHalo_Alpha
clip = havsfunc.DeHalo_alpha(clip)
# line darkening using Hysteria
clip = hysteria.Hysteria(clip=clip,strength=2.00)
# resizing clip to 2048x1366
# resizing using NNEDI3
clip = edi_rpow2.nnedi3_rpow2(clip=clip, rfactor=4, nsize=2, nns=4, pscrn=4)
# adjusting resizing
clip = core.fmtc.resample(clip=clip, w=2048, h=1366, kernel="spline64", interlaced=False, interlacedd=False)
# Anti Aliasing using NNedia3aa
clip = muvsfunc.nnedi3aa(clip)
# adjusting output color from: YUV420P16 to YUV422P10 for ProResModel (i422)
clip = core.resize.Bicubic(clip=clip, format=vs.YUV422P10, range_s="limited")
# Output
clip.set_output()
"/usr/local/bin/vspipe" "/var/folders/tg/7dxp1cw503x4wrv507ypxqm40000gn/T/encodingTempSynthSkript_23_57_37_7010.vpy" - --y4m | "/Applications/Hybrid.app/Contents/MacOS/ffmpeg" -y -threads 8 -f yuv4mpegpipe -i - -an -sn -vf zscale=rangein=tv:range=tv -pix_fmt yuv422p10le -strict -1 -vsync 0 -vcodec prores_ks -profile:v 3 -vtag apch -f mov "/Volumes/Ghost In The Shell Fix/IGPX Discotek/IGPX for Jose (1)/Episode 1/Episode 1 - PAV - VITIC_23_57_37_7010_02.mov"
Quote:I'm pretty sure it's a VFR issue and I tried clicking CFR Output in the Config tab, but that doesn't seem to do anything.If the source doesn't have vfr time codes there is nothing to do.
Since the encding works fine and the script looks fine too, I see no reason for the output to be shorter than the source unless the deocder has some problem with the source. (Vapoursynth Preview should show whether there some frames are dropped,..)
If you send me a link to a sample which causes the problem for you via PM I can look at the source under Windows. (Don't have a mac any more, which is why I stopped offering Mac builds.)
My current guess is that the source is interlaced and not telecined and thus applying IVTC causes Hybrid to drop frames which are needed for normal playback and causes the illusion of the content played back faster.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.