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] MvToolsFPSmod (AviSynth) - output plays too fast with wrong number of frames
#1
Bug 
Sorry to keep finding all this stuff... :\

It's amazing to me how fast you're fixing all of this... is Hybrid all you or do you have other contributors? So for what it's worth, thanks!

I tried MvToolsFPSmod for going to 60 fps. This actually looks quite promising! The problem is, in Hybrid, it outputs the wrong number of frames and the wrong duration. The whole video is processed, but plays way too fast. So the frame rate is correct, but duration and number of frames is wrong.

Here's a sample script:

ClearAutoloadDirs()
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\LoadDll.dll")
LoadCPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\ffms2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\mvtools2.dll")
LoadDLL("C:\Program Files\Hybrid\32bit\avisynthPlugins\libfftw3f-3.dll")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\MvToolsFPSmod.avs")
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
# loading source: E:\USER\Test.mp4
#  input color sampling YV12@8, matrix:Rec.601, scantyp: progressive
#  input luminance scale tv
FFVideoSource("E:\USER\Test.mp4",colorspace="YV12")
# current resolution: 656x480
# adjusting frame rate
MvToolsFPSmod(NewNum=60000,NewDen=1001,Preset="Film")
# filtering
PreFetch(4)
return last


Here's what it outputs:

The original frame count is 4828 and the original duration is 3:13 @ 25 fps.

The correct frame count @ 59.94 fps is 11600 and the correct duration is 3:13.527, but the output frame count @ 59.94 fps is 5891 and the duration is 1:38.280.

Tried with several different videos with same results!

[Image: 0ASgpwa.png]
Reply


Messages In This Thread
MvToolsFPSmod (AviSynth) - output plays too fast with wrong number of frames - by The_Tinkerer - 12.07.2020, 04:19

Forum Jump:


Users browsing this thread: 1 Guest(s)