Carl Hetherington [Thu, 14 Mar 2019 17:01:47 +0000 (17:01 +0000)]
Some new features in dcpkdm.
Carl Hetherington [Thu, 14 Mar 2019 15:50:14 +0000 (15:50 +0000)]
Help fix in dcpkdm tool.
Carl Hetherington [Tue, 12 Mar 2019 12:08:17 +0000 (12:08 +0000)]
Tweak link flags.
Carl Hetherington [Tue, 12 Mar 2019 12:05:37 +0000 (12:05 +0000)]
And corresponding test updates.
Carl Hetherington [Tue, 12 Mar 2019 12:03:45 +0000 (12:03 +0000)]
More insulation against libdcp version updates.
Carl Hetherington [Tue, 12 Mar 2019 11:58:21 +0000 (11:58 +0000)]
Try to fix libdcp static build.
Carl Hetherington [Tue, 12 Mar 2019 11:53:04 +0000 (11:53 +0000)]
Update tests for previous.
Carl Hetherington [Tue, 12 Mar 2019 11:52:43 +0000 (11:52 +0000)]
Stop test output depending on libdcp version.
Carl Hetherington [Tue, 12 Mar 2019 11:49:50 +0000 (11:49 +0000)]
Fix gcov shlib build; this fixes tests to run against the locally-built libdcp rather than the installed one.
Carl Hetherington [Tue, 12 Mar 2019 00:35:15 +0000 (00:35 +0000)]
Fix string decoding; bump libcxml version.
Carl Hetherington [Mon, 11 Mar 2019 23:55:15 +0000 (23:55 +0000)]
Bump wscript required version of libcxml.
Carl Hetherington [Mon, 11 Mar 2019 23:53:31 +0000 (23:53 +0000)]
Bump libcxml to a release version.
Carl Hetherington [Mon, 4 Feb 2019 12:47:10 +0000 (12:47 +0000)]
Update for changes to video MXF headers.
Carl Hetherington [Thu, 31 Jan 2019 23:34:16 +0000 (23:34 +0000)]
Bump asdcplib for fix to DoM bug #1325.
Carl Hetherington [Thu, 24 Jan 2019 22:21:02 +0000 (22:21 +0000)]
Check return value of fread in File::File.
Carl Hetherington [Thu, 24 Jan 2019 17:36:22 +0000 (17:36 +0000)]
Fix test references now that we indent things.
Carl Hetherington [Thu, 24 Jan 2019 17:34:37 +0000 (17:34 +0000)]
Slightly hacky but hopefully functional fix for KDMs after the changes
to signer. The KDM stuff uses add_signature_value() but not sign()
since it has to allow pass-through of a KDM (so it handles <Signature> etc.
itself). This means we have to make the indentation-adding optional.
It might have been nicer to make indent() not add indentation if it's
not already there.
Carl Hetherington [Thu, 24 Jan 2019 02:21:10 +0000 (02:21 +0000)]
Remove sign test tool.
Carl Hetherington [Tue, 22 Jan 2019 00:40:16 +0000 (00:40 +0000)]
Fully indent PKL/CPL.
Carl Hetherington [Sun, 20 Jan 2019 20:26:41 +0000 (20:26 +0000)]
Attempt to fix Sony digest validation by indenting the <Signer>
and <Signature> before signing. This is in the belief that, perhaps,
the Sony software "reformats" the XML before checking that the signature
is correct (or something).
Carl Hetherington [Tue, 22 Jan 2019 15:45:48 +0000 (15:45 +0000)]
Reveal path in MissingAssetError.
Carl Hetherington [Thu, 17 Jan 2019 20:18:40 +0000 (20:18 +0000)]
Missing include for arch.
Carl Hetherington [Thu, 17 Jan 2019 19:39:48 +0000 (19:39 +0000)]
Update waf and bump libcxml for similar updates.
Carl Hetherington [Tue, 15 Jan 2019 16:57:29 +0000 (16:57 +0000)]
Bump openjpeg2-cdist for debugging code.
Carl Hetherington [Mon, 14 Jan 2019 15:47:35 +0000 (15:47 +0000)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/libdcp
Carl Hetherington [Mon, 14 Jan 2019 15:30:55 +0000 (15:30 +0000)]
Tidy repeated call of make_uuid() and don't put urn:uuid: in front of default content version label text as it's a bit confusing.
Carl Hetherington [Mon, 14 Jan 2019 15:32:58 +0000 (15:32 +0000)]
Speculative removal of call to xmlSecKeySetName when signing, on
the basis that I can't see what it's for and opendcp doesn't
do it. Chasing Sony no-validate bug.
Carl Hetherington [Sat, 12 Jan 2019 23:12:46 +0000 (23:12 +0000)]
Move verify API away from strings towards error codes.
Carl Hetherington [Thu, 10 Jan 2019 13:35:47 +0000 (13:35 +0000)]
Fix crash with insufficient parameters to libdcp.
Carl Hetherington [Tue, 8 Jan 2019 09:58:56 +0000 (09:58 +0000)]
Fix incorrect XML namespace in MXF header; I was using the prefix
instead of the namespace URI for what asdcplib calls
TimedTextDescriptor::NamespaceName.
Thanks to clairmeta; see https://github.com/Ymagis/ClairMeta/issues/72
Carl Hetherington [Sun, 6 Jan 2019 23:02:21 +0000 (23:02 +0000)]
ClairMeta points out that SMPTE subtitle MXF's ResourceID should
be the same as the internal XML ID. This in turn must be different
from the MXF's UUID.
I *think* that we have:
AssetUUID: MXF's UUID, which must be different; written from
the WriterInfo (set up by fill_writer_info, which is passed _id)
AssetID: MXF's ResourceID, which must be the _xml_id; written from
the TimedTextDescriptor.
I believe that this patch fixes the ResourceID to be the XML ID (as
required) without undoing the Doremi fix whereby the MXF UUID must
be different to the XML ID.
This patch quells ClairMeta's error.
Carl Hetherington [Sun, 6 Jan 2019 19:30:00 +0000 (19:30 +0000)]
More DCP verification detail and testing.
Carl Hetherington [Sun, 6 Jan 2019 02:34:47 +0000 (02:34 +0000)]
Tidy up a bit.
Carl Hetherington [Sun, 6 Jan 2019 02:10:56 +0000 (02:10 +0000)]
Tidy up and slightly extend verify tests.
Carl Hetherington [Sun, 6 Jan 2019 01:37:20 +0000 (01:37 +0000)]
Fix tests following additional verify check.
Carl Hetherington [Sun, 6 Jan 2019 01:02:38 +0000 (01:02 +0000)]
Check CPL hash in the PKL on verify.
Carl Hetherington [Sun, 6 Jan 2019 00:20:01 +0000 (00:20 +0000)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/libdcp
Carl Hetherington [Sun, 6 Jan 2019 00:19:52 +0000 (00:19 +0000)]
Very simple dcpverify.
Carl Hetherington [Sat, 29 Dec 2018 13:03:24 +0000 (13:03 +0000)]
Fix some warnings.
Carl Hetherington [Wed, 12 Dec 2018 21:26:42 +0000 (21:26 +0000)]
Add duration as H:M:S:F.
Carl Hetherington [Wed, 14 Nov 2018 01:23:25 +0000 (01:23 +0000)]
Simpole DCP recovery utility (dcprecover) added.
Carl Hetherington [Thu, 8 Nov 2018 23:56:52 +0000 (23:56 +0000)]
Take thumbprint rather than a full dcp::Certificate for trusted devices.
Carl Hetherington [Thu, 8 Nov 2018 21:57:56 +0000 (21:57 +0000)]
Slightly nicer error handling.
Carl Hetherington [Thu, 8 Nov 2018 19:35:37 +0000 (19:35 +0000)]
Rename dcpsignerthumb -> dcpthumb.
Carl Hetherington [Tue, 9 Oct 2018 18:20:01 +0000 (19:20 +0100)]
More raw/locale_convert.
Carl Hetherington [Tue, 9 Oct 2018 13:53:14 +0000 (14:53 +0100)]
Merge branch 'master' of ssh://main.carlh.net/home/carl/git/libdcp
Carl Hetherington [Tue, 9 Oct 2018 13:53:10 +0000 (14:53 +0100)]
More _convert functions.
Carl Hetherington [Fri, 28 Sep 2018 23:10:17 +0000 (00:10 +0100)]
Move some methods to where they make more sense.
Carl Hetherington [Tue, 25 Sep 2018 08:41:32 +0000 (09:41 +0100)]
Cope with multiple PKLs in a DCP.
Carl Hetherington [Tue, 25 Sep 2018 08:41:16 +0000 (09:41 +0100)]
ID churn.
Carl Hetherington [Sun, 23 Sep 2018 23:45:27 +0000 (00:45 +0100)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/libdcp
Carl Hetherington [Sun, 23 Sep 2018 23:44:50 +0000 (00:44 +0100)]
Add missing constructor call.
Carl Hetherington [Sat, 22 Sep 2018 16:03:29 +0000 (17:03 +0100)]
Fix build with newer boost.
Carl Hetherington [Tue, 18 Sep 2018 19:25:21 +0000 (20:25 +0100)]
Throw a better error on bad content kind.
Carl Hetherington [Fri, 14 Sep 2018 20:21:47 +0000 (21:21 +0100)]
Add operator< for LocalTime.
Carl Hetherington [Mon, 10 Sep 2018 22:09:57 +0000 (23:09 +0100)]
Bump waf.
Carl Hetherington [Mon, 10 Sep 2018 21:23:33 +0000 (22:23 +0100)]
Bump libcxml for waf upgrade.
Carl Hetherington [Mon, 10 Sep 2018 21:15:11 +0000 (22:15 +0100)]
Bump libcxml.
Carl Hetherington [Mon, 10 Sep 2018 20:30:36 +0000 (21:30 +0100)]
Fix missing version string when Popen communicate returns byte strings.
Carl Hetherington [Fri, 7 Sep 2018 12:03:07 +0000 (13:03 +0100)]
Silence warnings from asdcplib when testing a MXF file for validity.
Carl Hetherington [Sun, 2 Sep 2018 22:39:01 +0000 (23:39 +0100)]
Hopefully-correct PKL and AssetMap when using Interop PNG subtitles.
Carl Hetherington [Wed, 29 Aug 2018 10:55:18 +0000 (11:55 +0100)]
Merge branch 'master' of ssh://main.carlh.net/home/carl/git/libdcp
Carl Hetherington [Wed, 29 Aug 2018 10:55:10 +0000 (11:55 +0100)]
Allow CCAP reel nodes to have language tags.
Carl Hetherington [Tue, 28 Aug 2018 20:48:30 +0000 (21:48 +0100)]
Missing initialisattion of DCPReadError::_message.
Carl Hetherington [Wed, 22 Aug 2018 15:11:46 +0000 (16:11 +0100)]
Support more than one closed caption asset per reel.
Carl Hetherington [Sat, 18 Aug 2018 14:45:44 +0000 (15:45 +0100)]
Missing test files.
Carl Hetherington [Fri, 17 Aug 2018 12:43:34 +0000 (13:43 +0100)]
Missing header include.
Carl Hetherington [Fri, 17 Aug 2018 08:40:16 +0000 (09:40 +0100)]
Throw an exception on an unknown asset type.
Carl Hetherington [Fri, 17 Aug 2018 01:15:32 +0000 (02:15 +0100)]
Unexplained ID churn.
Carl Hetherington [Fri, 17 Aug 2018 01:15:02 +0000 (02:15 +0100)]
Adjust for Interop <PackingList> not needing content.
Carl Hetherington [Fri, 17 Aug 2018 00:50:31 +0000 (01:50 +0100)]
Remove debug.
Carl Hetherington [Fri, 17 Aug 2018 00:39:45 +0000 (01:39 +0100)]
Use PKL types rather than file extensions.
Carl Hetherington [Thu, 16 Aug 2018 23:49:56 +0000 (00:49 +0100)]
Removed unused variables.
Carl Hetherington [Thu, 16 Aug 2018 23:45:59 +0000 (00:45 +0100)]
Use PKL when verifying DCPs.
Carl Hetherington [Fri, 20 Apr 2018 22:41:21 +0000 (23:41 +0100)]
Read PKL when reading DCP.
Carl Hetherington [Thu, 16 Aug 2018 22:33:22 +0000 (23:33 +0100)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/libdcp
Carl Hetherington [Tue, 31 Jul 2018 22:04:35 +0000 (23:04 +0100)]
Tweak equals messages.
Carl Hetherington [Thu, 19 Jul 2018 21:58:25 +0000 (22:58 +0100)]
FIXME.
Carl Hetherington [Sat, 14 Jul 2018 23:03:01 +0000 (00:03 +0100)]
Fix thinko causing hang in ::equals().
Carl Hetherington [Sat, 14 Jul 2018 14:26:23 +0000 (15:26 +0100)]
New test data.
Carl Hetherington [Mon, 9 Jul 2018 01:34:23 +0000 (02:34 +0100)]
Very basic SMPTE image test.
Carl Hetherington [Mon, 9 Jul 2018 01:30:18 +0000 (02:30 +0100)]
Basic reading of Interop/SMPTE image subtitles with a test for Interop.
Carl Hetherington [Mon, 9 Jul 2018 01:29:30 +0000 (02:29 +0100)]
Fix typo.
Carl Hetherington [Mon, 9 Jul 2018 01:13:01 +0000 (02:13 +0100)]
Store image subtitle ID in the object, rather than a separate map. Start of reading image subtitles.
Carl Hetherington [Mon, 9 Jul 2018 01:12:23 +0000 (02:12 +0100)]
Remove old warning.
Carl Hetherington [Sun, 8 Jul 2018 23:43:13 +0000 (00:43 +0100)]
Switch to UUIDs for Interop image subtitle identification (rather than indices). Basic and untested SMPTE image subtitle support.
Carl Hetherington [Sun, 8 Jul 2018 23:42:15 +0000 (00:42 +0100)]
Check return value of fread().
Carl Hetherington [Sat, 7 Jul 2018 23:19:42 +0000 (00:19 +0100)]
Basic interop bitmap writing.
Carl Hetherington [Sat, 7 Jul 2018 22:16:45 +0000 (23:16 +0100)]
SubtitleString -> shared_ptr<Subtitle>
Carl Hetherington [Fri, 1 Jun 2018 00:25:18 +0000 (01:25 +0100)]
Add SubtitleImage.
Carl Hetherington [Fri, 1 Jun 2018 00:17:14 +0000 (01:17 +0100)]
Remove unused class declaration.
Carl Hetherington [Fri, 1 Jun 2018 00:11:32 +0000 (01:11 +0100)]
Move common parts of text/image subtitle out to a base class.
Carl Hetherington [Fri, 8 Jun 2018 11:42:03 +0000 (12:42 +0100)]
Fix incorrect default effect colour.
Carl Hetherington [Fri, 8 Jun 2018 11:29:47 +0000 (12:29 +0100)]
Try to fix compile warning on OS X.
Carl Hetherington [Mon, 7 May 2018 23:15:51 +0000 (00:15 +0100)]
Merge branch 'master' of ssh://main.carlh.net/home/carl/git/libdcp
Carl Hetherington [Mon, 7 May 2018 23:15:46 +0000 (00:15 +0100)]
Remove warning about new OpenSSL API.
Carl Hetherington [Wed, 2 May 2018 21:16:03 +0000 (22:16 +0100)]
rebase() would round up and so it was possible for ticks to go out of range.
Now it still rounds up but then copes with overflow.
Carl Hetherington [Tue, 24 Apr 2018 23:47:28 +0000 (00:47 +0100)]
Fix incorrect hashes caused by building with an out-of-date openjpeg.
Carl Hetherington [Tue, 24 Apr 2018 14:11:30 +0000 (15:11 +0100)]
Undo previous commit and leave comment.
Carl Hetherington [Tue, 24 Apr 2018 13:24:05 +0000 (14:24 +0100)]
Fix warning from boost test.