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 VTT (Web Video Text Tracks) file format #294

Open
vrcprl opened this issue Nov 4, 2024 · 1 comment · May be fixed by #384
Open

Add support for VTT (Web Video Text Tracks) file format #294

vrcprl opened this issue Nov 4, 2024 · 1 comment · May be fixed by #384
Assignees
Labels
enhancement New feature or request

Comments

@vrcprl
Copy link
Contributor

vrcprl commented Nov 4, 2024

What

Implement a loader for VTT files in Replexica.

Why

To support web developers and video content creators working with HTML5 video subtitles.

How

  1. Create a new loader in packages/cli/src/loaders/vtt.ts
  2. Implement parsing logic for VTT structure
  3. Add two unit tests in packages/cli/src/loaders/index.spec.ts:
    • Test parsing a simple VTT file
    • Test handling cue settings in VTT entries
  4. Update @replexica/spec to include VTT format
  5. Generate a changeset using pnpm new for both 'replexica' and '@replexica/cli' packages
  6. In the pull request, include a link to the VTT specification used.

After completing the task

Noticed a file format Replexica doesn't yet support? Please create a new GitHub ticket (if it doesn't yet exist!), using the format/structure of this GitHub issue.

@vrcprl vrcprl added the enhancement New feature or request label Nov 4, 2024
@partik03
Copy link
Contributor

partik03 commented Nov 7, 2024

@maxprilutskiy I'll take this as vtt is very similar to srt file format

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
2 participants