版面规则
提问时请注意:尽量详细描述操作过程、AVS脚本内容等,最好能写出片名,只贴图有时无法看出问题原因。
提示:发布原创内容请尽量使用附件上传。使用网盘会出现过期失效的问题,请注意。
aijiang
帖子: 16
注册时间: 2012-02-01 16:09

求助一个变帧率滤镜

片源是29.970无交错的动画视频
偶想把他压成23.976帧率
可是直接砍帧(fps=23.976)视频就会很顿
所以求一个5帧中删除一帧的滤镜
拜托了。。。
头像
06_taro
核心会员
核心会员
帖子: 998
注册时间: 2010-09-22 18:32
来自: United Kingdom
联系: 网站

Re: 求助一个变帧率滤镜

[syntax lang="avisynth" lines="f"]xxxSource()

# compensate whatever frame rate to 120,000/1,001 fps
super = SVSuper("{gpu:1}")
vector = SVAnalyse(super, "{gpu:1, block:{w:"+( width>=960 ? "32" : "16")+", h:"+( height>=720 ? "32" : "16")+"}, main:{search:{satd:true}}}")
SVSmoothFps(super, vector, "{rate:{num:120000, den:1001, abs:true}, cubic:1, scene:{blend:false}}", url="www.svp-team.com")

# motion blur, to make video smoother after being decimated to 24,000/1,001 fps
super = MSuper(pel=4)
backv = super.MAnalyse(blksize=(height>=720?16:8), isb=true, delta=1)
forwv = super.MAnalyse(blksize=(height>=720?16:8), isb=false, delta=1)
MFlowBlur(super, backv, forwv, blur=10, thSCD1=300, thSCD2=100)

# decimate 120,000/1,001 fps to 24,000/1,001 fps
SelectEvery(5, 0)[/syntax]
上次由 06_taro 在 2012-06-12 16:17,总共编辑 6 次。
つまんねー事聞くなよ!

I, personally, for me, believe (obviously sometimes) that my OS choice is right. That's me. I'm not telling you that you should believe it. Learn the facts, and the origins behind the facts, and make up your own damn mind. That's why you have one. (source)

Follow me: @06_taro

304——
为纪念伟大的宇宙史上最强压制304先生,联合国教科文组织决定,将每年的第304天,即平年的10月31日或者闰年的10月30日,定为世界304日。
aijiang
帖子: 16
注册时间: 2012-02-01 16:09

Re: 求助一个变帧率滤镜

这个语法咋用直接SelectEvery(5, 1)吗?
aijiang
帖子: 16
注册时间: 2012-02-01 16:09

Re: 求助一个变帧率滤镜

噗 这个好高级

随便求一个线条优化滤镜
头像
06_taro
核心会员
核心会员
帖子: 998
注册时间: 2010-09-22 18:32
来自: United Kingdom
联系: 网站

Re: 求助一个变帧率滤镜

已加註釋
つまんねー事聞くなよ!

I, personally, for me, believe (obviously sometimes) that my OS choice is right. That's me. I'm not telling you that you should believe it. Learn the facts, and the origins behind the facts, and make up your own damn mind. That's why you have one. (source)

Follow me: @06_taro

304——
为纪念伟大的宇宙史上最强压制304先生,联合国教科文组织决定,将每年的第304天,即平年的10月31日或者闰年的10月30日,定为世界304日。
Akari
帖子: 9
注册时间: 2012-05-25 18:04

Re: 求助一个变帧率滤镜

@06_taro 请问你的那个脚本该怎么使用呢?我已经下载的SVPFlow,脚本变成这个样子:

代码: 全选

LoadPlugin("D:\svpflow-1.0.5\svpflow1.dll")
LoadPlugin("D:\svpflow-1.0.5\svpflow2.dll")
DirectShowSource("水樹奈々 - BRIGHT STREAM.ts",Convertfps=true)

# compensate whatever frame rate to 120,000/1,001 fps
super  = SVSuper("{gpu:1}")
vector = SVAnalyse(super, "{gpu:1, block:{w:"+( width>=960 ? "32" : "16")+", h:"+( height>=720 ? "32" : "16")+"}, main:{search:{satd:true}}}")
SVSmoothFps(super, vector, "{rate:{num:120000, den:1001, abs:true}, cubic:1, scene:{blend:false}}", url="www.svp-team.com")

# motion blur, to make video smoother after being decimated to 24,000/1,001 fps
super  = MSuper(pel=4)
backv  = super.MAnalyse(blksize=(height>=720?16:8), isb=true,  delta=1)
forwv  = super.MAnalyse(blksize=(height>=720?16:8), isb=false, delta=1)
MFlowBlur(super, backv, forwv, blur=10, thSCD1=300, thSCD2=100)

# decimate 120,000/1,001 fps to 24,000/1,001 fps
SelectEvery(5, 0)
但是预览报错了。
错误信息
错误信息
新手一个,实在不知道问题出在哪儿。
头像
msg7086
帖子: 600
注册时间: 2011-02-19 0:49

Re: 求助一个变帧率滤镜

目测像是真人视频,标准做法应该是mpeg2source载入dga以后做deinterlace吧……
Delogo LGD Collections 各种台标下载 | Home Of VapourSynth Evolution

<回答が無い理由>
1. 誰も知らない
2. 質問文が意味不明
3. 知ってるが、お前の態度が気に入らない
4. 良いボケが思いつかない
Akari
帖子: 9
注册时间: 2012-05-25 18:04

Re: 求助一个变帧率滤镜

这个ts是封h.264的,DGIndex根本用不了!DGAVCIndex更是坑,色块一大堆。
akw28888
帖子: 171
注册时间: 2012-02-24 17:12

Re: 求助一个变帧率滤镜

Akari 写了:这个ts是封h.264的,DGIndex根本用不了!DGAVCIndex更是坑,色块一大堆。
remux成mkv 走ffms啥的 demuxer=lavf啥的 - -

回到 “AviSynth”