Skip to content

Improve WebVTT to TTML conversion#132

Merged
asticode merged 4 commits into
asticode:masterfrom
dlecorfec:improve-vtt-to-ttml-conversion
Nov 4, 2025
Merged

Improve WebVTT to TTML conversion#132
asticode merged 4 commits into
asticode:masterfrom
dlecorfec:improve-vtt-to-ttml-conversion

Conversation

@dlecorfec

Copy link
Copy Markdown
Contributor

Handle colors and positions while converting WebVTT to TTML (yes we have this usecase).

In VTT testdata, the change of "start" to "line-left" has been done because "start" is not a legal value here.

@asticode asticode left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR ❤️

Comment thread webvtt.go Outdated
Comment thread subtitles.go Outdated
Comment thread subtitles.go Outdated
@dlecorfec

Copy link
Copy Markdown
Contributor Author

Thanks for reviewing this PR! The commit e6a64eb should address your concerns.

@asticode asticode left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of minor changes needed 👍

Comment thread webvtt.go Outdated
Comment thread subtitles.go Outdated
@asticode asticode merged commit 995c70a into asticode:master Nov 4, 2025
1 check passed
@asticode

asticode commented Nov 4, 2025

Copy link
Copy Markdown
Owner

Thanks for the PR and the quick changes ❤️

FYI I've created a v0.38.0 tag 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants