Romer
帖子: 1
注册时间: 2017-10-09 14:17

新人求教,关于帧数及源滤镜

import vapoursynth as vs
import sys
import havsfunc as haf
import mvsfunc as mvf
core = vs.get_core(accept_lowercase=True, threads=8)
core.set_max_cache_size(8000)

src = core.lsmas.LWLibavSource(r"d:\encode\t2.vc1",threads=1)
#src = core.ffms2.Source(r"d:\encode\F1_T2_Video - .mkv",threads=1)
src = core.std.CropRel(src,left=0,right=0,top=22,bottom=22)
src = core.fmtc.bitdepth(src, bits=16)
#src = mvf.BM3D(src, sigma=[6,6,6], radius1=0)
src = core.z.Depth(src, dither="Ordered dithering", depth=8)
src.set_output()
代码如上,源视频为23.976fps,可是这样压制后的码率为25fps,是因为“VC1”格式的缘故吗?还有就是,如果将m2ts提取为mkv而不是VC1,vseditor预览就会出现花屏,请问是什么原因呢?

谢谢
fnscar
帖子: 34
注册时间: 2014-08-31 10:53

Re: 新人求教,关于帧数及源滤镜

试试用DGDecNV直接读m2ts。

回到 “VapourSynth”