Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for outputting subtitles as SubStationAlpha and SubStationAlphav2 (SSA, ASS) formats #69

Open
rlaphoenix opened this issue Dec 2, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@rlaphoenix
Copy link
Member

Is your feature request related to a problem? Please describe.
Currently --sub-format has been implemented for all other non-fragmented formats under the Subtitle.Codecs enum, other than SSA and ASS. This is mainly because pycaption does not have a writer for those formats.

Describe the solution you'd like
One potential solution is to use the pycaption.DFXPWriter() then pass the now TTML (aka DFXP) subtitle to https://github.com/Paco8/ttml2ssa

Describe alternatives you've considered
None.

Additional context
If a service provides TTML subtitles then SSA/ASS may be preferred as MKVToolNix doesn't seem to support muxing TTML subtitles (or the spec?). Therefore using --sub-format vtt is currently the only solution to have an MKV while keeping positioning, styling, and all other fancy properties of TTML subtitles. In some communities (namely anime) ASS/SSA is preferred (for whatever reason). Using --sub-format ASS at the moment just logs an error that it is not yet supported and stops devine, unless the subtitle was already ASS.

@rlaphoenix rlaphoenix added the enhancement New feature or request label Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant