summaryrefslogtreecommitdiff
path: root/src/verify.cc
AgeCommit message (Collapse)Author
2024-09-25Merge remote-tracking branch 'origin/main' into v1.9.xv1.9.22Carl Hetherington
2024-09-23Allow but give an error when seeing a strange PKL namespace.v1.8.110Carl Hetherington
DoM bug #2868 reports that Resolve made a DCP with the PKL namespace http://www.smpte-ra.org/schemas/2067-2/2016/PKL This seems wrong (google suggests that this is the namespace for IMF PKLs) but let's accept it and log an error instead of throwing an exception.
2024-08-17Subtitle{,String,Image} -> Text{,String,Image}.Carl Hetherington
2024-08-17{,Interop,SMPTE}SubtitleAsset -> {,Interop,SMPTE}TextAsset.Carl Hetherington
2024-08-17Merge ReelClosedCaptionAsset into ReelTextAsset.Carl Hetherington
2024-08-17Reel{,Interop,SMPTE}SubtitleAsset -> Reel{,Interop,SMPTE}TextAsset.Carl Hetherington
2024-06-28Merge remote-tracking branch 'origin/main' into v1.9.xv1.9.10Carl Hetherington
2024-06-27Speculative fix for assertion failure (DoM #2839).v1.8.101Carl Hetherington
2024-06-27Whitespace.Carl Hetherington
2024-06-27Some comments and default values.Carl Hetherington
2024-06-27Extract method to a header to make it testable.Carl Hetherington
2024-05-24Check that DCPs have 24-bit audio.Carl Hetherington
2024-04-18Rename classes.Carl Hetherington
sed -i "s/\<PictureAsset/J2KPictureAsset/g" src/*.{cc,h} sed -i "s/\<dcp::PictureAsset/dcp::J2KPictureAsset/g" src/*.{cc,h} test/*.{cc,h} tools/*.cc examples/*.cc sed -i "s/\<MonoPictureAsset/MonoJ2KPictureAsset/g" src/*.{cc,h} tools/*.cc test/*.{cc,h} sed -i "s/\<dcp::MonoPictureAsset/dcp::MonoJ2KPictureAsset/g" src/*.{cc,h} test/*.{cc,h} tools/*.cc examples/*.cc sed -i "s/\<StereoPictureAsset/StereoJ2KPictureAsset/g" src/*.{cc,h} tools/*.cc sed -i "s/\<dcp::StereoPictureAsset/dcp::StereoJ2KPictureAsset/g" src/*.{cc,h} test/*.{cc,h} tools/*.cc examples/*.cc sed -i "s/\<MonoPictureFrame/MonoJ2KPictureFrame/g" src/*.{cc,h} tools/*.cc test/*.{cc,h} sed -i "s/\<dcp::MonoPictureFrame/dcp::MonoJ2KPictureFrame/g" src/*.{cc,h} test/*.{cc,h} tools/*.cc examples/*.cc sed -i "s/\<StereoPictureFrame/StereoJ2KPictureFrame/g" src/*.{cc,h} tools/*.cc sed -i "s/\<dcp::StereoPictureFrame/dcp::StereoJ2KPictureFrame/g" src/*.{cc,h} test/*.{cc,h} tools/*.cc examples/*.cc
2024-04-18Fix includes.Carl Hetherington
sed -i "s/#include \"stereo_picture_asset_writer.h\"/#include \"stereo_j2k_picture_asset_writer.h\""/g src/*.{cc,h} sed -i "s/#include \"mono_picture_asset_writer.h\"/#include \"mono_j2k_picture_asset_writer.h\""/g src/*.{cc,h} examples/*.cc sed -i "s/#include \"stereo_picture_asset_reader.h\"/#include \"stereo_j2k_picture_asset_reader.h\""/g src/*.{cc,h} sed -i "s/#include \"mono_picture_asset_reader.h\"/#include \"mono_j2k_picture_asset_reader.h\""/g src/*.{cc,h} test/*.cc examples/*.cc sed -i "s/#include \"stereo_picture_asset.h\"/#include \"stereo_j2k_picture_asset.h\""/g src/*.{cc,h} test/*.cc examples/*.cc sed -i "s/#include \"mono_picture_asset.h\"/#include \"mono_j2k_picture_asset.h\""/g src/*.{cc,h} examples/*.cc sed -i "s/#include \"picture_asset_writer.h\"/#include \"j2k_picture_asset_writer.h\""/g src/*.{cc,h} test/*.cc sed -i "s/#include \"mono_picture_asset_writer.h\"/#include \"mono_j2k_picture_asset_writer.h\""/g src/*.{cc,h} test/*.cc tools/*.cc sed -i "s/#include \"picture_asset.h\"/#include \"j2k_picture_asset.h\""/g src/*.{cc,h} tools/*.cc sed -i "s/#include \"mono_picture_asset.h\"/#include \"mono_j2k_picture_asset.h\""/g src/*.{cc,h} test/*.cc tools/*.cc sed -i "s/#include \"mono_picture_frame.h\"/#include \"mono_j2k_picture_frame.h\""/g src/*.{cc,h} test/*.cc examples/*.cc sed -i "s/#include \"stereo_picture_frame.h\"/#include \"stereo_j2k_picture_frame.h\""/g src/*.{cc,h} sed -i "s/#include \"picture_asset_writer_common.cc\"/#include \"j2k_picture_asset_writer_common.cc\""/g src/*.{cc,h}
2024-04-18Merge remote-tracking branch 'origin/main' into v1.9.xCarl Hetherington
2024-04-17Make some not-so-important CPL read errors non-fatal (DoM #2797).v1.8.99Carl Hetherington
2024-04-15Rename VerifyResult -> VerificationResult.Carl Hetherington
2024-04-15Add process_string parameter to dcp::note_to_string().Carl Hetherington
2024-04-15Add process_filename parameter to note_to_string().Carl Hetherington
2024-04-15Add OK note when content version label text is valid.Carl Hetherington
2024-04-15Add OK note when <ContentKind> is valid.Carl Hetherington
2024-04-15Add OK note when PKL and CPL annotation texts match.Carl Hetherington
2024-04-15Add OK note when CPL has valid annotation text.Carl Hetherington
2024-04-15Add OK note when main picture active area is valid.Carl Hetherington
2024-04-15Add OK note when release territory is valid.Carl Hetherington
2024-04-15Add OK note when picture asset hashes are correct.Carl Hetherington
2024-04-15Add OK note when picture frame sizes are all OK.Carl Hetherington
2024-04-15Add OK note when the CPL hash in the PKL is right.Carl Hetherington
2024-04-15Add OK note when all or nothing is encrypted.Carl Hetherington
2024-04-15Cleanup: use std::function instead of boost::function.Carl Hetherington
2024-04-14Make verified DCPs available on the return from dcp::verify().Carl Hetherington
2024-04-14Add operator!= for dcp::VerificationNote.Carl Hetherington
2024-04-14Store CPL ID in CPL-related verification notes.Carl Hetherington
2024-04-14Use new Context to reduce some boilerplate.Carl Hetherington
2024-03-18Catch read errors from verify_cpl (e.g. basic failures to read a video frame).v1.8.98Carl Hetherington
2024-01-12Note correct/incorrect hashes when the verifier raises related errors.Carl Hetherington
2024-01-05Fix incorrect placeholder.Carl Hetherington
2024-01-03Fix a couple of places where we could segfault while looking at a VF.v1.8.92Carl Hetherington
2024-01-03Report every frame (with index) that is over (or nearly over) the size limit ↵v1.8.91Carl Hetherington
(DoM #2698).
2024-01-03Report every frame (with index) that has a JPEG2000 codestream error (DoM ↵Carl Hetherington
#2698).
2023-12-26Fix operator== to take everything in VerificationNote into account.Carl Hetherington
2023-11-20Allow use of KDMs when verifying DCPs.Carl Hetherington
2023-11-19Report progress with done/total rather than a float.Carl Hetherington
2023-10-09Add wrappers around boost::filesystem methods that handle theCarl Hetherington
required mangling of long filenames on Windows. Also wrap lots of missing places (e.g. calls to asdcplib, libxml++, libcxml etc.) in dcp::filesystem::fix_long_path(). The idea is to keep paths un-mangled until they we call some filesystem-related API and mangle them at that point. Otherwise we end up serialising mangled names, which seems like it will not end well. Should fix DoM #2623.
2023-08-24Check for missing font files referred from Interop closed captions (as well ↵Carl Hetherington
as subs).
2023-08-11Add check for empty <LabelText> in <ContentVersion>v1.8.76Carl Hetherington
We have a report of Deluxe failing a DCP because of this.
2023-06-29When reading a DCP set up asset hashes from the CPL/PKL, not by digesting ↵Carl Hetherington
the actual asset. Previously when reading a DCP we would recalculate asset hashes. This meant that corrupted DCPs could be loaded in and their hashes re-written (if nobody checked the new hashes against the ones in the PKL/CPL). It seems better to take the hashes from the metadata. Then if the assets are corrupted and the DCP is re-written the PKL/CPL hashes will be preserved, showing rather than hiding the corruption.
2023-06-27Add verifier check for the actual asset file's ID not being the same as the ↵Carl Hetherington
one in the asset map.
2023-06-02Verify error if SMPTE subtitle asset has <Text> but no <LoadFont>.v1.8.73Carl Hetherington
2023-06-02Cleanup: replace a nasty try/catch.Carl Hetherington