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
#1
Hello!

I get an error when muxing FFV1 to MKV on Hybrid_2025.05.18.2, no matter what I do, it ends with an error. I rolled back to my previous version Hybrid_dev_2025.03.31-173655 and there is no such error. 

Hybrid report file and sample problem video:
https://cloud.mail.ru/public/8BZq/5Z7Qfgnx1
Reply
#2
I will look at it after work and report back.

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
#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
#4
I am attaching a link to the report file specifically for the previously attached file.
Vapoursynth Preview works on the entire range of the file.
I noticed that if you disable the MCDegrainSharp filter, the error does not appear.

https://cloud.mail.ru/public/MZZ9/ph2S2ZYpg
Reply
#5
Now it crashed after 132 frames,...
maybe a new virus scanner running amok?
----
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
#6
(07.07.2025, 06:32)Selur Wrote: Now it crashed after 132 frames,...
maybe a new virus scanner running amok?

132 frames is the total length of the video, I tried to disable Windows Defender, the problem remained. 
If I roll back to the old version of Hybrid, then everything is fine with the same video and the same settings.
Reply
#7
Better try the latest dev instead first,...
----
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
#8
(07.07.2025, 07:31)Selur Wrote: Better try the latest dev instead first,...

Same error...
Reply
#9
Can't reproduce this here. (with latest dev)
TCanny: https://github.com/HomeOfVapourSynthEvol...y/releases
and
mvtools: https://github.com/dubhater/vapoursynth-...s/releases
weren't updated either.

=> no clue, why this is happening on your system

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


Forum Jump:


Users browsing this thread: 2 Guest(s)