Blog

ASS字幕代码的秘密

30-6对于传说中的字幕君来说,他们经常提交的字幕格式有两种,一种是SRT文件,另一种是ASS 文件,通常而言,SRT属于字幕源文件,类似于毛胚房,而ASS文件则是根据客户要求后的精装修文件。

ASS 字幕文件可根据客户的要求进行字体,屏显效果,滚动等特效设定。

下面来讲述一下在字幕代码中是如何实现以上效果的调整:

例如:[V4+ Styles] Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding Style:

在这一串代码中,讲述的就是字幕可达到的屏显效果,可以做到粗体,斜体,下划线,阴影等一系列效果。

而在 Style: note,微软雅黑,14,&H000F0F0F,&HF0000000,&H00FFFFFF,&HF0DFDFDF,-1,0,0,0,100,100,1,0,1,2,1,8,5,5,6,0 这串代码中,可以对字幕的字体进行设置,可以直接在代码中输入你需要的字体,即可显示。

而在Style: eng,Calibri,15,&H00FFFFFF,&HF0000000,&H002F2F2F,&HF0000000,-1,0,0,0,100,100,0,0,1,2,1,2,5,5,5,1 这串代码中,可以通过调整数字来设定字幕字体的大小,是否需要黑色阴影或背景等。

对于我们常见的屏幕上方或下方字幕滚动也可以在代码中进行设定来实现:

Dialogue: 0,0:00:01.00,0:00:15.00,chsk,NTP,0100,0040,0250,Banner;10;0;30,{\pos(124,28)} {\move(40,40,40,40)} Dialogue: 0,0:00:17.07,0:00:25.07,chsk,NTP,0040,0040,0025,Banner;10;0;30,{\pos(231,29)} Dialogue: 0,0:10:01.00,0:10:15.00,chsk,NTP,0100,0040,0250,Banner;10;0;30,{\pos(124,28)} (40,40,40,40)} Dialogue: 0,0:10:17.07,0:10:25.07,chsk,NTP,0040,0040,0025,Banner;10;0;30,{\pos(231,29)} Dialogue: 0,0:20:01.00,0:20:15.00,chsk,NTP,0100,0040,0250,Banner;10;0;30,{\pos(124,28)} {\move(40,40,40,40)}

比如在上述代码中,可以调整前端的time code来设定字幕滚动的时间,并可以在后端{\pos(124,28)} 与{\move(40,40,40,40)}之间输入需要滚动的文字

通过对上述代码的自行设置,便可以做到你想要的效果啦

Words translated by CCJK

146,096,379

Request a call or contact us

  •  

    Call ccjk.support for professional assistance

  •  

    Click Here to leave us a message and be as detailed as possible.

We are Certified

Our Client Satisfaction

rating for previous quarte

4.00
  •  
    Inquiry Form

    Please take few minutes to fill
    inquiry form and get Free Quote

  •  
    Request a Call

    Click to receive Free Call, Our
    Representative will contact you

  •  
    Leave a Message

    Please leave us a message and
    be as detailed as possible

Over 95% of our clients recommend our language services to others


Copyright © CCJK Technologies Co., Ltd. 2000-2017. All rights reserved.
TOP