No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 2835d1d Sep 28, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs change wording Oct 11, 2017
src include bitstream Sep 28, 2018
tests include bitstream Sep 28, 2018
.editorconfig add editorconfig Sep 28, 2018
.gitattributes Update .gitattributes Jul 27, 2018
.gitignore initial commit Oct 4, 2017
LICENSE Update LICENSE Jul 26, 2018
composer.json include bitstream Sep 28, 2018
phpunit.xml use phpunit hooks to clean up temp files Sep 28, 2018
readme.md update reamde Sep 28, 2018

readme.md

Sup

Work in progress

Installation

Required extensions:

  • gd - for creating images from sup cues

Installation:

composer require sjorso/sup

Usage

$sup = SupFile::open('/path/to/file.sup');
 
$imageFilePaths = $sup->extractImages('/path/to/output/directory/');

Extracted images usually look something like this:

example japanese cue

example arabic cue

Sources

The bluray sup format was ported from the exar.ch suprip source code

The hd-dvd sup format was made based on these specs

The dvd sup format was ported from the subtitle creator source code

License

This project is open-sourced software licensed under the MIT license