summaryrefslogtreecommitdiff
path: root/tools/dcpinfo.cc
AgeCommit message (Collapse)Author
2025-03-25Adjust filter_notes to also handle the ignore_bv21_smpte flag.Carl Hetherington
This fixes a problem where the Bv21 SMPTE warning appears in HTML reports.
2024-08-17Subtitle{,String,Image} -> Text{,String,Image}.Carl Hetherington
2024-08-17{,Interop,SMPTE}SubtitleAsset -> {,Interop,SMPTE}TextAsset.Carl Hetherington
2024-08-17Reel{,Interop,SMPTE}SubtitleAsset -> Reel{,Interop,SMPTE}TextAsset.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}
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-10-06Cleanup: sorting.Carl Hetherington
2023-02-26Remove LIBDCP_VERSION in favour of dcp::version.v1.8.62Carl Hetherington
The former is only set at configure which is a bit confusing, and I can't think of a reason to have both.
2021-06-26C++11 cleanup.Carl Hetherington
2021-01-22Assorted c++11 cleanups.Carl Hetherington
2021-01-21Use enum class for the things in types.hCarl Hetherington
2021-01-17Make CPL annotation_text optional.Carl Hetherington
2021-01-17Change subtitle SubtitleAsset API to return const Subtitle pointers; add ↵Carl Hetherington
subtitles_in_reel().
2021-01-17Replace std::list with std::vector in the API.Carl Hetherington
2021-01-08std::shared_ptrCarl Hetherington
2020-11-02Make MonoPictureAsset implement the Data interface.Carl Hetherington
2020-09-22Fix crashes when static linking due to tricky lifetimecrashCarl Hetherington
management of ASDCP::DefaultSMPTEDict().
2020-06-19Show CPL IDs in dcpinfo.Carl Hetherington
2020-04-14s/DCPReadError/ReadError/gCarl Hetherington
2020-03-16Fix misformatting of dcpinfo output.Carl Hetherington
2020-03-15Fix getopt string.Carl Hetherington
2020-03-15Allow general restriction of what is output.Carl Hetherington
2019-12-22Some cleanups; output total time.Carl Hetherington
2019-12-22Use VerificationNote for non-fatal errors in DCP::read.Carl Hetherington
2019-03-18Accept that <Duration> and <EntryPoint> are optional, and account for this ↵Carl Hetherington
in tests. Also fix tests to reflect <AnnotationText> no longer being filled in with a default value.
2018-12-12Add duration as H:M:S:F.Carl Hetherington
2018-07-07SubtitleString -> shared_ptr<Subtitle>Carl Hetherington
2018-04-07Try to fix Windows build.Carl Hetherington
2018-04-07Support decryption and decompression of picture assets.Carl Hetherington
2018-04-07Add optional dump of JPEG2000 picture sizes.Carl Hetherington
2018-02-22Cope nicely with VFs in dcpinfo.Carl Hetherington
2017-07-24Allow dcpinfo to read a CPL.Carl Hetherington
2017-04-04Add some more bits to the dcpinfo.Carl Hetherington
2016-09-27Small cleanups.Carl Hetherington
2016-09-27Fix GPL boilerplate in tools/Carl Hetherington
2016-06-01Still more licence fixups.Carl Hetherington
2015-12-16Tidy API; subtitle_asset() -> asset()>Carl Hetherington
2015-06-24No-op: whitespace.Carl Hetherington
2015-06-05Initial work on SMPTE subtitles.Carl Hetherington
2015-06-05MXF -> Asset in lots of places.Carl Hetherington
2015-06-05Rename some stuff Content -> Asset.Carl Hetherington
2015-06-04Add halign to SubtitleString's operator<< and use it for dcpinfo.Carl Hetherington
2014-12-27Rename color -> colour.Carl Hetherington
2014-12-14Switch subtitle string font specs to be the font ID; split SubtitleContent ↵Carl Hetherington
into Interop and SMPTE.
2014-07-02Tweaks: don't use shared_ptr for dcp::SubtitleString; ↵Carl Hetherington
SubtitleContent::write_xml takes a path.
2014-05-03Assorted test fixes.Carl Hetherington
2014-05-03Use exceptions to hold errors even in the keep_going case.Carl Hetherington
2014-05-03Add --keep-going option.Carl Hetherington
2014-03-18Merge master.Carl Hetherington