summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2021-04-12Split ReelSubtitleAsset into Interop and SMPTE classes.Carl Hetherington
2021-04-11Small bits of tidying up.Carl Hetherington
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-04-06Don't try to verify encrypted JPEG2000 bitstreams.Carl Hetherington
2021-04-06Hide dump_notes() again.Carl Hetherington
2021-04-06Call verify_j2k when verifying DCPs.Carl Hetherington
2021-03-26Write MCA tags based on the specified sound field.Carl Hetherington
I had previously assumed that one should write MCA information into the sound MXF based on what channels actually contain sound rather than silence. However a previous example of a stereo DCP gives a verification error in EasyDCP (see DoM bug #1935) which is solved by adding MCA tags for each channel in the specified sound field (e.g. at least 6 tags for a file which is marked as 5.1) even if the audio is really stereo. This commit removes the "active channels" stuff and makes sure that if we say a file is 5.1 we write at least 6 MCA tags (and similarly for 7.1).
2021-03-19Missing library for static build.Carl Hetherington
2021-03-19Fix static test buid.Carl Hetherington
2021-03-18Tidy how we're finding the tags and xsd directories.Carl Hetherington
2021-03-17Fix combining when two DCPs both contain copies of the same asset.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-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-02-06Don't use flat_red.j2c for the simple DCP test as it's only 8-bit.Carl Hetherington
2021-02-06Rename j2k.{cc,h} => j2k_transcode.{cc,h}Carl Hetherington
2021-01-22Assorted c++11 cleanups.Carl Hetherington
2021-01-21Move all ostream operator<< into some test-only stream_operators.{cc,h} files.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-20Cleanup: more test naming tweaks.Carl Hetherington
2021-01-20Tidy up some test names.Carl Hetherington
2021-01-19Tidy up parameters in VerificationNote.Carl Hetherington
2021-01-19Cleanup: now have using namespace boost::filesystem.Carl Hetherington
2021-01-19Fix tests to actually check the results in several cases.Carl Hetherington
2021-01-19Cleanup: tidy enum names for verification codes.Carl Hetherington
2021-01-19Cleanup: more use of prepare_directory().Carl Hetherington
2021-01-19Cleanup: more use of check_verify_result.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>.
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-17Use feature not trailer for some tests to avoid verification errors about ↵Carl Hetherington
FFEC/FFMC.
2021-01-17Check that the Editor actually edits something.Carl Hetherington
2021-01-17Use an enum class for Marker.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-17Make CPL annotation_text optional.Carl Hetherington
2021-01-17Fix some directory paths for tests.Carl Hetherington
2021-01-17Bv2.1 7.3: audio sample rate must be 48kHz.Carl Hetherington