Quote:DVD decrypter
Often created non-DVD compliant output for me which can cause issues, so I would not recommend it.
Quote:"loaded profile" (AGAIN!) prior to selecting chapters
No clue, but according to the debug output:
For the Vapoursynth creation Hybrid assumed:
Code:
2024.01.19 - 18:38:47_Windows 11 Version 23H2 (64bit)_2023.12.22.1 - level 9: getStartAndEnd(cutStartTime: 0, cutEndTime: 451.88, selectionStartTime: 0, selectionEndTime: 451.88, ...)
2024.01.19 - 18:38:47_Windows 11 Version 23H2 (64bit)_2023.12.22.1 - level 9: startTime: 0.00000000
2024.01.19 - 18:38:47_Windows 11 Version 23H2 (64bit)_2023.12.22.1 - level 9: endTime: 451.88000000
2024.01.19 - 18:38:47_Windows 11 Version 23H2 (64bit)_2023.12.22.1 - level 9: -> startTime: 0, endTime: 451.88
451.88 sec * 25 fps so that would be 11.297 frames.
looking at the script that was used:
Code:
# Imports
import vapoursynth as vs
# getting Vapoursynth core
import site
import ctypes
import sys
import os
core = vs.core
# Import scripts folder
scriptPath = 'C:/Program Files/Hybrid/64bit/vsscripts'
sys.path.insert(0, os.path.abspath(scriptPath))
# Loading Support Files
Dllref = ctypes.windll.LoadLibrary("C:/Program Files/Hybrid/64bit/vsfilters/Support/libfftw3f-3.dll")
# Adding torch dependencies to PATH
path = site.getsitepackages()[0]+'/torch_dependencies/bin/'
ctypes.windll.kernel32.SetDllDirectoryW(path)
path = path.replace('\\', '/')
os.environ["PATH"] = path + os.pathsep + os.environ["PATH"]
# Loading Plugins
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/VagueDenoiser/libneovaguedenoiser.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/GrainFilter/RemoveGrain/RemoveGrainVS.dll")
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/DFTTest/DFTTest.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/NEO_FFT3DFilter/neo-fft3d.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/EEDI3m.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/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/MiscFilter/MiscFilters/MiscFilters.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DeinterlaceFilter/Bwdif/Bwdif.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/d2vSource/DGDecode.dll")
# Import scripts
import G41Fun
import havsfunc
# source: 'F:\DVD 9\SEIZOEN 1\DISK 1\VIDEO_TS'
# current color space: YUV420P8, bit depth: 8, resolution: 720x576, fps: 25, color matrix: 709, yuv luminance scale: limited, scanorder: top field first
# Loading F:\DVD 9\SEIZOEN 1\DISK 1\VIDEO_TS\VTS_02_1.VOB using DGDecode
clip = core.dgdecode.MPEG2Source("F:/DVD 9/SEIZOEN 1/DISK 1/VIDEO_TS/2024-01-19@18_38_49_6210.d2v",info=3)# 25 fps, scanorder: top field first
# Setting detected color matrix (709).
clip = core.std.SetFrameProps(clip, _Matrix=1)
# Setting color transfer info (709)
clip = core.std.SetFrameProps(clip, _Transfer=1)
# Setting color primaries info (1)
clip = core.std.SetFrameProps(clip, _Primaries=1)
# 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)
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=2) # tff
# cutting from frame 0 to 11296 - WARNING: This might cause synch issues
clip = core.std.Trim(clip=clip, first=0, last=11296)
# Deinterlacing using QTGMC
clip = havsfunc.QTGMC(Input=clip, Preset="Slower", TFF=True) # new fps: 25
# Making sure content is preceived as frame based
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=0) # progressive
clip = clip[::2] # selecting previously even frames
# adjusting color space from YUV420P8 to RGB24 for vsLevels
clip = core.resize.Bicubic(clip=clip, format=vs.RGB24, matrix_in_s="709", range_s="limited")
# Color Adjustment using Levels on RGB24 (8 bit)
clip = core.std.Levels(clip=clip, min_in=0, max_in=255, min_out=0, max_out=255)
# adjusting color space from RGB24 to YUV444P8 for vsVague
clip = core.resize.Bicubic(clip=clip, format=vs.YUV444P8, matrix_s="709", range_s="limited")
# denoising using VagueDenoiser
clip = core.neo_vd.VagueDenoiser(clip=clip, threshold=1.25, percent=50)
# sharpening using DetailSharpen
clip = G41Fun.DetailSharpen(clip=clip, sstr=1.250, ldmp=0.500, mode=0, med=True)
from vsrealesrgan import realesrgan as RealESRGAN
# adjusting color space from YUV444P8 to RGBH for vsRealESRGAN
clip = core.resize.Bicubic(clip=clip, format=vs.RGBH, matrix_in_s="709", range_s="limited")
# resizing using RealESRGAN
clip = RealESRGAN(clip=clip, model=5, device_index=0, trt=True, trt_cache_path=r"F:\DVD 9\SEIZOEN 1\DISK 1\VIDEO_TS", denoise_strength=0.25) # 2880x2304
# resizing 2880x2304 to 1920x1080
# adjusting resizing
clip = core.resize.Bicubic(clip=clip, format=vs.RGBS, range_s="limited")
clip = core.fmtc.resample(clip=clip, w=1920, h=1080, kernel="sinc", interlaced=False, interlacedd=False)
# adjusting output color from: RGBS to YUV420P8 for x264Model
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8, matrix_s="709", range_s="limited", dither_type="error_diffusion")
# set output frame rate to 25fps (progressive)
clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1)
# Output
clip.set_output()
That script 'encodingTempSynthSkript_2024-01-19@18_38_49_6210_0.vpy' was created
Code:
2024.01.19 - 18:39:20_Windows 11 Version 23H2 (64bit)_2023.12.22.1 - level 9: starting createJob,....
2024.01.19 - 18:39:20_Windows 11 Version 23H2 (64bit)_2023.12.22.1 - level 9: writing: UTF8BOM
2024.01.19 - 18:39:20_Windows 11 Version 23H2 (64bit)_2023.12.22.1 - level 9: finished createJob (F:\DVD 9\SEIZOEN 1\DISK 1\VIDEO_TS\encodingTempSynthSkript_2024-01-19@18_38_49_6210_0.vpy)
and it did include:
Code:
# cutting from frame 0 to 11296 - WARNING: This might cause synch issues
clip = core.std.Trim(clip=clip, first=0, last=11296)
and also was used during for the encoding:
Code:
"C:\Program Files\Hybrid\64bit\Vapoursynth\vspipe.exe" "F:\DVD 9\SEIZOEN 1\DISK 1\VIDEO_TS\encodingTempSynthSkript_2024-01-19@18_38_49_6210_0.vpy" - -c y4m | "C:\Program Files\Hybrid\64bit\x264.exe" --preset slow --bitrate 5000 --profile high --level 4.1 --ref 2 --sync-lookahead 36 --ratetol 2.00 --vbv-maxrate 5000 --vbv-bufsize 78125 --sar 1:1 --non-deterministic --range tv --colormatrix bt709 --demuxer y4m --input-range tv --fps 24/1 --output-depth 8 --output "F:\DVD 9\SEIZOEN 1\DISK 1\VIDEO_TS\2024-01-19@18_38_49_6210_06.264" -
Encoding was stopped after 1613 frames.
(Output should have contained 11297*2 frames; *2 due to QTGMC-Bob)
=> can't see the problem in the debug output you provided.
Cu Selur