vsfiltermod中文说明文档ass 代码.docx

上传人:b****6 文档编号:5626158 上传时间:2022-12-29 格式:DOCX 页数:10 大小:217.79KB
下载 相关 举报
vsfiltermod中文说明文档ass 代码.docx_第1页
第1页 / 共10页
vsfiltermod中文说明文档ass 代码.docx_第2页
第2页 / 共10页
vsfiltermod中文说明文档ass 代码.docx_第3页
第3页 / 共10页
vsfiltermod中文说明文档ass 代码.docx_第4页
第4页 / 共10页
vsfiltermod中文说明文档ass 代码.docx_第5页
第5页 / 共10页
点击查看更多>>
下载资源
资源描述

vsfiltermod中文说明文档ass 代码.docx

《vsfiltermod中文说明文档ass 代码.docx》由会员分享,可在线阅读,更多相关《vsfiltermod中文说明文档ass 代码.docx(10页珍藏版)》请在冰豆网上搜索。

vsfiltermod中文说明文档ass 代码.docx

vsfiltermod中文说明文档ass代码

VSFilterMod中文说明文档

提供:

ASS特效研习社:

网址:

这个站最近服务器坏了,以后再上)

临时网址:

欢迎加入)

Fontscale

字体缩放

   \fsc

Similartoaggregate\fscx\fscy.Animatableby\t. 

效果与同时使用\fscx\fscy相同。

可用\t实现动态效果。

Example 

例子

  \fsc200—makethetextdoublesize.

  \fsc200—字体放大到原来的两倍。

Leading

纵向偏移

   \fsvp

Changestextleading.Animatableby\t.

改变文字的纵向偏移。

可用\t实现动态效果。

Example

例子

1.{\r\fsvp0}\fsvp0{\r\fsvp10}\fsvp10{\r\fsvp-10}\fsvp-10

复制代码

1.{\r\fsvp10}\fsvp10{\r\frz10}\frz10{\r\fsvp0}\fsvp0{\r\fsvp-10}\fsvp-10

复制代码

 

Baselineobliquity

基线倾斜

  \frs

Character'sbaselineobliquity.Rotationanchordependsfromstyledefinitionand\antag.Animatableby\t. 

文字的基线倾斜。

选择方向取决于style设定和\an特效。

可用\t实现动态效果。

(曲奇:

这里style是指style中设定对齐方法的参数(Alignment),与\an效果相同)

Example 

例子

1.{\frs90\frz-90}\frs90\frz-90

复制代码

1.{\frs45\frz-45\fsp5}\frs45\frz-45\fsp5

复制代码

 

Zcoordinate

Z坐标

   \z

Setszcoordinate.Itmaybesignifiedasadistancefromscreentotext.It'snoticeableincaseofusing\frxand\frytags.Animatableby\t.

设置Z坐标。

它可能表示文字到屏幕的距离。

结合\frx和\fry效果更显著。

可用\t实现动态效果。

(其实和真正意义上的z轴相比效果上有偏差——艾注)

Example 

例子

1.{\z100\t(\z0\frx360)}a

复制代码

1.{\z100\t(\z0\fry360)}a

复制代码

Distortion

扭曲

   \distort(u1,v1,u2,v2,u3,v3)

Distortstextbymovingcornerpinstospecifedrelativecoordinates.Animatableby\t. 

扭曲文字是通过移动角上坐标具体确定相对的坐标。

可用\t实现动态效果。

 

Example 

例子

1.{\distort(1,0,,1,,1)}\distort(1,0,,1,,1)

复制代码

1.{\distort(1,,1,,0,1)}\distort(1,,1,,0,1)

复制代码

1.{\distort(1,0,,1,,1)}\distort(1,0,,1,,1)

复制代码

 

Boundariesdeforming

边界变形

   \rnd

  \rndx

  \rndy

  \rndz

Movesborderpointsonrandomnumberofpixelsfrom(-arg,arg)intervalinselecteddirection.Animatableby\t.

在选定的区间内(-arg,arg)随机移动边界上的像素。

可用\t实现动态效果。

Example 

例子

