Topic: wrong framerate detected
while trying to play video with mpv and using paramater "--input-ipc-server=mpvpipe", it always fails due to wrong framerate was detected. i'm told from the scripts.
super_params = "{scale:{up:0},gpu:1,rc:true}"
analyse_params = "{main:{search:{coarse:{distance:-8,bad:{sad:2000,range:24}},type:2}},refine:[{thsad:250}]}"
smoothfps_params = "{gpuid:21,rate:{num:32,den:1},algo:13,mask:{area:100},scene:{}}"
src_fps = container_fps if container_fps>0.1 else 1.875
demo_mode = 0
stereo_type = 0
nvof = 0
//original frame rate at 30fps
smoothfps_params = "{gpuid:21,gpu_qn:2,rate:{num:2767,den:7},algo:13,mask:{area:100},scene:{}}"
src_fps = container_fps if container_fps>0.1 else 0.152
demo_mode = 0
stereo_type = 0
nvof = 0
//original frame rate at 6fps
also mpv got errors:
[vapoursynth] Script evaluation failed:
[vapoursynth] Python exception: Filter SVSmoothFps returned zero or negative frame count
[vapoursynth]
[vapoursynth] Traceback (most recent call last):
[vapoursynth] File "src\cython\vapoursynth.pyx", line 1946, in vapoursynth.vpy_evaluateScript
[vapoursynth] File "src\cython\vapoursynth.pyx", line 1947, in vapoursynth.vpy_evaluateScript
[vapoursynth] File "C:\Users\zxhzxhz\AppData\Roaming\SVP4\scripts\530771e.py", line 56, in <module>
[vapoursynth] smooth = interpolate(clip)
[vapoursynth] File "C:\Users\zxhzxhz\AppData\Roaming\SVP4\scripts\530771e.py", line 39, in interpolate
[vapoursynth] smooth = core.svp2.SmoothFps(input_m,super["clip"],super["data"],vectors["clip"],vectors["data"],smoothfps_params,src=input_um,fps=src_fps)
[vapoursynth] File "src\cython\vapoursynth.pyx", line 1852, in vapoursynth.Function.__call__
[vapoursynth] vapoursynth.Error: Filter SVSmoothFps returned zero or negative frame count
[vapoursynth]
[vapoursynth] could not init VS
Disabling filter vapoursynth.00 because it has failed.
and also runtime error:
---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Assertion failed!
Program: ...
File: ../video/filter/vf_vapoursynth.c
Line: 598
Expression: !p->in_node_active
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts
(Press Retry to debug the application - JIT must be enabled)
i didn't modify override.js and generate.js....
what should i do to get over this?
i tried mpc-be and it works well....