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

Invalid timestamp format when converting XML #493

Open
danielthepope opened this issue Jul 19, 2019 · 2 comments
Open

Invalid timestamp format when converting XML #493

danielthepope opened this issue Jul 19, 2019 · 2 comments

Comments

@danielthepope
Copy link
Collaborator

When I use ebu_tt_live.documents.converters.ebutt3_to_ebuttd to convert a EBU-TT-Live document with ttp:timeBase="media" to an EBU-TT-D, the media timecodes remain unchanged.

An input line could look like

<tt:p xml:id="C2" region="R3" begin="2.0s" end="6.8s" style="S1">

Output timestamps remain unchanged: begin="2.0s" when it should be more like begin="00:00:02.000" (not sure about the milliseconds)

@nigelmegitt
Copy link
Collaborator

Thanks @danielthepope you're right here. This is because Tech3380 v1.0.1 says ebuttdt:distributionMediaTimingType is

hours:minutes:seconds followed by an optional fraction.

But there's no distribution media timing type converter used in bindings/converters/ebutt3_ebuttd.py, class EBUTT3EBUTTDConverter, method _process_timing_type which should be making some kind of new type based on the input data even when converting from media timebase to media timebase.

We should try to tackle this in release/3.0

@nigelmegitt
Copy link
Collaborator

I suspect the EBU-TT-D XSD needs updating here too.

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

2 participants