常见的电影字幕文件(SRT、SSA、SUB)

       DVDrip的电影视频文件通常是使用外挂字幕,目前互联网上常见的外挂字幕有SRT、SSA和SUB格式。这几种格式各有特点,下面为大家介绍。

一、SRT字幕文件

       SRT字幕是文本文件,可以使用Windows的记事本直接打开和编辑。SRT字幕是目前最为流行字幕格式,因为其制作规范简单,一句时间代码+一句字幕,使得制作修改就相当容易。格式如下:

1

00:00:04,299 --> 00:00:06,290

歌曲:The Day You Went Away

2

00:00:06,299 --> 00:00:22,990

歌手:M2M

3

00:00:22,999 --> 00:00:27,880

Well I wonder could it be

4

00:00:27,889 --> 00:00:30,750

When I was dreaming about you baby

5

00:00:30,759 --> 00:00:33,020

You were dreaming of me

 

二、SSA字幕文件

       SSA全称SubStation Alpha, 是由CS Low(又称Kotus)创建的一种字幕格式, 用以实现比传统字幕诸如srt等格式更为复杂的功能。

       SSA字幕也是文本文件,同样可以使用Windows的记事本直接打开和编辑。与SRT相比SSA字幕文件功能比较多,可以定义字体格式、字体颜色、字体大小等。

       SSA字幕文件的特效代码比较多,通常有以下几段代码。

[Script Info]

这一部分包含了文件内容的标题和总体信息。[Script Info]这一行必须是v4版本文件的第一行

[v4 Styles]

字幕正文使用的风格都在这一部分做出相关定义。注:ASS使用的是[v4+ Styles]

[Events]

这部分包含所有的事件,有字幕,评论,图片,声音,影片和命令。基本上屏幕中出现的所有内容都集中在这一部分。

[Fonts]

如果想把字体内嵌入字幕文件,那么字体文件须采用数字编码后放在这一部分。只有truetyle字体才能内嵌入。

 

下面是一段SSA字幕文件:

[Script Info]

ScriptType: v4.00

Collisions: Normal

PlayResX: 384

PlayResY: 288

Timer: 100.0000

[V4 Styles]

Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, TertiaryColour, BackColour, Bold, Italic, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding

Style: Default,Tahoma,13,&Hffffff,&H00ffff,&H000008,&H000008,-1,0,1,1,0,2,20,20,0,0,0

Style: 123,Arial,16,&Hffffff,&H4080ff,&Hff8000,&Hff8000,0,0,1,1,2,2,30,30,14,0,134

[Events]

Format: Marked, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text

Dialogue: Marked=0,0:00:46.00,0:00:48.33,Default,1,0000,0000,0000,,Movie Fan News presents:

Dialogue: Marked=0,0:00:46.00,0:00:48.33,123,1,0000,0000,0000,,隆重献映:

Dialogue: Marked=0,0:00:48.87,0:00:51.36,Default,2,0000,0000,0000,,Spotlight on "Adventure".

Dialogue: Marked=0,0:00:48.87,0:00:51.36,123,2,0000,0000,0000,,“大冒险”

 

三、SUB字幕文件

       SUB是一种图形格式字幕,DVD光盘里面使用的就是这种字幕文件。一般由idx和sub文件组成,有时也能看到ifo文件,不过这个现在已经不怎么用的上了。idx相当于索引文件,里面包括了字幕出现的时间码和字幕显示属性等。sub文件就是存放字幕本身了,注意是图片格式的,所以比较大,动辄10M以上了。idx+sub可以存放很多语言的字幕,提供了在播放的时候的选择。

       由于SUB字幕文件不是文本格式,因此编辑比较麻烦,需要使用专用的编辑软件。

Write a comment

Comments: 5
  • #1

    taylor hampton solicitors (Friday, 04 April 2014 07:53)

    Professionals in the career consulting industry rely on counseling, research, and marketing techniques to assist their clients in developing career options and industry alternatives that match their goals and objectives.

  • #2

    taylor hampton solicitors (Friday, 04 April 2014 08:24)

    Professionals in the career consulting industry rely on counseling, research, and marketing techniques to assist their clients in developing career options and industry alternatives that match their goals and objectives.

  • #3

    taylor hampton solictiors reviews (Friday, 04 April 2014 08:32)

    Professionals in the career consulting industry rely on counseling, research, and marketing techniques to assist their clients in developing career options and industry alternatives that match their goals and objectives.

  • #4

    Primodels Review (Friday, 11 April 2014 07:10)

    Submit your high-quality, original articles for more exposure, credibility and traffic back to your website. Becoming a full-time artist isn't something that happens overnight. Being able to make a living from being an artist takes a lot of time, dedication and motivation.

  • #5

    Online Spammer (Monday, 28 April 2014 12:51)

    If someone does a search using Google and they visit a site (not yours) and you have some content on that site and then they click through and visit your site, this is referred traffic. It is not organic traffic.