Posts: 22
Threads: 7
Joined: Dec 2022
I have no idea why this is happening. Version is 2024.05.11 because after I upscale it I want to encode it again, but I don't want to deinterlace it since that's already happened (or should, if this encode worked).
Video file: https://drive.google.com/file/d/1dPI8hJo...sp=sharing
Base:
https://i.imgur.com/jKXlBMV.png
x265 Settings (because they don't save properly to a settings file (very old Hybrid bug with settings in general) and need to be set manually every time the program is opened):
https://i.imgur.com/h8U3ACK.png
https://i.imgur.com/p4yOFsE.png
Crop/Resize:
https://i.imgur.com/f0jmHoF.png
AVISynth Settings:
https://i.imgur.com/4jsp6LH.png
https://i.imgur.com/uwI7O2L.png
https://i.imgur.com/TK7gOGn.png
https://i.imgur.com/Ld8CAiP.png
https://i.imgur.com/R53Okjf.png
https://i.imgur.com/rcVu0rd.png
https://i.imgur.com/hjBrfYZ.png
Log:
Quote:adding 4 video related calls for source: 1
createJobs for E:\Hybrid\Output\Dragon Ball E073.mkv
creating audio subjobs,...
creating attachment extraction subjobs
creating video subjobs
creating muxing subjobs
optimizing the subJobs
-> finished creating subjobs for current source
added new job with id 2024-07-29@06_05_06_9310
starting 2024-07-29@06_05_06_9310_01_audio@06:05:15.490 - E:\Hybrid\Output\Dragon Ball E073.mkv
2024-07-29@06_05_06_9310_01_audio finished after 00:00:00.578
starting 2024-07-29@06_05_06_9310_04_video@06:05:22.012 - E:\Hybrid\Output\Dragon Ball E073.mkv
2024-07-29@06_05_06_9310_04_video finished after 00:00:00.033
-> 2024-07-29@06_05_06_9310_04_video crashed: ERROR: E:\Hybrid\Temp\2024-07-29@06_05_06_9310_04.265 was not created!
Aborting '2024-07-29@06_05_06_9310_04_video' due to: ERROR: E:\Hybrid\Temp\2024-07-29@06_05_06_9310_04.265 was not created!
Sometimes the log includes this:
Quote:-> 2024-07-29@06_05_06_9310_04_video crashed: Helper1, exitCode: -1313558101
Aborting '2024-07-29@06_05_06_9310_04_video' due to: Helper1, exitCode: -1313558101
Posts: 10.551
Threads: 57
Joined: May 2017
create&share a debug output
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 22
Threads: 7
Joined: Dec 2022
(29.07.2024, 12:12)Selur Wrote: create&share a debug output
How do you do that?
(29.07.2024, 12:12)Selur Wrote: create&share a debug output
I figured it out I think? Here it is.
https://drive.google.com/file/d/1_yeuORX...sp=sharing
It's entirely because of the Deinterlacer: QTGMC(preset="Slow") option, pictured here: https://i.imgur.com/T6D6aBS.png
All of the QTGMC options cause a crash, other ones will encode properly.
Posts: 22
Threads: 7
Joined: Dec 2022
I have no desire to use the newer versions that removed the "None" option for deinterlacing, but I decided to try 2024.06.16.1 (the latest one as of this post) to rule out it being an issue that's been fixed already, it hasn't. Same errors, same issues. It's purely centered around that Deinterlacer: QTGMC option.
Posts: 10.551
Threads: 57
Joined: May 2017
The Avisynth script seems fine:
ClearAutoloadDirs()
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
LoadPlugin("C:\Program Files\Hybrid\32bit\avisynthPlugins\LoadDll.dll")
LoadPlugin("C:\Program Files\Hybrid\32bit\avisynthPlugins\AutoAdjust.dll")
LoadPlugin("C:\Program Files\Hybrid\32bit\avisynthPlugins\DePan.dll")
LoadPlugin("C:\Program Files\Hybrid\32bit\avisynthPlugins\DePanEstimate.dll")
LoadCPlugin("C:\Program Files\Hybrid\32bit\avisynthPlugins\yadif.dll")
LoadPlugin("C:\Program Files\Hybrid\32bit\avisynthPlugins\nnedi3.dll")
LoadPlugin("C:\Program Files\Hybrid\32bit\avisynthPlugins\RgTools.dll")
LoadPlugin("C:\Program Files\Hybrid\32bit\avisynthPlugins\TDeint.dll")
LoadPlugin("C:\Program Files\Hybrid\32bit\avisynthPlugins\mvtools2.dll")
LoadPlugin("C:\Program Files\Hybrid\32bit\avisynthPlugins\masktools2.dll")
LoadPlugin("C:\Program Files\Hybrid\32bit\avisynthPlugins\FFT3DFilter.dll")
LoadPlugin("C:\Program Files\Hybrid\32bit\avisynthPlugins\eedi3.dll")
LoadPlugin("C:\Program Files\Hybrid\32bit\avisynthPlugins\EEDI2.dll")
LoadPlugin("C:\Program Files\Hybrid\32bit\avisynthPlugins\dfttest.dll")
LoadPlugin("C:\Program Files\Hybrid\32bit\avisynthPlugins\AddGrainC.dll")
LoadPlugin("C:\Program Files\Hybrid\32bit\avisynthPlugins\TIVTC.dll")
LoadDLL("C:\Program Files\Hybrid\32bit\avisynthPlugins\libfftw3f-3.dll")
LoadPlugin("C:\Program Files\Hybrid\32bit\avisynthPlugins\DGDecode.dll")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\mtmodes.avsi")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\Hysteria.avsi")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\MCDegrainSharp.avs")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\Stab.avs")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\Zs_RF_Shared.avsi")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\SMDegrain.avsi")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\QTGMC.avsi")
# loading source: E:\Hybrid\Input\Dragon Ball E073.mpg
# color sampling YV12@8, matrix: bt601, scantyp: telecine, luminance scale: limited
MPEG2Source(d2v="E:\Hybrid\Temp\2024-07-29@06_17_59_8110.d2v",fieldop=0)
# current resolution: 720x480
# deinterlacing
A2 = last
A2 = A2QTGMC(preset="slow", ediThreads=2, FPSDivisor=2))
TFM(clip2 = A2)
TDecimate()
AssumeFrameBased()
# stabilizing unsing Stab
Stab(range=5,dxmax=4,dymax=4,pixaspect=0.888889)
# cropping
Crop(4,4,-4,-4)# 712x472
ConvertToRGB(interlaced=false, matrix="Rec601")
RGBAdjust(r=1.02,g=0.95,b=1.00,a=1.00,rb=0,gb=0,bb=0,ab=0,rg=1.00,gg=1.00,bg=1.00,ag=1.00,analyze=false,dither=false)
ConvertToYV24(interlaced=false, matrix="Rec601")
AutoAdjust(auto_gain=true,bright_limit=1.30,gamma_limit=1.15,auto_balance=true)
McDegrainSharp(frames=3,csharp=0.60)
Hysteria(strength=1.5)
# Converting from 8 to 10bit for encoder
ConvertBits(10)
# adjust color to YV12 (color matrix: Rec601)
ConvertToYUV420()
# setting output fps to 23.976fps
AssumeFPS(24000,1001)
PreFetch(8)
# output: color sampling YV24@10, matrix: bt601, scantyp: progressive, luminance scale: limited
return last
Decoding call:
"C:\Program Files\Hybrid\32bit\ffmpeg.exe" -y -loglevel fatal -noautorotate -nostdin -threads 8 -i "E:\Hybrid\Temp\encodingTempSynthSkript_2024-07-29@06_17_59_8110_0.avs" -an -sn -color_primaries bt470m -color_trc smpte170m -colorspace bt470bg -color_range tv -pix_fmt yuv420p10le -strict -1 -vsync 0 -f yuv4mpegpipe -
seems fine too, but it crashes with:
Error opening input files: Unknown error occurred
=>
a. Does the Avisynth Preview work?
b. Does it work if you use 64bit Avisynth?
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 10.551
Threads: 57
Joined: May 2017
29.07.2024, 15:04
(This post was last modified: 29.07.2024, 15:16 by Selur.)
ARGH,.. I see the bug:
A2 = A2QTGMC(preset="slow", ediThreads=2, FPSDivisor=2))
should be:
A2 = QTGMC(A2,preset="fast", ediThreads=2, FPSDivisor=2)
or
A2 = A2.QTGMC(preset="fast", ediThreads=2, FPSDivisor
(both do the same)
=> will fix
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 10.551
Threads: 57
Joined: May 2017
Uploaded a fixed version to the "experimental"-folder of my GoogleDrive where the torch-&vsmlrt-addons are present.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 22
Threads: 7
Joined: Dec 2022
It is fixed in that version, sadly it's still not a viable option to main because I'll never know if it's trying to deinterlace something that's already deinterlaced. My process for this project requires encoding it through Hybrid, then upscaling it, then encoding the upscale to touch things up further, but at that point it's already deinterlaced and CAN'T have QTGMC doing anything else on it. https://forum.selur.net/thread-3792-post...l#pid23461
I don't think it's possible to have two Hybrids installed either.
Posts: 10.551
Threads: 57
Joined: May 2017
Happy to hear, that that fixed it.
You can use multiple Hybrid version if you turn then in portable versions. (see: [INFO] *hidden* Hybrid options,...).
Quote:My process for this project requires encoding it through Hybrid, then upscaling it, then encoding the upscale to touch things up further, but at that point it's already deinterlaced and CAN'T have QTGMC doing anything else on it.
If your source is progressive and not flagged as interlaced, Hybrid will not deinterlace.
If your source is progressive and falsely flagged as interlaced, you can enable 'Overwrite input scan type to' and set it to 'progressive', this way Hybrid knows that the source is progressive (despite the flag) and will not deinterlace.
=> I do not get in what scenario Hybrid would deinterlace unless it has to assume deinterlacing is needed to avoid breaking the field structure.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
|