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

TTML Calculation Return Text Start / Text End #2136

Open
joe-sciame-wm opened this issue Oct 30, 2024 · 2 comments
Open

TTML Calculation Return Text Start / Text End #2136

joe-sciame-wm opened this issue Oct 30, 2024 · 2 comments

Comments

@joe-sciame-wm
Copy link

joe-sciame-wm commented Oct 30, 2024

Hi Jerome,

We have some text files we are trying to validate and the validation is capturing subtitle lines that do not have text.

<div xml:id="e_0" region="R0" begin="00:57:34.120" end="00:57:35.440" style="d_default"/>
<div xml:id="e_1" region="R1" begin="01:00:01.440" end="01:00:04.320" style="d_default">
    <p style="p_font2"><span>CAPTIONING MADE POSSIBLE BY</span></p>
    <p style="p_font2"><span>WARNER BROS. ANIMATION</span></p>
</div>
Start time (commands)                    : 3454120
Start time (commands)                    : 57 min 34 s
Start time (commands)                    : 57 min 34 s 120 ms
Start time (commands)                    : 57 min 34 s
Start time (commands)                    : 00:57:34.120
Start time (commands)                    : 00:57:34:03
Start time (commands)                    : 00:57:34.120 (00:57:34:03)

Similar to our SCC request are we able to split out the check between first and last tags and first and last text?

@JeromeMartinez
Copy link
Member

Do we agree that the expected result is:

Start time (commands)                    : 00:57:34.120
Start time                               : 01:00:01.440
End time                                 : 01:00:04.320
End time (commands)                      : 01:00:04.320

("Start time" excludes "e_0" as it has no content, but we keep "e_0" for "Start time (commands)", same for end)

@joe-sciame-wm
Copy link
Author

Hi Jerome,
Yes, it would make sense to denote the start time (commands) versus start time (Content). Same for end.

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

No branches or pull requests

2 participants