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.

[BUG] Crash when encoding
#19
Can't reproduce this here.
Looking at the debug output,...
Sadly the debug output does not contain the analysis of the source or the job creation.
I see that Hybrid assumes that the input has 4838 but x264 encodes way more frames.
(Hybrid adjusts the frame count to 11600 frames due to Interframe usage.)
Which explains why Hybrid shows a progress over 100%, but not why it is that much 'off' from the actual frame count.

the encoding call:
"C:\Program Files\Hybrid\64bit\Vapoursynth\vspipe.exe" "C:\Users\Administrator\AppData\Local\Temp\encodingTempSynthSkript_2020-06-30@20_01_22_2010.vpy" - --y4m | "C:\Program Files\Hybrid\64bit\x264.exe" --preset veryslow --crf 18.00 --profile high --level 4.1 --sync-lookahead 12 --vbv-maxrate 62500 --vbv-bufsize 78125 --sar 1:1 --non-deterministic --range tv --colormatrix bt470bg --demuxer y4m  --input-range tv --fps 60000/1001 --output-depth 8 --output "C:\Users\ADMINI~1\AppData\Local\Temp\2020-06-30@20_01_22_2010_02.264" -
and the Vapoursynth script:
# Imports
import os
import sys
import vapoursynth as vs
core = vs.get_core()
# Import scripts folder
scriptPath = 'C:/Program Files/Hybrid/64bit/vsscripts'
sys.path.append(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/SourceFilter/LSmashSource/vslsmashsource.dll")
# Import scripts
import havsfunc
# input color space: YUV420P8, bit depth: 8, resolution: 656x480, fps: 25
# Loading E:\USER\fin\Test\Test.mp4 using LibavSMASHSource
clip = core.lsmas.LibavSMASHSource(source="E:/USER/fin/Test/Test.mp4",fpsnum=25)
# making sure input color matrix is set as 470bg
clip = core.resize.Point(clip, matrix_in_s="470bg",range_s="limited")
# making sure frame rate is set to 25
clip = core.std.AssumeFPS(clip, fpsnum=25, fpsden=1)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# adjusting frame count with Interframe/SVP
clip = havsfunc.InterFrame(clip, Tuning="weak", NewNum=60000, NewDen=1001, OverrideAlgo=23) # new fps: 59.94
# Output
seem fine.

My current speculation is that:
1. the source if vfr
2. Hybrid adjusts the frame count to the number of time codes found in the source
3. the source is broken in a way that the time code count is way lower than the frame count.

Problem with that speculation is, is that this should have the same effect independent whether Avisynth or Vapoursynth is used.

-> without more details, that is all I can say.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
Crash when encoding - by AndreyRGW - 21.06.2020, 21:24
RE: Crash when encoding - by Selur - 22.06.2020, 15:58
RE: Crash when encoding - by AndreyRGW - 24.06.2020, 19:44
RE: Crash when encoding - by Selur - 24.06.2020, 19:50
RE: Crash when encoding - by The_Tinkerer - 27.06.2020, 18:55
RE: Crash when encoding - by Selur - 27.06.2020, 18:57
RE: Crash when encoding - by The_Tinkerer - 28.06.2020, 00:23
RE: Crash when encoding - by The_Tinkerer - 28.06.2020, 02:50
RE: Crash when encoding - by The_Tinkerer - 28.06.2020, 04:28
RE: Crash when encoding - by Selur - 28.06.2020, 07:19
RE: Crash when encoding - by Selur - 28.06.2020, 07:40
RE: Crash when encoding - by The_Tinkerer - 28.06.2020, 14:19
RE: Crash when encoding - by Selur - 28.06.2020, 14:25
RE: Crash when encoding - by The_Tinkerer - 30.06.2020, 08:08
RE: Crash when encoding - by The_Tinkerer - 30.06.2020, 09:21
RE: Crash when encoding - by Selur - 30.06.2020, 17:29
RE: Crash when encoding - by The_Tinkerer - 01.07.2020, 02:18
RE: Crash when encoding - by Selur - 01.07.2020, 04:57
RE: Crash when encoding - by Selur - 01.07.2020, 16:59
RE: Crash when encoding - by The_Tinkerer - 01.07.2020, 23:09
RE: Crash when encoding - by Selur - 02.07.2020, 04:25
RE: Crash when encoding - by Selur - 02.07.2020, 05:00
RE: Crash when encoding - by The_Tinkerer - 02.07.2020, 06:15
RE: Crash when encoding - by Selur - 02.07.2020, 19:50
RE: Crash when encoding - by The_Tinkerer - 02.07.2020, 19:53
RE: Crash when encoding - by Selur - 02.07.2020, 20:02

Forum Jump:


Users browsing this thread: 2 Guest(s)