ymakhloufi / subtitle-toolbox
A toolbox for parsing, manipulating and exporting subtitles to various formats.
Installs: 6 267
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=7.0
Requires (Dev)
- phpunit/phpunit: >=6.0
README
This project is only a pet-project. Not sure yet how complete it will be in the end, but if you feel like fixing or adding anything, feel free to send a pull request at any time.
Restrictions
This project currently focuses on adding basic support for additional formats, rather than more sophisticated functionality, such as comments, styling, and cue positioning.
Supported formats
Format | Reads | Outputs | Additional Info |
---|---|---|---|
LyRiCs (.lrc) | No support for ID tags | No support for ID tags | Strips all xml tags, including word-timing of enhanced LRC files |
SubRip (.srt) | Full Support | Full Support | Formatter strips all xml tags except: <b><i><u><font> |
MpSub (.mpsub) | n/a | Only supports FORMAT=TIME, No support for metadata | Formatter strips all xml tags |
WebVTT (.vtt) | No Support for comments, styling or positioning | No Support for comments, styling or positioning | Formatter strips all xml tags except: <b><u><i><v><lang><c><ruby><rt> |