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.

[HELP] Encoding wird zu früh beendet
#6
Wenn Dich mir die MediaInfo Ausgaben anschaue sehe ich:
  • X:\Aufnahmen\Tape_01_MAGY_from_Laga_asynch.avi hat 735625 frames
  • Q:\!ACHTUNG AUFNAHME!\Tape_02_NEW_CASE_VD64.00.avi hat 732370 frames
  • X:\Aufnahmen\Tape_02_NEW_CASE_VD64.00_MAGY.avi hat 732370 frames
  • O:\Aufnahmen\Tape_02_NEW_CASE_VD64.00_MAGY_TEMP.mkv hat 732370 frames
  • O:\Aufnahmen\Tape_02_NEW_CASE_VD64.00_MAGY.avi hat 732370 frames
  • S:\Done\Tape_01_MAGY_from_Laga_asynch.mkv hat 967223 frames

Schaue ich mir an was encoded wurde, sehe ich:
  • Für S:\Done\Tape_02_NEW_CASE_VD64.00_MAGY.mkv wurde QTGMC im BOB mode verwendet und 1005231 Frames encoded.
    Das sind wenige Frames als erwartet.
  • Für S:\Done\Tape_01_MAGY_from_Laga_asynch.mkv  wurden 967223 Frames encoded, aber ich sehe keine Infos zum Vapoursynth script im DebugOutput, sie sind deinem Löschen des DebugOutputs wohl zum Opfer gefallen.
  • Für S:\Done\Tape_02_NEW_CASE_VD64.00_MAGY_TEMP.mkv wurde QTGMC im BOB mode verwendet und 1464740 encoded, dass passt also.

Das Vapoursynth Skript was bei X:\Aufnahmen\Tape_01_MAGY_from_Laga_asynch.avi verwendet wurde ist:
# Imports
import os
import sys
import ctypes
# Loading Support Files
Dllref = ctypes.windll.LoadLibrary("D:/Tools/Hybrid/64bit/vsfilters/Support/libfftw3-3.dll")
Dllref = ctypes.windll.LoadLibrary("D:/Tools/Hybrid/64bit/vsfilters/Support/libfftw3f-3.dll")
import vapoursynth as vs
# getting Vapoursynth core
core = vs.core
# Import scripts folder
scriptPath = 'D:/Tools/Hybrid/64bit/vsscripts'
sys.path.insert(0, os.path.abspath(scriptPath))
# Loading Plugins
core.std.LoadPlugin(path="D:/Tools/Hybrid/64bit/vsfilters/SharpenFilter/CAS/CAS.dll")
core.std.LoadPlugin(path="D:/Tools/Hybrid/64bit/vsfilters/DebandFilter/Flash3kDeband/flash3kyuu_deband.dll")
core.std.LoadPlugin(path="D:/Tools/Hybrid/64bit/vsfilters/SharpenFilter/AWarpSharp2/libawarpsharp2.dll")
core.std.LoadPlugin(path="D:/Tools/Hybrid/64bit/vsfilters/Support/TCanny.dll")
core.std.LoadPlugin(path="D:/Tools/Hybrid/64bit/vsfilters/Support/libtemporalmedian.dll")
core.std.LoadPlugin(path="D:/Tools/Hybrid/64bit/vsfilters/Support/vcm.dll")
core.std.LoadPlugin(path="D:/Tools/Hybrid/64bit/vsfilters/GrainFilter/RemoveGrain/RemoveGrainVS.dll")
core.std.LoadPlugin(path="D:/Tools/Hybrid/64bit/vsfilters/GrainFilter/AddGrain/AddGrain.dll")
core.std.LoadPlugin(path="D:/Tools/Hybrid/64bit/vsfilters/DenoiseFilter/NEO_FFT3DFilter/neo-fft3d.dll")
core.std.LoadPlugin(path="D:/Tools/Hybrid/64bit/vsfilters/DenoiseFilter/DFTTest/DFTTest.dll")
core.std.LoadPlugin(path="D:/Tools/Hybrid/64bit/vsfilters/Support/EEDI3m.dll")
core.std.LoadPlugin(path="D:/Tools/Hybrid/64bit/vsfilters/ResizeFilter/nnedi3/NNEDI3CL.dll")
core.std.LoadPlugin(path="D:/Tools/Hybrid/64bit/vsfilters/Support/libmvtools.dll")
core.std.LoadPlugin(path="D:/Tools/Hybrid/64bit/vsfilters/Support/temporalsoften.dll")
core.std.LoadPlugin(path="D:/Tools/Hybrid/64bit/vsfilters/Support/scenechange.dll")
core.std.LoadPlugin(path="D:/Tools/Hybrid/64bit/vsfilters/Support/fmtconv.dll")
core.std.LoadPlugin(path="D:/Tools/Hybrid/64bit/vsfilters/MiscFilter/MiscFilters/MiscFilters.dll")
core.std.LoadPlugin(path="D:/Tools/Hybrid/64bit/vsfilters/SourceFilter/FFMS2/ffms2.dll")
# Import scripts
import mvsfunc
import muvsfunc
import G41Fun
import havsfunc
# source: 'X:\Aufnahmen\Tape_01_MAGY_from_Laga_asynch.avi'
# current color space: RGB24, bit depth: 8, resolution: 720x576, fps: 25, color matrix: 470bg, yuv luminance scale: limited, scanorder: top field first
# Loading source using FFMS2
clip = core.ffms2.Source(source="X:/Aufnahmen/Tape_01_MAGY_from_Laga_asynch.avi",cachefile="D:/TEMP/2022-06-07@20_55_29_1110.ffindex",format=vs.RGB24,alpha=False)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# making sure frame rate is set to 25
clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1)
# adjusting color space from RGB24 to YUV444P8 for VsQTGMC
clip = core.resize.Bicubic(clip=clip, format=vs.YUV444P8, matrix_s="470bg", range_s="limited")
# setting field order to what QTGMC should assume (top field first)
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=2)
# Deinterlacing using QTGMC
clip = havsfunc.QTGMC(Input=clip, Preset="Faster", TFF=True, opencl=True) # new fps: 50
# make sure content is preceived as frame based
clip = core.std.SetFieldBased(clip, 0)
# cropping the video to 688x552
clip = core.std.CropRel(clip=clip, left=22, right=10, top=8, bottom=16)
# denoising using mClean
clip = G41Fun.mClean(clip=clip, chroma=False, deband=2, strength=7)
# contrast sharpening using CAS
clip = core.cas.CAS(clip=clip, sharpness=0.600)
# adjusting output color from: YUV444P8 to YUV420P8 for x264Model
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8, range_s="limited")
# set output frame rate to 50.000fps
clip = core.std.AssumeFPS(clip=clip, fpsnum=50, fpsden=1)
# Output
clip.set_output()
und sieht recht normal aus.
Man sieht auch sonst nirgends Fehler.

