-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #351 from bcc-code/feat/merge-and-import-subs
Merge and import subs based on CSV spec
- Loading branch information
Showing
12 changed files
with
416 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
1 | ||
00:00:01,000 --> 00:00:04,000 | ||
Hello, this is the first subtitle | ||
Second line of the first subtitle | ||
|
||
2 | ||
00:00:04,500 --> 00:00:07,800 | ||
This is the second subtitle | ||
It can also have multiple lines | ||
And even more lines | ||
|
||
3 | ||
00:00:08,000 --> 00:00:12,000 | ||
Third subtitle entry | ||
|
||
4 | ||
00:00:13,000 --> 00:00:15,500 | ||
- Multiple speakers can be shown | ||
- Using dashes like this |
40 changes: 40 additions & 0 deletions
40
services/transcode/testdata/subtitles_merge_by_offset_result.srt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
1 | ||
00:00:01,000 --> 00:00:04,000 | ||
Hello, this is the first subtitle | ||
Second line of the first subtitle | ||
|
||
2 | ||
00:00:04,500 --> 00:00:07,800 | ||
This is the second subtitle | ||
It can also have multiple lines | ||
And even more lines | ||
|
||
3 | ||
00:00:08,000 --> 00:00:12,000 | ||
Third subtitle entry | ||
|
||
4 | ||
00:00:13,000 --> 00:00:15,500 | ||
- Multiple speakers can be shown | ||
- Using dashes like this | ||
|
||
5 | ||
00:01:41,000 --> 00:01:44,000 | ||
Hello, this is the first subtitle | ||
Second line of the first subtitle | ||
|
||
6 | ||
00:01:44,500 --> 00:01:47,800 | ||
This is the second subtitle | ||
It can also have multiple lines | ||
And even more lines | ||
|
||
7 | ||
00:01:48,000 --> 00:01:52,000 | ||
Third subtitle entry | ||
|
||
8 | ||
00:01:53,000 --> 00:01:55,500 | ||
- Multiple speakers can be shown | ||
- Using dashes like this | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
1 | ||
00:00:01,000 --> 00:00:04,000 | ||
Hello, this is the first subtitle | ||
Second line of the first subtitle | ||
|
||
2 | ||
00:00:04,500 --> 00:00:07,800 | ||
This is the second subtitle | ||
It can also have multiple lines | ||
And even more lines | ||
|
||
3 | ||
00:00:18,000 --> 00:00:20,500 | ||
- Multiple speakers can be shown | ||
- Using dashes like this | ||
|
Oops, something went wrong.