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] FFV1 MKV error
#3
According to the debug output, the Vapourynth script crashes after 252 frames.
Looking at the Vapoursynth script:
# Imports import vapoursynth as vs # getting Vapoursynth core import sys import os core = vs.core # Import scripts folder scriptPath = 'C:/Program Files/Hybrid/64bit/vsscripts' sys.path.insert(0, os.path.abspath(scriptPath)) # loading plugins core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/libmvtools.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/TCanny.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/LSMASHSource.dll") # Import scripts import degrain import validate # Source: 'C:\Users\DSIOMNAINC\Desktop\01_02_davinci (1)-001.mkv' # Current color space: YUV420P10, bit depth: 10, resolution: 3840x2160, frame rate: 25fps, scanorder: progressive, yuv luminance scale: limited, matrix: 709, transfer: bt.709, primaries: bt.709, format: FFV1 # Loading C:\Users\DSIOMNAINC\Desktop\01_02_davinci (1)-001.mkv using LWLibavSource clip = core.lsmas.LWLibavSource(source="C:/Users/DSIOMNAINC/Desktop/01_02_davinci (1)-001.mkv", format="YUV420P10", stream_index=0, cache=0, prefer_hw=0) frame = clip.get_frame(0) # setting color matrix to 709. clip = core.std.SetFrameProps(clip, _Matrix=vs.MATRIX_BT709) # setting color transfer (vs.TRANSFER_BT709), if it is not set. if validate.transferIsInvalid(clip): clip = core.std.SetFrameProps(clip=clip, _Transfer=vs.TRANSFER_BT709) # setting color primaries info (to vs.PRIMARIES_BT2020), if it is not set. if validate.primariesIsInvalid(clip): clip = core.std.SetFrameProps(clip=clip, _Primaries=vs.PRIMARIES_BT2020) # setting color range to TV (limited) range. clip = core.std.SetFrameProps(clip=clip, _ColorRange=vs.RANGE_LIMITED) # making sure frame rate is set to 25fps clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1) # making sure the detected scan type is set (detected: progressive) clip = core.std.SetFrameProps(clip=clip, _FieldBased=vs.FIELD_PROGRESSIVE) # progressive clip = core.std.Crop(clip=clip, left=0, right=0, top=190, bottom=190)# cropping to 3840x1780 # removing grain using MCDegrain clip = degrain.mcdegrainsharp(clip=clip) # set output frame rate to 25fps (progressive) clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1) # output clip.set_output()
The script seem fine to me.
Does the Vapoursynth Preview work when scrolling through frame 250+?

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Offline between (including) 29th of June and 5th of July => RochHarz Festival
Reply


Messages In This Thread
FFV1 MKV error - by dsiomnainc - 07.07.2025, 01:04
RE: FFV1 MKV error - by Selur - 07.07.2025, 04:15
RE: FFV1 MKV error - by Selur - 07.07.2025, 05:23
RE: FFV1 MKV error - by dsiomnainc - 07.07.2025, 06:11
RE: FFV1 MKV error - by Selur - 07.07.2025, 06:32
RE: FFV1 MKV error - by dsiomnainc - 07.07.2025, 06:37
RE: FFV1 MKV error - by Selur - 07.07.2025, 07:31
RE: FFV1 MKV error - by dsiomnainc - 07.07.2025, 09:01
RE: FFV1 MKV error - by Selur - 07.07.2025, 12:30

Forum Jump:


Users browsing this thread: 1 Guest(s)