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] Hybrid crashing
#2
[yuv4mpegpipe @ 000001d095dd8140] Header too large.
Something is wrong with the vapoursynth script, does the Vapoursynth Preview work correctly?

# Imports import vapoursynth as vs import os import ctypes # Loading Support Files Dllref = ctypes.windll.LoadLibrary("C:/Program Files/Hybrid/64bit/vsfilters/Support/libfftw3f-3.dll") import sys # getting Vapoursynth core core = vs.core # Import scripts folder scriptPath = 'C:/Program Files/Hybrid/64bit/vsscripts' sys.path.insert(0, os.path.abspath(scriptPath)) # Loading Plugins core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/FrameFilter/Interframe/svpflow2_vs64.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/FrameFilter/Interframe/svpflow1_vs64.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SharpenFilter/CAS/CAS.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/CTMF/CTMF.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/HQDN3D/libhqdn3d.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/RemoveDirt/RemoveDirtVS.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/Support/EEDI3m.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/NEO_FFT3DFilter/neo-fft3d.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/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/SourceFilter/LSmashSource/vslsmashsource.dll") # Import scripts import edi_rpow2 import interframe import mvsfunc import rescued import killerspots import adjust import havsfunc # source: 'S:\DeSpot-IN\MancunianMan1_2.mov' # current color space: YUV422P10, bit depth: 10, resolution: 720x576, fps: 25, color matrix: 709, yuv luminance scale: limited, scanorder: top field first # Loading S:\DeSpot-IN\MancunianMan1_2.mov using LWLibavSource clip = core.lsmas.LWLibavSource(source="S:/DeSpot-IN/MancunianMan1_2.mov", format="YUV422P10", stream_index=1, cache=0, fpsnum=25, prefer_hw=0) # Setting detected color matrix (709). clip = core.std.SetFrameProps(clip, _Matrix=1) # Setting color transfer info (709), when it is not set clip = clip if not core.text.FrameProps(clip,'_Transfer') else core.std.SetFrameProps(clip, _Transfer=1) # Setting color primaries info (BT.601 PAL), when it is not set 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) clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=2) # tff # adjusting frame count and rate with sRestore clip = havsfunc.srestore(source=clip, frate=23.9760, omode=6, speed=9, thresh=16, mode=2) # Color Adjustment clip = adjust.Tweak(clip=clip, hue=0.00, sat=0.80, cont=1.00, coring=True) # converting interlaced to full-height progressive for filtering (vsKillerSpots) (using: QTGMC(preset="Fast")) clip = havsfunc.QTGMC(Input=clip, Preset="Fast", Lossless=2, TFF=True) # new fps: 47.952 clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=0) # progressive # adjusting color space from YUV422P10 to YUV420P8 for vsKillerSpots clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8, range_s="limited", dither_type="error_diffusion") clip = killerspots.KillerSpots(clip=clip, advanced=False) # cropping the video to 676x554 clip = core.std.CropRel(clip=clip, left=28, right=16, top=14, bottom=8) # removing grain using TemporalDegrain clip = rescued.TemporalDegrain(inpClip=clip, sigma=20.00, blockWidth=4, blockHeight=4, overlapWidth=8, overlapHeight=8, blockSize=4, maxPxChange=3) # denoising using HQDN3D clip = core.hqdn3d.Hqdn3d(clip=clip, lum_spac=0.00, chrom_spac=7.00, chrom_tmp=10.50) # contrast sharpening using CAS clip = core.cas.CAS(clip=clip) # deringing using HQDeringmod clip = havsfunc.HQDeringmod(clip, nrmode=2, darkthr=3.0) # adjusting frame count with Interframe/SVP clip = interframe.InterFrame(clip, Tuning="smooth", NewNum=60000, NewDen=1001, OverrideAlgo=2, overwriteSmooth="{rate:{num:60000,den:1001,abs:true},algo:2,mask:{area:100},scene:{mode:0}}") # new fps: 59.9401 clip = core.std.AddBorders(clip=clip, left=0, right=0, top=0, bottom=2) # add borders to archive mod 4 (NNEDI3(CL)) - 676x556 # resizing using ZNEDI3 # current: 676x556 target: 1440x1080 -> pow: 4 clip = edi_rpow2.nnedi3_rpow2(clip=clip, rfactor=4) # 2704x2224 clip = core.std.CropRel(clip=clip, left=0, right=0, top=0, bottom=8) # removing borders (NNEDI3(CL)) - 2704x2216 # adjusting resizing clip = core.fmtc.resample(clip=clip, w=1440, h=1080, kernel="lanczos", interlaced=False, interlacedd=False)# before YUV420P8 after YUV420P16 # letterboxing 1440x1080 to 1920x1080 clip = core.std.AddBorders(clip=clip, left=240, right=240, top=0, bottom=0) # converting full-height progressive to interlaced for 'progressive to interlaced (1)' clip = core.std.SeparateFields(clip=clip, tff=True) clip = core.std.SelectEvery(clip=clip, cycle=4, offsets=[0, 3]) clip = core.std.DoubleWeave(clip=clip, tff=True) # resolution 1920x1080 clip = core.std.SelectEvery(clip=clip, cycle=2, offsets=0) # new fps: 29.97 clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=2) # tff # adjusting output color from: YUV420P16 to YUV422P10 for ProResModel clip = core.resize.Bicubic(clip=clip, format=vs.YUV422P10, range_s="limited", dither_type="error_diffusion") # set output frame rate to 29.97fps (top field first) clip = core.std.AssumeFPS(clip=clip, fpsnum=30000, fpsden=1001) # Output clip.set_output()
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
Hybrid crashing - by Miranda - 16.07.2023, 15:09
RE: Hybrid crashing - by Selur - 16.07.2023, 17:20
RE: Hybrid crashing - by Miranda - 16.07.2023, 19:35
RE: Hybrid crashing - by Selur - 16.07.2023, 19:57
RE: Hybrid crashing - by Miranda - 16.07.2023, 19:58
RE: Hybrid crashing - by Selur - 16.07.2023, 19:59
RE: Hybrid crashing - by Miranda - 16.07.2023, 20:00
RE: Hybrid crashing - by Selur - 17.07.2023, 14:40
RE: Hybrid crashing - by jedson - 28.07.2023, 01:19
RE: Hybrid crashing - by Selur - 28.07.2023, 05:34
RE: Hybrid crashing - by jedson - 28.07.2023, 15:19
RE: Hybrid crashing - by Selur - 28.07.2023, 15:27
RE: Hybrid crashing - by jedson - 28.07.2023, 16:45
RE: Hybrid crashing - by Selur - 28.07.2023, 16:49
RE: Hybrid crashing - by ToiletDuck - 28.07.2023, 18:24
RE: Hybrid crashing - by Selur - 28.07.2023, 18:27
RE: Hybrid crashing - by ToiletDuck - 28.07.2023, 18:31

Forum Jump:


Users browsing this thread: 1 Guest(s)