Skip to content

Commit

Permalink
Add subtitle track support & WebVTT encoder
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanilagy committed Dec 31, 2023
1 parent b5836da commit 80f4e98
Show file tree
Hide file tree
Showing 8 changed files with 867 additions and 159 deletions.
296 changes: 249 additions & 47 deletions build/webm-muxer.js

Large diffs are not rendered by default.

14 changes: 12 additions & 2 deletions build/webm-muxer.min.js

Large diffs are not rendered by default.

14 changes: 12 additions & 2 deletions build/webm-muxer.min.mjs

Large diffs are not rendered by default.

296 changes: 249 additions & 47 deletions build/webm-muxer.mjs

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/ebml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ export enum EBMLId {
BitDepth = 0x6264,
Segment = 0x18538067,
SimpleBlock = 0xa3,
BlockGroup = 0xa0,
Block = 0xa1,
BlockAdditions = 0x75a1,
BlockDuration = 0x9b,
Cluster = 0x1f43b675,
Timestamp = 0xe7,
Cues = 0x1c53bb6b,
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export { Muxer } from './muxer';
export { SubtitleEncoder } from './subtitles';
export * from './target';
Loading

0 comments on commit 80f4e98

Please sign in to comment.