A collection of tools made to help you create and edit subtitles in different formats (Subrip, WebVTT, Substation Alpha...)
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/Captioning make compatible all format class ms2tc function declaration with abst… Dec 11, 2017
tests Handle more than 2 digits long hours Oct 17, 2017
.gitignore
.travis.yml
LICENSE
README.md
composer.json Typo in composer keywords Mar 24, 2017
phpunit.xml.dist

README.md

Captioning Build Status Latest Stable Version Total Downloads Scrutinizer Code Quality

Captioning is a collection of tools made to help you create and edit subtitles in different formats:

  • Subrip (.srt)
  • WebVTT (.vtt)
  • Substation Alpha (.ass)
  • Youtube Subtitles (.sbv)
  • JSON (TED.com) Subtitles (.json)
  • [WIP] TTML (.dfxp)

Installation

composer require captioning/captioning "2.*"

Usage

Examples and snippets in the wiki.

TODO-list

  • [Substation Alpha] add dynamic parsing if events format is not the default one
  • [WebVTT] Check if the region defined in WebvttFile object in WebvttCue::checkSetting()
  • [TTML] Implement the buildPart method