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 tags based on fields in .ass/.ssa subtitles #36

Open
aleksejrs opened this issue Jun 11, 2024 · 0 comments
Open

add tags based on fields in .ass/.ssa subtitles #36

aleksejrs opened this issue Jun 11, 2024 · 0 comments

Comments

@aleksejrs
Copy link

aleksejrs commented Jun 11, 2024

This is only a suggestion, because I've seen only a couple sources of .ass subtitles with any names specified, and I don't even know of a good way to replace/update the movies2anki cards I already have.

https://thedoctorteam.ru/project/mlp/season-1/friendship-is-magic-part-1/original
https://media.thedoctor.team/videos/season1/1x01_EngSubtitles.ass

In this example, the Style column contains the name of the character to color the text a character-specific color. "Somepony" is not a specific character, but "Default" is a narrator in that context.

Tags like "subtitlecharacter::Twilight" or "SubtitleStyle::Twilight" could be used for https://github.com/Rct567/FrequencyMan to put them in different targets and learn some voices separately.


[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Arial,30,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,2,2,2,10,10,20,1
Style: Twilight,Arial,30,&H00FFFFFF,&H000000FF,&H009C1B9F,&H00000000,0,0,0,0,100,100,0,0,1,1,2,2,10,10,20,1
Style: Somepony,Arial,30,&H00FFFFFF,&H000000FF,&H007D7E80,&H00000000,0,0,0,0,100,100,0,0,1,1,2,2,10,10,20,1

[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text

Dialogue: 0,0:00:08.08,0:00:11.57,Default,Default,0,0,0,,Once upon a time, in a magical land of Equestria...

Dialogue: 0,0:01:23.58,0:01:27.64,Default,Default,0,0,0,,The elder sister took on responsibility for both sun and moon....
Dialogue: 0,0:01:27.84,0:01:31.30,Twilight,Default,0,0,0,,...and harmony has been maintained in Equestria for generations since.
Dialogue: 0,0:01:34.65,0:01:39.14,Twilight,Default,0,0,0,,Hm... Elements of Harmony. I know I've heard of those before.
Dialogue: 0,0:01:39.94,0:01:41.06,Twilight,Default,0,0,0,,But where?
Dialogue: 0,0:02:21.88,0:02:23.97,Somepony,Default,0,0,0,,There you are, Twilight!
Dialogue: 0,0:02:23.97,0:02:27.47,Somepony,Default,0,0,0,,Moondancer is having a little get-together in the west castle courtyard.
Dialogue: 0,0:02:27.66,0:02:28.78,Somepony,Default,0,0,0,,You wanna come?
Dialogue: 0,0:02:28.89,0:02:33.16,Twilight,Default,0,0,0,,Oh, sorry girls. I gotta lot of studying to catch up on.
Dialogue: 0,0:02:35.86,0:02:38.30,Somepony,Default,0,0,0,,Does that pony do anything except study?
Dialogue: 0,0:02:39.32,0:02:42.07,Somepony,Default,0,0,0,,I think she's more interested in books than friends.

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

No branches or pull requests

1 participant