MediaInfoLib icon indicating copy to clipboard operation
MediaInfoLib copied to clipboard

TTML Calculation Return Text Start / Text End

Open joe-sciame-wm opened this issue 1 year ago • 2 comments

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?

joe-sciame-wm avatar Oct 30 '24 16:10 joe-sciame-wm

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)

JeromeMartinez avatar Nov 01 '24 15:11 JeromeMartinez

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

joe-sciame-wm avatar Nov 06 '24 15:11 joe-sciame-wm