1.{\r\rnd1}\rnd1{\r\rndx1}\rndx1{\r\rndy1}\rndy1{\r\rndz1}\rndz1\N{\r\rnd3}\rnd3{\r\rndx3}\rndx3{\r\rndy3}\rndy3{\r\rndz3}\rndz3\N{\r\rnd5}\rnd5{\r\rndx5}\rndx5{\r\rndy5}\rndy5{\r\rndz5}\rndz5\N{\r\rnd10}\rnd10{\r\rndx10}\rndx10{\r\rndy10}\rndy10{\r\rndz10}\rndz10\N{\r\rnd15}\rnd15{\r\rndx15}\rndx15{\r\rndy15}\rndy15{\r\rndz15}\rndz15

复制代码

 

Gradients

渐变

   \$vc(left-top-color,right-top-color,left-bottom-color,right-bottom-color) 

  \$va(left-top-transparency,right-top-transparency,left-bottom-transparency,right-bottom-transparency)

Createsgradientsbyusinganchorcolorsoropacitylevels.Maybeslow.Animatableby\t.

用颜色或透明度创建渐变。

可能渲染时比较慢。

可用\t实现动态效果。

(已修复与\fad的兼容问题。

调整RRGGBB为BBGGRR。

$的取值1-4,分别表示主要颜色、次要颜色、边框、阴影。

 

Example 

例子

1.{\r\1vc(00FFFF,FFFF00,FF00FF,000000)}\1vc(00FFFF,FFFF00,FF00FF,000000)\N{\r\1vc(00FFFF,000000,00FFFF,000000)}\1vc(00FFFF,000000,00FFFF,000000)\N{\r\1vc(FFFFFF,FFFFFF,000000,000000)}\1vc(FFFFFF,FFFFFF,000000,000000)\N{\r\1vc(0000FF,000000,000000,0000FF)}\1vc(0000FF,000000,000000,0000FF)\N{\r\3va(FF,FF,00,00)}\3va(FF,FF,00,00)\N{\r\3va(FF,00,FF,00)}\3va(FF,00,FF,00)

复制代码

 

Imagesinsteadofcolorfills

图片替代颜色填充

   \$img(path_to_png_file[,xoffset,yoffset])

Replacescolorfillwithrepeatedimagepattern.Parametersareslashed(/)pathtoimageandoptionalfill'sbaseoffset.Pathmayberelativetocurrentsubtitlefilelocation.FirstVSFilterModloadsattachedimagesandiffailstrystofindthemlocaly.VSFilterModsupportsonly24or32bittruecolorpngswithorwithouttransparencychannel.Offsetisanimatableby\t.Notethat\beand\blurtagwillnotblurimagebutonlymaskwhichisusedtoplacefill.

替代颜色填充重复的图片图案。

参数为图片路径(用(/)分隔)和可调整填充的基本偏移量。

路径可能是相对于当前字幕文件的位置。

首先VSFilterMod加载附加的图片,如果失败尝试在本地找到他们。

VSFilterMod只支持24或32位带或不带透明通道的真彩色png格式的图片。

偏移量是可用\t实现动态效果。

请注意\be和\blur不能模糊图片,只能模糊被图片填充的那个边框。

Example 

例子

1.{\3vc(&HFF00FF&,&HFFFF00&,&H00FFFF&,&HFFFFFF&)\1img(D:

/,0,0)\pos(300,250)\bord10\p1}m-1500b-150-80-80-1500-15080-150150-80150-115080801504150-80150-15080-1500{\p0}

复制代码

 

Polarmove

极限移动

   \mover(x1,y1,x2,y2,angle1,angle2,radius1,radius2[,t1,t2])

Itworkslike\movebutnowit'spossibletouserounded,ovalorspiraltrajectories.

它跟\move的工作原理一样,但是可以实现圆形、椭圆形或者螺旋形轨迹。

Example 

例子

  \mover(10,10,60,60,0,0,0,0)—it'sequivalentto\move(10,10,60,60).

  \mover(10,10,60,60,0,0,0,0)—这个相当于\move(10,10,60,60).

  \mover(0,0,0,0,-90,0,150,150)—movesrelativelytoupperleftscreencorneralonganarcofacircle(-90,0)withradius150points.

  \mover(0,0,0,0,-90,0,150,150)—在屏幕左上角沿着一个半径为150像素的圆转过(-90,0)角度。

  \mover(x1,y1,x2,y2,angle1,angle2,radius1,radius2[,t1,t2])

  参数解释下

  x1,y1,x2,y2[,t1,t2]就不解释了

  angle1  开始时旋转角度

  angle2  结束时旋转角度

  radius1  开始时旋转半径

  radius2  结束时旋转半径(该数值早期版本无效,后修正——艾注)

Spline-move

曲线移动

   \moves3(x1,x1,x2,y2,x3,y3[,t1,t2])

  \moves4(x1,x1,x2,y2,x3,y3,x4,y4[,t1,t2])

Itmovessubtitlebysplinecurvetrajectory.Functionswiththreeorfourbasepointsareavailable,theyproducecubicorbicubicBeziercurvetrajectory.

它用曲线轨迹移动字幕。

函数可以带三或四个基点,它们产生三次或四次Bezier曲线轨迹。

Shaking

抖动

   \jitter(left,right,up,down,period[,seed])

Itperformssubtitlepositionshaking.Firstfourparametersadjustmaximumoffsetineverydirection,fifthparametersetsshakingperiodinmilliseconds,sixthparametersetstheinitialseedforrandomnumbergeneratorsotheformshakingwillnotchangeuponcalls.Animatableby\t.

它使字幕位置产生抖动。

前四个参数调整在各个方向的最大偏移量,第五个参数设置在毫秒内的抖动周期,第六个参数设置为随机数发生器的初始种子,使之震动的形式保持一致。

可用\t实现动态效果。

Moveablevectorclip

可移动矢量clip

  \movevc(x1,y1)

  \movevc(x1,y1,x2,y2[,t1,t2])

Itmovesvectorclips(\clip,\iclip)independentlytosubtitles(unaffectedby\moveor\pos).Parametersaresameto\move.Pixelprecision.

它可以独立移动字幕上的矢量clip(\clip,\iclip)。

(可同時使用\move或\pos)。

参数和\move相同。

像素精度。

Example 

例子

1.{\pos(80,140)\movevc(0,-60,0,60)\clip(m4684l120141146206188144268102155130)}Nya

复制代码

(本例子由提供)

 

InstallationAndUsage

 安装与使用

HowtoinstallandstartusingthisMod.

如何安装和开始使用这个模式。

Aegisub

对于Aegisub

CopytoC:

\ProgramFiles\Aegisub\csridirectory,thanstartAegisub,openOptionsdialog,selectVideotabandchangeSubtitleprovidertocsri/vsfiltermod_textsub. 

复制到C:

\ProgramFiles\Aegisub\csri目录下(这个是默认目录,具体看你安装在哪),然后运行Aegisub,打开【查看】【选项】,选择【视频】,然后修改【字幕来自】为vsfiltermod_textsub。

ImportantNote. Aegisubdoesn'tknowaboutnewoverridetagssoitwilldeleteorreplacethemwithknownoneswhenyouwilltrytouseVisualTypesettingtools. 

注意事项Aegisub不识别新选项标签,所以当你使用【可视排版】时,它可能会删除或把你输入的替换为已知项。

Avisynth

对于Avisynth

CopytodefaultAvisynthpluginsdirectory(C:

\ProgramFiles\Avisynth\plugins)orloaditwithLoadPlugin()function.ModprovidessimilartoVSFilterfunctionsbutwith"Mod"suffix.TextSubMod(). 

复制到默认Avisynth插件目录(C:

\ProgramFiles\Avisynth\plugins)或者用LoadPlugin()函数载入。

在使用ass字幕时用TextSubMod()函数。

DirectShow

直接使用

TouseVSFilterModwithvideoplayersfirstofallyoushouldunregisterinstalledversionofVSFilter.Findwhereit'slocatedonyourdiscandexecute"regsvr32/uPath\to\".Thenplacetosomesuitableforyouplaceandexecute"regsvr32Path\to\". 

如果想要通过播放器使用VSFilterMod,首先你应该卸载以前的版本(这一段可以忽略)……直接把复制到(系统盘\windows\system32\)下就行了。

VirtualDub

使用VirtualDub

CopytoVirtualDubpluginsdirectoryandchangeitsextensiontovdf(itshouldbenow).ThenselectTextSubModfromfiltersandworkasusual.

复制到VirtualDub插件目录,改变它的扩展名.vdf.(也就是说,它的名字现在应该是)。

然后选择TextSubMod,像往常一样使用即可。

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > PPT模板 > 商务科技

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1