2026年2月18日 星期三

An SRT file (SubRip Subtitle file) SRT 字幕區塊

 

An SRT file (SubRip Subtitle file) i

AI 概述


SRT 檔案(SubRip 字幕檔)是一種廣泛使用的純文字格式,包含視訊字幕或標題,包括開始/結束時間戳記和順序編號。它不包含視訊或音訊數據,而是作為與視訊播放器一起載入的輔助文件,用於顯示帶有時間軸的文字。


修訂

修訂


+4


SRT 檔案的主要特點:


結構:每個字幕條目由一個編號、一個時間戳(小時:分鐘:秒:毫秒)、文字本身和一個用於分隔的空白行組成。


相容性:幾乎所有媒體播放器(VLC、YouTube)、社群媒體(Facebook、LinkedIn、Instagram)和影片平台都支援 SRT 文件,以增強其可訪問性。


編輯:由於 SRT 檔案是純文字格式,因此可以使用記事本或文字編輯等基本文字編輯器建立或編輯它。


功能:如果 SRT 檔案與影片檔案同名並放置在同一資料夾中,它們會自動同步,允許使用者切換字幕的顯示/隱藏。


維基百科



SRT 字幕區塊範例:


文字

1


00:00:01,500 --> 00:00:04,800

您好,歡迎您。


常見用途:


為無障礙用戶(聽障人士)添加隱藏式字幕。


將視訊對話翻譯成不同語言。


在社群媒體影片中加入螢幕文字,以便「靜音」觀看。

An SRT file (SubRip Subtitle file) is a widely used, plain-text format that contains video subtitles or captions, including start/end timestamps and sequential numbering
. It does not contain video or audio data, but acts as a sidecar file loaded alongside a video player to display timed text.
Key Aspects of SRT Files:
  • Structure: Each subtitle entry consists of a number, a timestamp (hours:minutes:seconds,milliseconds), the text itself, and a blank line for separation.
  • Compatibility: Supported by almost all media players (VLC, YouTube), social media (Facebook, LinkedIn, Instagram), and video platforms for enhanced accessibility.
  • Editing: Because they are plain text, they can be created or edited using basic text editors like Notepad or TextEdit.
  • Functionality: If named the same as the video file and placed in the same folder, they sync automatically, allowing users to toggle captions on/off.
Example of an SRT block:
text
1
00:00:01,500 --> 00:00:04,800
Hello and welcome.
Common Uses:
  • Adding closed captions for accessibility (hearing impaired).
  • Translating video dialogue into different languages.
  • Adding on-screen text to social media videos to allow "sound-off" viewing.

沒有留言:

網誌存檔