ymakhloufi/subtitle-toolbox

A toolbox for parsing, manipulating and exporting subtitles to various formats.

0.1.9 2024-01-02 17:58 UTC

This package is auto-updated.

Last update: 2025-03-29 00:41:09 UTC


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>