Meine Vermutung ist, dass das Problem liegt am SourceFilter der verwendet wird.
Da Du .avi als Input hast und falls Du auch 64bit vfw Decoder für das Format im System installiert hast könntest Du mal schauen ob es einen unterschied macht in der angezeigten Frameanzahl  (linke untere Ecke) im Vapoursynth Preview wenn Du "Filtering->Vapoursynth->Misc->Source->Prefer AvisSource for .avi input" aktivierst. Falls dies der Fall ist dann liegt das Problem am verwendeten Sourcefilter (hier ffms2.Source) der nicht mit dem File richtig klar kommt.
Falls das Problem nicht am SourceFilter liegt...
  • und die Quelle auf einem externen Medium liegt, kann eine kurz Unterbrechung der Verbindung dazu führen, dass x264 vorzeitig abbricht ohe das Fehler zu sehen sind.
  • kann ein übereifiger Virenscanner&Co dazu führen, dass kurzzeitig nicht auf die Datei zugegriffen werden kann und x264 vorzeitig abbricht ohe das Fehler zu sehen sind. (Darum schauen, dass Input-, Output- und Temp- und der Hybrid-Ordner nicht extra gescannt werden.)

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


Messages In This Thread
Encoding wird zu früh beendet - by c4rD1g4n - 08.06.2022, 01:01
RE: Encoding wird zu früh beendet - by Selur - 08.06.2022, 06:50
RE: Encoding wird zu früh beendet - by Selur - 08.06.2022, 15:20
RE: Encoding wird zu früh beendet - by Selur - 08.06.2022, 16:42

Forum Jump:


Users browsing this thread: 1 Guest(s)