- 浏览: 16495314 次
- 性别:
- 来自: 济南
最新评论
-
wu1236:
ef0793cd94337324b6fefc4c9474af5 ...
Android ApiDemos示例解析(87):Media->MediaPlayer -
77219634:
0127bf2236bee4dd1f632ce430f1af1 ...
本博客文章都为转载,没有任何版权! -
77219634:
0127bf2236bee4dd1f632ce430f1af1 ...
VPLEX - EMC的RAC -
77219634:
0127bf2236bee4dd1f632ce430f1af1 ...
qTip2 Show -
77219634:
0127bf2236bee4dd1f632ce430f1af1 ...
SecureCRT中文乱码、复制粘贴乱码解决办法(修改版)
Microsoft Corporation
Originally published October 2001; updated February 2003
Applies to:
Microsoft® Synchronized Accessible Media Interchange (SAMI)
Captioning Technologies
Summary: This article describes how the new Microsoft Synchronized Accessible Media Interchange (SAMI) technology expands the ability to provide closed captioning to a wide range of multimedia products. (17 printed pages)
Download samioverview.exe.
Contents
Introduction
Captioning
Audio Descriptions
SAMI Authoring
Writing for SAMI 1.0
Synchronization
Overall Example
SAMI Clients
<!---->Introduction
SAMI 1.0 Definition
Microsoft Synchronized Accessible Media Interchange (SAMI) simplifies captioning for developers, educators, and multimedia producers and designers who will now find it easier to make their work more universally accessible. The SAMI file format specification is available to the public as an open (no licensing fees) standard.
Captioning was initially developed by WGBH, the public television station in Boston, for an estimated 20 million Americans who were deaf or hard of hearing. SAMI technology expands the ability to provide closed captioning to a wide range of multimedia products. The sole purpose of this document is to cover captioning technology used in PC multimedia. Television captioning is not covered.
The CPB/WGBH National Center for Accessible Media (NCAM) was of great help in the development and update of this document. For more information, see the NCAM Web site.
Captioning Technologies for PC Multimedia
SAMI is not the only captioning technology available for PC multimedia today. Multimedia producers and HTML authors can choose the technologies most suitable for them.
SMIL
The Synchronized Multimedia Integration Language (SMIL™) focuses on choreographing multimedia presentations of audio, video, text, and graphics in real-time. SMIL 1.0 is a World Wide Web Consortium (W3C) Recommendation (June 1998). W3C developed the succeeding version (SMIL 2.0). For more information about W3C and SMIL 2.0, see the Web site at http://www.w3.org/AudioVideo/.
Internet Explorer 5.5 (or later) supports HTML+TIME based on the SMIL 2.0 specification. The technical detail of HTML+TIME is available in the MSDN article available here.
SAMI
SAMI 1.0 was designed and developed to caption the digital media widely available in PC systems. SAMI captions coexist with digital media as separate, simple text files. The captions can be easily modified, maintained, customized, and localized for different languages.
The SAMI specification is supported by Microsoft® Encarta® Encyclopedia, Windows Media® Player, and some Microsoft multimedia titles. The technical detail is available in this documentation and in the Windows Media Player 9 Series Software Development Kit (SDK).
A sample of SAMI closed-caption captioning is provided in this document.
For more information, see Adding Closed Captions to Digital Media.
Open Captions
Open Captions are always visible on the screen and cannot be turned off. (The alternative, closed captions, can be turned on or off by the user.) Open Captions are useful but, when compared to other techniques, they can also be difficult to localize or edit in postproduction.
Applying Captions
A captioning author can choose from a variety of methods for adding closed or open captions to media. It is important for a captioning author to follow certain captioning styles for a better viewing experience.
For more information about captioning styles, techniques, tools, and services, see the section titled SAMI Authoring.
<!---->Captioning
Captioning is a synchronized, alternative format used to deliver audio content. The goal for multimedia authors should be to provide captions for all audio content, including both video and animated content. Typically, captions are displayed through a client-side media player.
Because captions are used as an alternative method of delivering audio content, it is important that all aspects of audio content can be translated into a text equivalent. For example, captions should include the description of sounds (such as "... the dog barks...") as well as symbols and icons to represent the type of content (such as a musical note to represent music). SAMI also allows the user to select an authored Font style (for example, large print, high contrast) to customize the content to the user's needs.
Uses
Although closed captioning was designed originally for people who are deaf or hard of hearing, captions can also be of great help to others. Captions are often used by people learning a second language, learning to read, using equipment with poor audio quality and by those in noisy environments.
<!---->Audio Descriptions
Audio Descriptions (AD) are simply additional narrative tracks that describe the current scene or setting. Audio descriptions began in the early days of radio when all users relied on well-composed descriptions to visualize what they could not see. Today, most people watch television as a replacement for radio. Unfortunately, this development has created a large void for the visually impaired who must rely on audio to extract the entire meaning of an audio-visual presentation.
Uses
To aid users who are blind or have limited vision, it is necessary to insert an audible description of the visual content into the quiet portions of a program's regular soundtrack. An audio description can be used to describe any important on-screen elements. For example, when viewing a media clip that contains a visible interruption of a dialogue between two people, it would be necessary for the user who is blind to receive an audio description of what is occurring visually. This is explained further in the following example:
James: "How is your day so far?"
Jennifer: "My day is going quite well...." Oh! Now it seems to be a little worse."
This dialogue would make little sense to the user who cannot view the scene or was unable to experience both the visual and audio content of the media. However, with the use of an audio description, the content could be made clear. For example:
James: "How is your day so far?"
Jennifer: "My day is going quite well...."
Audio Description: A passing waiter spills a pitcher of ice water down Jennifer's back.
Jennifer: "Oh! Now it seems to be a little worse."
<!---->SAMI Authoring
Developing SAMI documents requires an understanding of the syntax used for SAMI. A basic understanding of HTML will help in understanding the fundamental design of this process. Knowledge of the client-side rendering tools is also necessary; this includes an understanding of development utilizing Windows Media Player or DHTML.
Tools and Resources
For assistance in understanding the concepts behind SAMI captioning, developing accessibility solutions, and authoring tools, see:
- CPB/WGBH National Center for Accessible Media (NCAM)
- Trace Research and Development Center
- Captioning Key Guidelines and Preferred Techniques by the Captioned Media Program
- Hi-Caption, a captioning tool by HiSoftware
- Adding Captions for Producer 2003 Presentations (also available in the Producer for PowerPoint Support Center)
- Adding Closed Captions to Digital Media
- Captions and Audio Descriptions for PC Multimedia
<!---->Writing for SAMI 1.0
File Extension
SAMI documents must use the following extensions: .smi or .sami
Example
CC-SAMPLE.SMI CC-SAMPLE.SAMI
SAMI Structure and Declaration
Because SAMI is based closely on HTML, it has a similar (but not identical) component construct that makes it an easy format to learn and edit. All SAMI documents must begin with a <SAMI> tag and end with a </SAMI> tag.
Header tag
The header section (between the <Head> and </Head> tags) is required and contains the SAMIParam and Style sections. These sections contain the basic layout and format information.
Title tag
The <Title> tag is used for informational purposes in SAMI and is optional.
SAMI parameters
SAMI parameters are entered within the SAMIParam section, bounded by <SAMIParam> and </SAMIParam>. SAMI parameters are of two types. Some parameters are strictly informational. A SAMI engine ignores these parameters. For example, copyright will not make or break a SAMI document; it is simply a designation of ownership. Other parameters are used to set the initial attributes of the displayed captions or the base values of encoder/decoder properties.
Copyright
The use of copyright is informational only and is not parsed by the SAMI rendering engine. Its use with the SAMIParam section implies that the copyright covers only the transcription, formatting, and time stamps. Copyright of the media must be specified elsewhere.
Use: Copyright {<copyright string>}
Media
The Media parameter is used both as a cross-reference for activation and as a record of the base media. A Primary URL and Secondary URL can be specified within the Media parameter. In most cases, only the Primary value will be used. The Secondary URL may be used in cases where users choose whether they want to play the video clip with sound or just the sound file. The Media parameter is not required (although it is a good practice and may be required in future versions).
Use: Media {<primary URL>}, {<secondary URL>}
NoteTo date, Windows Media Player does not support the Media SAMI parameter.
Metrics
Metrics designate the time units for synchronization and duration. Microsoft® DirectShow® and Windows Media Player support only milliseconds (ms), but SAMI is suited for use with other systems that use different time increments.
Use: Metrics {time: <time units>; duration:<media duration>}
Specification
Specification designates the version of the SAMI document specification.
Use: Spec {MSFT:1.0;}
Example
<SAMIParam> Copyright {(c)1998-2001, Microsoft Corporation} Media {SAMI.jpg} Metrics {time:ms; duration: 73000;} Spec {MSFT:1.0;} </SAMIParam>
Style parameters
Style parameters are used to format textual display and to provide a method for multiple language support. SAMI style supports methods and attributes of W3C CSS2 (Cascading Style Sheets, level 2). SAMI styles are based on CSS (W3C Cascading Style Sheet) methods and attributes. Style parameters are entered within the Style section, bounded by <Style Type="text/css"> and </Style>.
CSS use
NoteIt should be noted that while SAMI employs CSS methods and attributes, it does so in a restricted manner as specified in the following:
Inline formatting use
Authoring captions in SAMI provide a rich range of character formats. That is, SAMI supports the use of most standard HTML inline formatting (see following section) as well as ISO Latin-1 (ISO 8859) entities. The latter allows for easy localization of SAMI documents.
Paragraph tag
A Caption block (one to four caption lines) is defined as a paragraph in SAMI. Basic formatting can be applied to all Caption blocks using a Paragraph style. Any CSS style will work.
Example
P { margin-left: 8pt; margin-right: 8pt; margin-bottom: 2pt; margin-top:-10pt; text-align: left; font-size: 12pt; font-family: arial, sans-serif; font-weight: bold; color: #fee8c6; }
Class and Localization
Class is reserved for defining a language-specific caption or action. When a SAMI document is parsed, the rendering engine will match the user-selected Language value with the Name value within a Class definition. The SAMI rendering engine will render only those lines in which the Name value matches the user-selected (or author-selected) Language value. For an example, see Language on the Play menu of Windows Media Player. If the user (or author) has not explicitly selected a language, the first Class (language) definition will be used by default.
For consistency, the Language value should follow standard ISO639-ISO3166 naming conventions. For example, "en" is the ISO639 abbreviation for English, and "US" is the ISO3166 abbreviation for United States. Thus, "en-US" is how a type of English (for the United States) would be specified.
Class naming in SAMI is accomplished by creating a unique name preceded by a period. For example, .ENCC can be used for English captions and .FRFRCC can be used for French/France captions (as opposed to French/Canadian). A Class is referenced by placing the Class parameter within a paragraph tag. For example: <P Class=ENCC>.
In addition to language, Class can be used to modify the Caption block formatting. That is, any formatting parameters that are supported in the Paragraph style (as previously described) can be added to the Class style. This is helpful with multiple languages in which the font and margins are likely to be changed accordingly (for example, German takes 30 percent more line space than English). The use of formatting parameters within the Class style will supersede any Paragraph style parameters.
NoteWeb authors can use the embedded Windows Media Player object model (properties) to switch languages in the scripting language. See samples attached to this document or Windows Media Player 9 Series Software Development Kit (SDK) for more details.
Additional resources about multiple language SAMI development can be found in the Other Reference Material section under the following topics:
Entities (ISO Latin-1 (ISO 8859))
Language Codes (ISO 639)
Country Codes (ISO 3166)
Use
<Class Name> {Name: <user selectable name>; Lang: <ISO639>-<ISO3166>; <character formatting parameters>}
Example
.ENCC {Name: English; lang: en-US; color: white; margin-left: 30pt; margin-right: 30pt;} .FRFRCC {Name: French; lang: fr-FR; color: yellow; margin-left: 12pt; margin-right: 12pt;} .DECCGer {Name: German; lang: de-DE; color: yellow; margin-left: 3pt; margin-right: 3;}
ID Style
Often, special formatting is helpful to meet the needs of a specific audience (for example, children or those who are visually impaired). In SAMI, this is accomplished with the ID property. For example, big print captions can be displayed in 18pt. This is done by creating a BigPrint ID style and applying it to the appropriate paragraph. ID styles are defined by appending a unique name to a pound sign (#), followed by a list of supported formatting parameters.
In the HTML use of CSS styles, the author creates and applies the IDs. With SAMI, the author only creates the ID styles. The SAMI rendering engine applies the ID style at the time of synchronization, according to the user-selected style. That is, if the user selects the Big Print style, the SAMI engine applies the authored #BigPrint style to each <P Class=""> tag that was rendered.
NoteWeb authors can use the embedded Windows Media Player object model (properties) to switch styles in the scripting language. See samples attached to this document or Windows Media Player 9 Series Software Development Kit (SDK) for more details.
Use
#<unique name> {<formatting parameters>}
Example
Using the following Paragraph style:
P {font-size: 14pt; text-align: left; font-family: sans-serif; color: white; background-color: black;}
The following Style IDs would result in:
#Standard {Name: Standard; margin-left: 30pt; margin-right: 30pt;}
Figure 1. Example of 14pt font
#Youth {Name: Youth; color: yellow; margin-left: 15pt; margin-right: 15pt;}
Figure 2. Example of increasing font size
#BigPrint {Name: BigPrint; color: yellow; margin-left: 4pt; margin-right: 3pt;}
Figure 3. Example of big print captions
Source ID
The Source ID is always displayed as an additional line at the top of a Caption block (see the following). This is used to display the source of the voice or sound that is being captioned. It can contain a speaker's name or an object's name (for example, a radio). For the SAMI engine to support the Source ID feature, a #Source must be defined in the Style block. The Source ID is then specified within a Sync block (see the following example and Synchronization section). The Source ID need only be updated when the source has changed.
NoteWindows Media Player 7.0 for Macintosh also supports SAMI closed captioning in the stand-alone player mode, although the Source ID needs to be updated in every synchronization <Sync> tag.
Figure 4. Example of Source ID
Use
#Source {<formatting parameters>}
Example
The following is an example of defining a Source ID in the Style block:
#Source {background-color: silver; color: black; font-size: 11pt; font-family: sans-serif; font-weight: normal;}
The following is an example of updating a Source ID within a Sync block:
<P Class=ENCC ID=Source> Pres. John F. Kennedy <P Class=ENCC> Let the word go forth, from this time and place...
<!---->Synchronization
SAMI introduces the <Sync Start=> tag to support this functionality. The Start parameter is assigned the media's Elapsed Time value in milliseconds. When the elapsed play time of the media matches the Sync Start time, the SAMI rendering engine passes off the contents following the <Sync Start=> tag to the SAMI display engine. To blank a paragraph, a non-breaking space entity ( ) is used.
Definition
The SAMI engine parses all contents of a specific <Sync> block when the elapsed time for the media matches its Start=<media elapsed time> value. If a paragraph within the <Sync> block contains a Class property, it must match the user-selected language to be rendered. Each <Sync> block can contain only the following HTML markup tags for style, font, and format of the caption text. All markup tags are defined in W3C HTML 4.01.
Table 1. HTML Markup Tags Supported in SAMI 1.0
B | Bold text style |
BASEFONT | Base font size |
BDO | I18N BiDi override |
BIG | Large text style |
BLOCKQUOTE | Long quotation |
BR | Forced line break |
CAPTION | Table caption |
CENTER | Shorthand for DIV align=center |
COL | Table column |
COLGROUP | Table column group |
DD | Definition description |
DIV | Generic language/style container |
DL | Definition list |
DT | Definition term |
FONT | Local change to font |
H1 | Heading |
H2 | Heading |
H3 | Heading |
H4 | Heading |
H5 | Heading |
H6 | Heading |
HR | Horizontal rule |
I | Italic text style |
IMG | Embedded image |
LI | List item |
OL | Ordered list |
P | Paragraph |
PRE | Preformatted text |
Q | Short inline quotation |
S | Strike-through text style |
SMALL | Small text style |
SPAN | Generic language/style container |
STRIKE | Strike-through text |
SUB | Subscript |
SUP | Superscript |
TABLE | N/A |
TBODY | Table body |
TD | Table data cell |
TFOOT | Table footer |
TH | Table header cell |
THEAD | Table header |
TR | Table row |
TT | Teletype or monospaced text style |
U | Underlined text style |
UL | Unordered list |
Example
Following are four sequential Sync blocks that start at elapsed media times: 0, 1000, 2500, and 5000 milliseconds.
<Sync Start=0> <P Class=ENCC> Hello World! (The first caption) <Sync Start=1000> <P Class=ENCC ID=Source> This is the Source ID line <P Class=ENCC> Hello my friend (The second caption) <Sync Start=2500> <P Class=ENCC> If English (ENCC) is selected this line is displayed, <P Class=FRCC> but this line is not displayed. <Sync Start=5000> <P Class=ENCC ID=Source> This caption is blank, but not the Source ID <P Class=ENCC>
<!---->Overall Example
The following is an example of a SAMI file being rendered within Windows Media Player embedded in an HTML page.
- Area 1: This is the location in which the media file is being displayed.
- Area 2: This is the Source ID line.
- Area 3: This is the captions window that is synchronized with the subject speaking in the media.
- Area 4: This is an example of how the SAMI file is read for the synchronization process of the media file.
Below is a screen capture from the SAMI demonstration series, provided only for the purpose of this explanation. Typically, the synchronization tags and caption text are not displayed with the media, although the synchronized DHTML with SAMI script can provide a very powerful representation, as shown in the demonstration series.
Figure 5. A screen capture from the SAMI demonstration series
<!---->SAMI Clients
Windows Media Player
This section focuses on the rendering of SAMI captions by Microsoft Windows Media Player. Windows Media Player is a client-side player used to render audio and video files in multimedia presentations such as CD-ROM and Web-based titles. With Windows Media Player, the SAMI document and media files are separate. Both the SAMI document and media files are fetched, parsed, synchronized, and rendered on the player. This allows for easy authoring, editing, and re-editing of the SAMI (captions) document.
Windows Media Player may require that all SAMI tags be presented in caps. Windows Media Player reads a separate .sami or .smi file and reads the <Sync Start> tag to identify when to display accompanying text or captions with the media file being played.
Windows Media Player has two user interface modes: full mode and skin mode. You can also embed the Windows Media Player ActiveX® control in a Web page.
Properties exposed by the ClosedCaption object of the Windows Media Player control for SAMI captioning support include:
-
ClosedCaption.captioningID
Specifies or retrieves the name of the frame or control displaying the captioning. -
ClosedCaption.SAMIFileName
Specifies or retrieves the name of the .smi file containing the closed-captioning text strings. -
ClosedCaption.SAMILang
Specifies or retrieves the closed-captioning language. If the SAMILang property is not set, the language associated with the first language tag in the .smi file is used as the default. -
ClosedCaption.SAMIStyle
Specifies or retrieves the font size and style used for the closed captioning.
Windows Media Player ClosedCaption object also supports some methods to get information about the currently loaded SAMI file. For more information about ClosedCaption object properties and methods, see the Windows Media Player 9 Series Software Development Kit (SDK) and MSDN article Adding Closed Captions to Digital Media.
Internet Explorer
Internet Explorer supports <object> tag to insert Microsoft ActiveX controls. As an ActiveX control, the Windows Media Player ActiveX control object model exposes methods, properties, and event supports to other Microsoft Windows® applications. Windows Media Player supports an event for each <Sync> tag, and Web authors can use the event for extensive effect by combining it with the DHTML support of Internet Explorer. DHTML technique examples are provided in the SAMI demonstration series.
You may also use <embed> tag to insert a media control into a Web page for compatibility purpose.
The following example shows how Web authors can embed Windows Media Player objects with SAMI closed-captioning options. Web authors can access the embedded Windows Media Player object through scripting.
Examples
<!-- An embedded Windows Media Player object with SAMI closed captioning --> <object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="WMP1" width=180 height=186 Style="margin:6; border:3 inset white;"> <param name="URL" value="http://foo/media/SAMI_Demo.wmv"> <param name="SAMIFileName" value="http://foo/cc/SAMI_Demo.smi"> <param name="captioningID" value="cc"> <param name="SAMIStyle" value="Black Print"> <param name="AutoStart" value=false> <param name="AutoRewind" value=true> <param name="EnableContextMenu" value=false> </object> <!-- A <div> window for the SAMI captioning, 'id=cc' is specified for 'captioningID' parameter --> <div id=cc style="margin-top:3; width:290; height:90; background: white; border:2 inset silver;"> </div>
Showcases and a SAMI document sample
Windows Media Player can detect a SAMI caption file if it is named with the same file name as the .smi extension and is located in the same folder. However, Windows Media Player does not detect a .sami extension automatically. Windows Media Player lacks the user interface required to select a SAMI closed-caption file, although Web authors can specify the file name of the SAMI caption file or the options for SAMI closed captioning. The SAMI demonstration series introduces the variety of SAMI usages and showcases.
Sample SAMI document
<SAMI> <Head> <Title>President John F. Kennedy Speech</Title> <SAMIParam> Copyright {(C)Copyright 1997, Microsoft Corporation} Media {JF Kennedy.wav} Metrics {time:ms; duration: 73000;} Spec {MSFT:1.0;} </SAMIParam> <STYLE TYPE="text/css"><!-- P {margin-left: 29pt; margin-right: 29pt; font-size: 12pt; text-align: left; font-family: tahoma, arial, sans-serif; font-weight: normal; color: white; background-color: black;} TABLE {Width: "248pt" ;} .ENUSCC {Name: "English Captions"; lang: en-US-CC;} #Source {margin-bottom: -15pt; background-color: silver; color: black; vertical-align: normal; font-size: 12pt; font-family: tahoma, arial, sans-serif; font-weight: normal;} #Youth {color: greenyellow; font-size: 18pt;} #BigPrint-1 {color: yellow; font-size: 24pt;}--> </Style> </Head> <Body> <SYNC Start=0> <P Class=ENUSCC ID=Source>Pres. John F. Kennedy <SYNC Start=10> <P Class=ENUSCC>Let the word go forth, from this time and place to friend and foe alike that the torch <SYNC Start=8800> <P Class=ENUSCC>has been passed to a new generation of Americans, born in this century, tempered by war, <SYNC Start=19500> <P Class=ENUSCC>disciplined by a hard and bitter peace, proud of our ancient heritage, and unwilling to witness <SYNC Start=28000> <P Class=ENUSCC>or permit the slow undoing of those human rights to which this nation has always <SYNC Start=38000> <P Class=ENUSCC>been committed and to which we are committed today at home and around the world. <SYNC Start=46000> <P Class=ENUSCC>Let every nation know, whether it wishes us well or ill, that we shall pay any price, bear any burden, <SYNC Start=61000> <P Class=ENUSCC>meet any hardship, support any friend, oppose any foe, to ensure the survival and success of liberty. <SYNC Start=73000> <P Class=ENUSCC ID=Source>End of: <P Class=ENUSCC>President John F. Kennedy Speech </Body> </SAMI>
相关推荐
Media Player 是一个功能强大且广泛使用的多媒体播放器,在网页中嵌入 Media Player 可以播放音频、视频、图像等多种媒体文件。为了充分发挥 Media Player 的功能,需要了解其各种属性和方法。 AutoStart 属性 ...
Media Player 是一个功能强大的多媒体播放组件,它提供了一系列的方法和属性来控制媒体文件的播放。以下将详细介绍 Media Player 的核心方法及部分关键属性。 - **MediaPlayer.Play()**:播放当前加载的媒体文件。 ...
- `closedCaption.CaptioningID`和`closedCaption.SAMIFileName`: 分别用于设置字幕ID和SAMI字幕文件路径。 - 在不同的浏览器环境下,如Firefox,Windows Media Player控件可能有不同的支持情况,可能需要针对特定...
Sami FTP Server的算法注册机适用2.1或2.2版 这可能是世界上最小的FTP服务器软件。新浪点评:Sami FTP Server表现令人惊讶,它的程序设计非常精巧,有一个简单易懂的设置界面,增强的虚拟目录功能,使你可以把不同...
### ABB变频器SAMI GS ACS 501 用户手册关键知识点 #### 一、总览 **ABB变频器SAMI GS ACS 501**是一款高性能的变频器,适用于各种工业应用场景,其功率范围覆盖了2.2KW至75KW。该手册详细介绍了ACS 501变频器的...
超级强悍的 Android 手机高清视频播放利器 MX Video Player 迎来了正式版。作为安卓平台上知名度最高的手机播放器 MX Player Pro,无广告,界面非常简洁,同时播放视频解码功能也非常强大。这也是为什么在安卓平台中...
Python-smi2ass是一个专为转换字幕格式而设计的命令行工具,它能够将SAMI(Synchronized Accessible Media Interchange)格式的字幕文件转换为SSA(SubStation Alpha)或ASS(Advanced SubStation Alpha)格式。...
4. **SubtitleParser.cpp**:这是整个程序的入口文件,它整合了所有解析器,为用户提供一个统一的接口来处理不同类型的字幕文件。它可能会包含加载文件、选择合适的解析器以及将解析后的数据结构化的方法。 5. **...
5. SMI(SubStation Micro)和SAMI(Simple Acronyms for Internet Media Interchange):是微软开发的字幕格式,常用于Windows Media Player。 6. SNC(Scenarist Navigation Commands):是DVD导航字幕格式,用于...
- `SAMILang`、`SAMIStyle`和`SAMIFilename`:关联SAMI(Synchronized Accessible Media Interchange)字幕文件,提供字幕支持。 通过`.NET`的ASP.NET技术,这段代码可以在网页上实现用户交互,比如用户通过ListBox...
一款HTTP服务端程序,该软件配置简单,消耗资源小,尽管如此,仍然可以满足商务和个人用途。
MX Player Pro是欣赏电影的最佳方式。功能强大的视频 播放器, 具有先进的硬件加速和字幕支持。 a)硬件加速 - 借助新的H / W解码器,可以将硬件加速应用于更多视频。 b)多核解码 - MX Player是第一款支持多核...
这是一个用PHP写的工具,对于有规范注释的php程序,它能够快速生成具有相互参照,索引等功能的API文档。新的版本加上了对php5语法的支持,同时,可以通过在客户端浏览器上操作生成文档,文档可以转换为PDF,HTML,CHM几...
### Media 参数大全解析 在构建多媒体应用时,正确配置`<object>`标签及其内部的`<param>`元素对于实现各种媒体播放功能至关重要。本文将基于提供的代码片段详细解析每个参数的功能与用途,帮助开发者更好地理解和...
如何清空matlab的代码sami2py:sami2py是电离层python样式的另一个模型 docs 测试 概述 Sami2py是一个运行SAMI2模型以及对生成的模型值进行归档,加载和绘制的python模块。 SAMI2是由海军研究实验室开发的模型,用于...
在这个案例中,"lib" 文件夹可能包含了 Sami-Cola 的库文件。开发者可以通过 Maven 或 Gradle 这样的构建工具将其添加为依赖,或者直接将 JAR 文件导入到 IDE 中。 9. **实例应用与实战演练** 掌握 Sami-Cola 需要...
在【压缩包子文件的文件名称列表】中,我们看到"**sami_tuominen_ws-master**",这通常表示这是一个Git仓库的主分支(master branch)。Git是一种分布式版本控制系统,用于跟踪和管理软件开发中的变更。"master"分支...
软件支持双字幕处理,并且支持的功能有时间轴调整、视频预览对照、内容过滤及插入、样式调整、字幕拆行、更多保存格式,目前字幕编辑助手支持ssa、srt、ass、lrc、ksc、krc、smi、sami、snc、qly、utf、stl、vsf、...
2. **字幕编码**:字幕文件通常包含Unicode编码,以支持多种语言。正确选择和处理编码是确保字幕正确显示的关键。 3. **字幕编辑**:字幕编辑软件通常提供直观的界面,让用户可以输入、修改和格式化字幕内容,包括...
- 支持字幕格式:SRT,ASS/SSA,SAMI(使用者可设定字型、大小及编码) - 支持音乐格式:MP3,MP4,WAV,AAC - 支持图片格式:JPEG,PNG,BMP,GIF - 在区域网路可自动找寻服务器 - 支持键入简易PIN码进行连线 - ...