summaryrefslogtreecommitdiff
path: root/src/verify.h
AgeCommit message (Collapse)Author
2022-03-24Add verify test to check for erroneous <EntryPoint> and <Duration>v1.8.132215-markersCarl Hetherington
tags inside <MainMarkers>
2021-10-24Order subtitles in the XML according to their vertical position (DoM bug #2106).v1.8.4Carl Hetherington
2021-10-06Tweak comments for the DoM manual.Carl Hetherington
2021-08-11Add verify check for empty <Text> nodes in timed text.Carl Hetherington
2021-05-27Tidy handling of _raw_xml.Carl Hetherington
Before this if we tried to get the XML of an encrypted asset we would just get an empty string. Now we get a boost::none which means the verifier can avoid trying to check details of the XML (and instead raise a warning that you are trying to verify data that it cannot decrypt).
2021-05-27Sort notes when checking verifications.Carl Hetherington
So that the lists in the tests don't have to be in the right order.
2021-04-22Don't give an error on verifying Interop DCPs with possibly-incorrectlyCarl Hetherington
marked 3D assets. This also adds a warning into the verification output. I don't know if this is actually a standard violation but they have been seen in the wild made by "reputable" DCP creation software. DoM bug #1976.
2021-04-09Add check for Bv2.1 10.4.3 - container duration vs reel duration in timed text.Carl Hetherington
2021-04-08Verify that SMPTE subtitle IDs are handled properly (DoM #1962).Carl Hetherington
2021-03-18Tidy how we're finding the tags and xsd directories.Carl Hetherington
2021-03-15Fix various bugs in subtitle/ccap verification.Carl Hetherington
Check that subtitles don't overlap reel boundaries, and fix a few tests that trip this check. Fix confusion when calculating subtitle timings during verification where the picture asset frame rate was being used rather than the subtitle asset's edit rate. Do the subtitle timing verification for Interop as well as SMPTE subtitles. Take <StartTime> tags into account when checking subtitles, even though Bv2.1 says they should be set to 0. Rename Time::as_editable_units to Time::as_editable_units_ceil and add a _floor variant, then use that to round down when checking reel boundary overlaps.
2021-02-07Comment fixes.Carl Hetherington
2021-02-06Basic analysis (verification) of J2K codestreams.Carl Hetherington
2021-01-24Tidying.Carl Hetherington
2021-01-23Fix name clash of ERROR with windows.hCarl Hetherington
2021-01-21Some more use of enum class.Carl Hetherington
2021-01-19Tidy up parameters in VerificationNote.Carl Hetherington
2021-01-19Fix tests to actually check the results in several cases.Carl Hetherington
2021-01-19_line should be optional.Carl Hetherington
2021-01-19Cleanup: tidy enum names for verification codes.Carl Hetherington
2021-01-19Bv2.1 10.1: if any asset is encrypted they all must be.Carl Hetherington
2021-01-19Bv2.1 9.2: PKL must be signed if it contains encrypted assets.Carl Hetherington
2021-01-18Bv2.1 9.1: PKL annotation text must match CPL ContentTitleText if there is ↵Carl Hetherington
only one CPL in the PKL.
2021-01-18Bv2.1 8.7: CPLs with encrypted content must be signed.Carl Hetherington
2021-01-18Bv2.1 8.6.3: <ExtensionMetadata> must be present and have precise contents.Carl Hetherington
2021-01-18Bv2.1 8.6.{1.2}: CompositionMetadataAsset must exist and it must have some ↵Carl Hetherington
<VersionNumber>.
2021-01-18Bv2.1 8.5: FFOC and LFOC should be present and have particular values.Carl Hetherington
2021-01-17Bv2.1 8.5: Features must have FFEC/FFMC markers.Carl Hetherington
2021-01-17Bv2.1 8.4 We must have <Hash>esCarl Hetherington
2021-01-17Bv2.1 8.3.2: text tracks must have <EntryPoint> and it must be zero.Carl Hetherington
2021-01-17Bv2.1 8.3.1: MainSubtitles must be in all reels (if they are there atCarl Hetherington
all) and ClosedCaptions must have the same count on all reels.
2021-01-17Bv2.1 8.2: all parts of a reel must have the same duration.Carl Hetherington
2021-01-17Bv2.1 8.1: CPL <AnnotationText> should be the same as <ContentTitleText>Carl Hetherington
2021-01-17Bv2.1 8.1: CPL must have <AnnotationText>.Carl Hetherington
2021-01-17Bv2.1 7.3: audio sample rate must be 48kHz.Carl Hetherington
2021-01-17Bv2.1 7.2.{6,7}: various limits on subtitle line and character counts.Carl Hetherington
2021-01-17Bv2.1 7.2.{4,5}: check that subtitles are not too short, too close orCarl Hetherington
too early in the first reel.
2021-01-17Replace std::list with std::vector in the API.Carl Hetherington
2021-01-17Bv2.1 7.2.4: first subtitle should be at least 4s into the DCP.Carl Hetherington
2021-01-17Bv2.1 7.2.3: Check that subtitle <StartTime> exists and is 0.Carl Hetherington
2021-01-17Bv2.1 7.2.2: Check that subtitle languages are the same for all reels.Carl Hetherington
2021-01-17Change the word 'disagree' to 'differ'.Carl Hetherington
2021-01-17Bv2.1 7.2.2: Check that subtitle Language tags are present.Carl Hetherington
2021-01-17Bv2.1 7.2.1: Check total size of all timed text fonts is not larger than 10MB.Carl Hetherington
I'm not sure if this is what Bv2.1 means, but hopefully it's close enough.
2021-01-17Bv2.1 7.2.1: Check size of timed text asset is not larger than 115MB.Carl Hetherington
2021-01-17Bv2.1 7.2.1: Check size of closed caption XML is not larger than 256KB.Carl Hetherington
2021-01-17Bv2.1 7.1: Check picture size and frame rate.Carl Hetherington
2021-01-17Rename some notes to clarify places where size refers to bytes, not pixels.Carl Hetherington
2021-01-17Bv2.1 6.2.1: Check that subtitle reel <Language> conforms to RFC 5646.Carl Hetherington
2021-01-17Bv2.1 6.1: DCPs must be SMPTE.Carl Hetherington