summaryrefslogtreecommitdiff
path: root/src/verify.cc
AgeCommit message (Collapse)Author
2022-09-03Properly support ContentKind scope attribute.v1.8.26Carl Hetherington
2022-09-03Cleanup: some missing full stops.Carl Hetherington
2022-08-15Stop assuming that the presence of FullContentTitleText means that there was ↵Carl Hetherington
CPL metadata.
2022-03-24Add verify test to check for erroneous <EntryPoint> and <Duration>v1.8.132215-markersCarl Hetherington
tags inside <MainMarkers>
2021-11-09Fix off-by-one in verification of closed caption line length.v1.8.5Carl Hetherington
2021-10-25Message tweak.Carl Hetherington
2021-10-24Order subtitles in the XML according to their vertical position (DoM bug #2106).v1.8.4Carl Hetherington
2021-10-05Remove an unnecessary using.Carl Hetherington
2021-08-11Add verify check for empty <Text> nodes in timed text.Carl Hetherington
2021-08-09Rename verify_text_timing -> verify_text_details.Carl Hetherington
2021-05-27Make similar changes to the previous commit for _xml_id.Carl Hetherington
This is also unavailable if the asset is encrypted.
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-14Fix/hide some warnings.Carl Hetherington
2021-04-13Remove ReelEncryptableAsset and tidy up a bit.Carl Hetherington
2021-04-12Split ReelSubtitleAsset into Interop and SMPTE classes.Carl Hetherington
2021-04-11Extract some parts of ReelEncryptableAsset into ReelFileAssetCarl Hetherington
2021-04-10Rename ReelFileAsset -> ReelEncryptableAssetCarl Hetherington
2021-04-09Add check for Bv2.1 10.4.3 - container duration vs reel duration in timed text.Carl Hetherington
2021-04-09Make sound asset language optional.Carl Hetherington
2021-04-08Verify that SMPTE subtitle IDs are handled properly (DoM #1962).Carl Hetherington
2021-04-06Don't try to verify encrypted JPEG2000 bitstreams.Carl Hetherington
2021-04-06Call verify_j2k when verifying DCPs.Carl Hetherington
2021-03-18Improve errors when verifying a non-DCP directory.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-21English language tweaks.Carl Hetherington
2021-02-20Don't give a verification error if there are closed caption tracks with ↵Carl Hetherington
different languages (DoM bug #1907).
2021-02-06Basic analysis (verification) of J2K codestreams.Carl Hetherington
2021-01-26Rename ReelMXF -> ReelFileAsset.Carl Hetherington
2021-01-24Tidying.Carl Hetherington
2021-01-23Tidying.Carl Hetherington
2021-01-21Some more use of enum class.Carl Hetherington
2021-01-21Use enum class for the things in types.hCarl Hetherington
2021-01-20Fix strange crash in verify().bv2.1-verifyCarl Hetherington
This appears to be necessary to stop the first write to state.subtitle_language from segfaulting. It looks like the optional<> is in some uninitialised / indeterminate state. I could only reproduce this crash when running verify() from DoM, not from the `dcpverify` tool. And some simple test programs suggest that even doing State state; should call the constructors of anything in State.
2021-01-20Cleanup: rename some check_ prefixes to verify_.Carl Hetherington
2021-01-20Cleanup: some more use of initialiser lists.Carl Hetherington
2021-01-20VerificationNote message tidying.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-19Cleanup: remove lots of unnecessary namespace qualifiers.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-19Rename encrypted() to any_encrypted() and add all_encrypted().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>.