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.

Audio encoding crash
#27
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:
# 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()
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
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
Audio encoding crash - by Devilman1 - 01.06.2020, 17:45
RE: Audio encoding crash - by Selur - 02.06.2020, 05:07
RE: Audio encoding crash - by Selur - 02.06.2020, 15:43
RE: Audio encoding crash - by Selur - 02.06.2020, 16:03
RE: Audio encoding crash - by Devilman1 - 02.06.2020, 20:39
RE: Audio encoding crash - by Selur - 02.06.2020, 20:42
RE: Audio encoding crash - by Devilman1 - 02.06.2020, 20:56
RE: Audio encoding crash - by Selur - 03.06.2020, 04:55
RE: Audio encoding crash - by Devilman1 - 03.06.2020, 12:24
RE: Audio encoding crash - by Selur - 03.06.2020, 15:45
RE: Audio encoding crash - by Selur - 03.06.2020, 17:52
RE: Audio encoding crash - by Devilman1 - 03.06.2020, 20:14
RE: Audio encoding crash - by Selur - 03.06.2020, 21:02
RE: Audio encoding crash - by Devilman1 - 04.06.2020, 00:02
RE: Audio encoding crash - by Selur - 04.06.2020, 04:56
RE: Audio encoding crash - by Devilman1 - 04.06.2020, 08:51
RE: Audio encoding crash - by Selur - 04.06.2020, 15:48
RE: Audio encoding crash - by Devilman1 - 04.06.2020, 23:45
RE: Audio encoding crash - by Selur - 05.06.2020, 05:20
RE: Audio encoding crash - by Selur - 05.06.2020, 19:33
RE: Audio encoding crash - by Devilman1 - 06.06.2020, 00:19
RE: Audio encoding crash - by Selur - 06.06.2020, 05:18
RE: Audio encoding crash - by Devilman1 - 06.06.2020, 11:23
RE: Audio encoding crash - by Selur - 06.06.2020, 13:11
RE: Audio encoding crash - by Selur - 06.06.2020, 15:53
RE: Audio encoding crash - by Devilman1 - 06.06.2020, 16:21
RE: Audio encoding crash - by Selur - 06.06.2020, 16:54
RE: Audio encoding crash - by Devilman1 - 06.06.2020, 17:06
RE: Audio encoding crash - by Selur - 06.06.2020, 20:08
RE: Audio encoding crash - by Devilman1 - 07.06.2020, 13:12
RE: Audio encoding crash - by Selur - 07.06.2020, 13:25
RE: Audio encoding crash - by Devilman1 - 07.06.2020, 14:05
RE: Audio encoding crash - by Selur - 07.06.2020, 14:11
RE: Audio encoding crash - by Devilman1 - 07.06.2020, 14:57
RE: Audio encoding crash - by Selur - 07.06.2020, 14:59
RE: Audio encoding crash - by Devilman1 - 07.06.2020, 18:55
RE: Audio encoding crash - by Selur - 07.06.2020, 21:44
RE: Audio encoding crash - by Devilman1 - 09.06.2020, 00:27
RE: Audio encoding crash - by Selur - 09.06.2020, 05:03
RE: Audio encoding crash - by Devilman1 - 09.06.2020, 09:34
RE: Audio encoding crash - by Selur - 09.06.2020, 15:34
RE: Audio encoding crash - by Devilman1 - 10.06.2020, 20:53
RE: Audio encoding crash - by Selur - 10.06.2020, 21:21
RE: Audio encoding crash - by Devilman1 - 10.06.2020, 22:36
RE: Audio encoding crash - by Devilman1 - 11.06.2020, 07:34

Forum Jump:


Users browsing this thread: 1 Guest(s)