sandflow / imschrm Goto Github PK
View Code? Open in Web Editor NEWValidator for the IMSC Hypothetical Render Model (HRM), which constrains TTML document complexity.
License: BSD 2-Clause "Simplified" License
Validator for the IMSC Hypothetical Render Model (HRM), which constrains TTML document complexity.
License: BSD 2-Clause "Simplified" License
The codepoint sets used in determining GCpy fail to include entries in http://www.unicode.org/Public/UNIDATA/Scripts.txt that do not include a range.
imscHRM/scripts/make_gcpy_source.py
Line 52 in 61181f7
The render time and glyph cache checks do not tolerate any numerical errors:
imscHRM/src/main/python/imschrm/hrm.py
Line 118 in e8f6d0a
When processing an MP4 file list, if an init file (filename with "init" in it) is omitted, the error message is: "error XML parsing error: not well-formed (invalid token): line 1, column 0", which appears as if it is processing a text (xml) file. It would be better if the message was something like "required init file is missing".
Netflix timing guidelines for subtitles recommends to "close the gap" between subtitles when the gap is smaller than 500ms by setting the gap to 2 frames.
This means that the validation fails on perfectly acceptable documents that produce an ISD sequence with short, empty ISD documents in between long-duration, non-empty ISD documents. The software (and maybe the spec) should be updated to work with such documents.
Right now, the imsc-hrm-tests dur003-fail passes when it should fail. See also w3c/imsc-hrm-tests#9.
It used to fail in imscHRM because the previous ISD beginning at 2.5s was considered non-empty, and therefore made the available time for the following ISD beginning at 3s be 0.5s. However, that previous ISD only contained content not associated with any region, and should therefore have been pruned. If it had been pruned, then the ISD should have been considered empty, and therefore the ISD beginning at 3s would have had a full 1s to render, and that older variant of the test should have passed instead of failing.
_compute_dur_t()
is called on empty ISDs and always invalidates the glyph cache.
imscHRM/src/main/python/imschrm/hrm.py
Line 209 in e8f6d0a
The unit test fixture will not catch an expected-to-fail test that, in fact, does not fail the HRM:
imscHRM/src/test/python/test_suite.py
Line 49 in af3aa15
This is a relatively common message which produces no output. Most often there is a problem with the file, perhaps the ISOBMFF segment (the containing IMSC1 document validates). Some hint about what was not liked is important to proceeding.
Test file provided privately.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.