|
开了10bit支持后用pot+vs方式自动调用svp仍为8bit模式,用vlc才会提示10bit模式但是如果用pot+madvr+svp会因为madvr返回视频刷新率为60而不补帧
- def interpolate(clip):
- # DO NOT REMOVE this comment
- # input_um - original frame in 4:2:0
- # input_m - cropped and resized (if needed) frame
- # input_m8 - input_m converted to 8-bit
- input_um = clip.resize.Point(format=vs.YUV420P10)
- input_m = input_um
- input_m8 = input_m.resize.Point(format=vs.YUV420P8)
- super = core.svp1.Super(input_m8,super_params)
- vectors = core.svp1.Analyse(super["clip"],super["data"],input_m8,analyse_params)
- smooth = core.svp2.SmoothFps(input_m,super["clip"],super["data"],vectors["clip"],vectors["data"],smoothfps_params,src=input_um,fps=src_fps)
- smooth = core.std.AssumeFPS(smooth,fpsnum=smooth.fps_num,fpsden=smooth.fps_den)
复制代码
|
|