06.06.2020, 16:54
Remuxing didn't really help the headers are all over the place. Frame count is still totally wrong.
I enabled 'Config->Internals->Handling->Prefer Original->Frame rate' so that Hybrid will recognice the source as 23.976 (the info from the stream and not from the contains) and I also changed 'Filtering->Vapoursynth->Misc->Mibav hardware decoding mode' to '1', do speed up decoding (didn't do much, since the main ).
Vapoursynth script looks like this:
and Vapoursynth preview works fine.
Video encoding started without a problem and is runnding at 3fps atm.
Video decoding and encoding did not crash like in your debug output.
Since the muxing was the main issue I aborted here and send configured Hybrid to only encode 10sec of the clip, created the job anew and started encoding.
Encoding worked fine and audio player fine.
(Found an issue that Vapoursynth should have enforced cfr decoding, but I fixed that.)
-> can't reproduce the video decoding crash or the muxing problem so far.
Are your sure your system is stable, not overclocked and has no heat and/or memory issues?
Also check your free space (Hybrid does not delete temp files when a job crashes).
Did a full reencode of the full clip you shared with me, but I used 'HDR10 to SDR (DG)' instead of 'HDR10toSDR' since it uses the gpu which speeds up tone mapping quite a bit. (1st and 2nd pass running at 17fps instead of 3fps).
And audio muxing worked fine.
Cu Selur
I enabled 'Config->Internals->Handling->Prefer Original->Frame rate' so that Hybrid will recognice the source as 23.976 (the info from the stream and not from the contains) and I also changed 'Filtering->Vapoursynth->Misc->Mibav hardware decoding mode' to '1', do speed up decoding (didn't do much, since the main ).
Vapoursynth script looks like this:
# Imports
import os
import sys
import vapoursynth as vs
core = vs.get_core()
# Import scripts folder
scriptPath = 'I:/Hybrid/64bit/vsscripts'
sys.path.append(os.path.abspath(scriptPath))
# Loading Plugins
core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/Support/fmtconv.dll")
core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
# Import scripts
import tmap
# input color space: YUV420P10, bit depth: 10
# Loading F:\cut_av_passthrough.mkv using LWLibavSource
clip = core.lsmas.LWLibavSource(source="F:/cut_av_passthrough.mkv", format="YUV420P10", cache=0, prefer_hw=1)
# making sure input color matrix is set as 2020ncl
clip = core.resize.Point(clip, matrix_in_s="2020ncl",range_s="limited")
# making sure frame rate is set to 23.976
clip = core.std.AssumeFPS(clip, fpsnum=24000, fpsden=1001)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# Color Adjustment
clip = tmap.hablehdr10tosdr(clip=clip, source_peak=1000, desat=50, tFormat=vs.YUV420P8, tMatrix="709", tRange="limited", color_loc="center", lin="True", show_satmask="False", show_clipped="False")
clip = core.fmtc.resample(clip=clip, kernel="spline16", w=716, h=388, interlaced=False, interlacedd=False)
# adjusting output color from: YUV420P16 to YUV420P8 for xvidModel (i420)
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8, range_s="limited")
# Output
clip.set_output()
Video encoding started without a problem and is runnding at 3fps atm.
Video decoding and encoding did not crash like in your debug output.
Since the muxing was the main issue I aborted here and send configured Hybrid to only encode 10sec of the clip, created the job anew and started encoding.
Encoding worked fine and audio player fine.
(Found an issue that Vapoursynth should have enforced cfr decoding, but I fixed that.)
-> can't reproduce the video decoding crash or the muxing problem so far.
Are your sure your system is stable, not overclocked and has no heat and/or memory issues?
Also check your free space (Hybrid does not delete temp files when a job crashes).
Did a full reencode of the full clip you shared with me, but I used 'HDR10 to SDR (DG)' instead of 'HDR10toSDR' since it uses the gpu which speeds up tone mapping quite a bit. (1st and 2nd pass running at 17fps instead of 3fps).
And audio muxing worked fine.
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.