Posts: 16
Threads: 8
Joined: Jan 2022
I upgraded to the 2023.12.22.1 yesterday, and I installed all the extra files from the Google Drive. When I try to process any video file, I get the same error.
Hybrid version: Hybrid 2023.12.22.1 on Windows 10 Pro (OS build 19045.3803)
Error: Crashed with Exit status 0
Steps: Placed AVI file, turned off all Vapoursync filters except Frames--Resize--RealESRGAN
Debug output: attached, with small sample below
Missing FFMPEG tab: The FFmpeg tab is no longer to the right of (De-)Interlace/Telecine. Is that normal?
2024.01.05 - 10:27:39_Windows 10 Version 22H2 (64bit)_2023.12.22.1 - level 9: FFmpeg output: libpostproc 57. 4.100 / 57. 4.100
2024.01.05 - 10:27:39_Windows 10 Version 22H2 (64bit)_2023.12.22.1 - level 9: FFmpeg output: -vsync is deprecated. Use -fps_mode
Passing a number to -vsync is deprecated, use a string argument as described in the manual.
2024.01.05 - 10:27:58_Windows 10 Version 22H2 (64bit)_2023.12.22.1 - level 9: FFmpeg output: [yuv4mpegpipe @ 000001795afda280] Header too large.
[in#0 @ 000001795c8971c0] Error opening input: Invalid argument
Error opening input file -.
Error opening input files: Invalid argument
2024.01.05 - 10:27:58_Windows 10 Version 22H2 (64bit)_2023.12.22.1 - level 9: process finished with exitcode: -22 and exitStatus: 0
2024.01.05 - 10:27:58_Windows 10 Version 22H2 (64bit)_2023.12.22.1 - level 9: process finished with exitcode: -22 and exitStatus: 0
2024.01.05 - 10:27:58_Windows 10 Version 22H2 (64bit)_2023.12.22.1 - level 9: 2024-01-05@00_14_27_5710_08_video ### J:\#8mm Project\1991-08-19 - Ontario Time Horton's and Wendy'sl - TRV66 - ES15 - DVK200 - AIW9600XT - VDub1911.mov ### 2024-01-05@00_14_27_5710_08_video finished after 00:00:18.966 with exitCode -22
2024.01.05 - 10:27:58_Windows 10 Version 22H2 (64bit)_2023.12.22.1 - level 9: 2024-01-05@00_14_27_5710_08_video ### J:\#8mm Project\1991-08-19 - Ontario Time Horton's and Wendy'sl - TRV66 - ES15 - DVK200 - AIW9600XT - VDub1911.mov ### Crashed with exit status 0
2024.01.05 - 10:27:58_Windows 10 Version 22H2 (64bit)_2023.12.22.1 - level 9: -> 2024-01-05@00_14_27_5710_08_video crashed: Crashed with exit status 0
2024.01.05 - 10:27:58_Windows 10 Version 22H2 (64bit)_2023.12.22.1 - level 9: 2024-01-05@00_14_27_5710_08_video: Crashed with exit status 0
2024.01.05 - 10:27:58_Windows 10 Version 22H2 (64bit)_2023.12.22.1 - level 9: 2024-01-05@00_14_27_5710_08_video: Crashed with exit status 0Please, read the 'Infos needed to fix&reproduce bugs,..'-sticky before you post about a problem.Please, read the 'Infos needed to fix&reproduce bugs,..'-sticky before you post about a problem.
Posts: 10.565
Threads: 57
Joined: May 2017
Quote:Missing FFMPEG tab: The FFmpeg tab is no longer to the right of (De-)Interlace/Telecine. Is that normal?
Yes, since mixing FFmpeg and Synth filters is not advised it's not shown unless 'no XSynth' is selected.
Quote:Crashed: FFmpeg output: -vsync is deprecated
Has nothing to do with the crash.
The crash happens because of:
[yuv4mpegpipe @ 000001795afda280] Header too large.
which indicates that there is some issue with the Vapoursynth rendering:
# 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/SharpenFilter/AWarpSharp2/libawarpsharp2.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/FFT3DFilter/fft3dfilter.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/LSmashSource/vslsmashsource.dll")
# Import scripts
import havsfunc
# source: 'J:\#8mm Project\1991-08-19 - Ontario Time Horton's and Wendy'sl - TRV66 - ES15 - DVK200 - AIW9600XT - VDub1911.avi'
# current color space: YUV422P8, bit depth: 8, resolution: 720x480, fps: 29.97, color matrix: 470bg, yuv luminance scale: limited, scanorder: bottom field first
# Loading J:\#8mm Project\1991-08-19 - Ontario Time Horton's and Wendy'sl - TRV66 - ES15 - DVK200 - AIW9600XT - VDub1911.avi using LWLibavSource
clip = core.lsmas.LWLibavSource(source="J:/#8mm Project/1991-08-19 - Ontario Time Horton's and Wendy'sl - TRV66 - ES15 - DVK200 - AIW9600XT - VDub1911.avi", format="YUV422P8", stream_index=0, cache=0, fpsnum=30000, fpsden=1001, prefer_hw=0)
# Setting detected color matrix (470bg).
clip = core.std.SetFrameProps(clip, _Matrix=5)
# Setting color transfer info (470bg)
clip = core.std.SetFrameProps(clip, _Transfer=5)
# Setting color primaries info (5)
clip = 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 29.97
clip = core.std.AssumeFPS(clip=clip, fpsnum=30000, fpsden=1001)
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=1) # bff
# Deinterlacing using QTGMC
clip = havsfunc.QTGMC(Input=clip, Preset="Fast", TFF=False) # new fps: 29.97
# 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
# Color Adjustment using Levels on YUV422P8 (8 bit)
clip = core.std.Levels(clip=clip, min_in=16, max_in=235, min_out=16, max_out=235, planes=[0])
clip = core.std.CropRel(clip=clip, left=8, right=0, top=0, bottom=0)# cropping to 712x480
from vsrealesrgan import realesrgan as RealESRGAN
# adjusting color space from YUV422P8 to RGBS for vsRealESRGAN
clip = core.resize.Bicubic(clip=clip, format=vs.RGBS, matrix_in_s="470bg", range_s="limited")
# Step 1: current: 712x480, target: 1070x792
# resizing using RealESRGAN
clip = RealESRGAN(clip=clip, model=5, device_index=0, trt=True, trt_cache_path=r"J:\#8mm Project") # 2848x1920
# resizing 2848x1920 to 1070x792
# adjusting resizing
clip = core.fmtc.resample(clip=clip, w=1070, h=792, kernel="lanczos", interlaced=False, interlacedd=False)
# denoising stepped resize using RemoveGrain
# adjusting color space from RGBS to YUV444P16 for vsRemoveGrain
clip = core.resize.Bicubic(clip=clip, format=vs.YUV444P16, matrix_s="470bg", range_s="limited", dither_type="error_diffusion")
# removing grain using RemoveGrain
clip = core.rgvs.RemoveGrain(clip=clip, mode=2)
clip = core.resize.Bicubic(clip=clip, format=vs.RGBS, matrix_in_s="470bg", range_s="limited")
# sharpening stepped resize using aWarpSharp2
# adjusting color space from RGBS to YUV444P16 for vsAWarpSharp2
clip = core.resize.Bicubic(clip=clip, format=vs.YUV444P16, matrix_s="470bg", range_s="limited", dither_type="error_diffusion")
# sharpening using AWarpSharp2
clip = core.warp.AWarpSharp2(clip=clip, depth=5)
# adjusting color space from YUV444P16 to RGBS for vsRealESRGAN
clip = core.resize.Bicubic(clip=clip, format=vs.RGBS, matrix_in_s="470bg", range_s="limited")
# Step 2: current: 1070x792, target: 1414x1080
# resizing using RealESRGAN
clip = RealESRGAN(clip=clip, model=5, device_index=0, trt=True, trt_cache_path=r"J:\#8mm Project") # 4280x3168
# resizing 4280x3168 to 1414x1080
# adjusting resizing
clip = core.fmtc.resample(clip=clip, w=1414, h=1080, kernel="lanczos", interlaced=False, interlacedd=False)
# adjusting output color from: RGBS to YUV422P10 for ProResModel
clip = core.resize.Bicubic(clip=clip, format=vs.YUV422P10, matrix_s="470bg", range_s="limited", dither_type="error_diffusion")
# set output frame rate to 29.97fps (progressive)
clip = core.std.AssumeFPS(clip=clip, fpsnum=30000, fpsden=1001)
# Output
clip.set_output()
Does the Vapoursynth Preview work?
Using stepped Resizing with RealESRGAN will require lots of VRAM.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 16
Threads: 8
Joined: Jan 2022
UPDATE: I have narrowed down the problem to the Tensor RT for any resizer that uses it (eg, RealESRGAN, FeMaSR, etc.)
- When I select Tensor RT, I get the error, whether Stepped Resize is selected or not.
- When I de-select Tensor RT, the video renders properly, whether Stepped Resize is selected or not.
Note, I have an Nvidia GeForce RTX 3060ti GPU (driver 537.42) and I was able to render videos with Tensor RT selected with my previous version of Hybrid.
Posts: 10.565
Threads: 57
Joined: May 2017
05.01.2024, 20:59
(This post was last modified: 05.01.2024, 21:00 by Selur.)
I'm using the latest stable Studio Drivers 546.33 (from 12/12/2023) and have no problems. (537.42 drivers are from 21/9/2023)
According to NVIDIA the 546.33 drivers should be available for your card too.
=> does updating your drivers (and restarting Windows) fix the problem?
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 16
Threads: 8
Joined: Jan 2022
UPDATE: As recommended by Selur, I updated the driver of my Nvidia GForce GPU (from driver 537.42 to 546.33) and that solved the problem. I can now select the Tensor RT option in Resize--RealESRGAN without the process failing.
Thanks.
Posts: 10.565
Threads: 57
Joined: May 2017
Happy, that solved the problem.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 36
Threads: 0
Joined: Oct 2022
Just want ppl to know, that ESRgan works great on Nvidia Driver release 546.01 too.
Incase they are forced to roll back to earlier release for some reason... like me !
Atm iam forced to use older driver release because of other issue's with latest nvidia driver
Since i've changed red for green, it hasn't been the greatest "nvidia experience" for me.. App features ingames that doesn't appear, and can only be solved by a windows registry cleanup of nvidia entries, which is a daunting task maintaining a huge library like that .. monitor backlit bleeding issue's, because of a bugged driver...
Which isn't uncommon to nvidia driver from what i"ve read so far !
But NVIDIA cards SURE has some → QUALITY ← advantages over AMD regarding video processing .. unfortunately..
cheers,
TD
|