libdcp.git
5 years agoVery basic SMPTE image test. bitmap-subs
Carl Hetherington [Mon, 9 Jul 2018 01:34:23 +0000 (02:34 +0100)]
Very basic SMPTE image test.

5 years agoBasic reading of Interop/SMPTE image subtitles with a test for Interop.
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.

5 years agoFix typo.
Carl Hetherington [Mon, 9 Jul 2018 01:29:30 +0000 (02:29 +0100)]
Fix typo.

5 years agoStore image subtitle ID in the object, rather than a separate map. Start of reading...
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.

5 years agoRemove old warning.
Carl Hetherington [Mon, 9 Jul 2018 01:12:23 +0000 (02:12 +0100)]
Remove old warning.

5 years agoSwitch to UUIDs for Interop image subtitle identification (rather than indices)....
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.

5 years agoCheck return value of fread().
Carl Hetherington [Sun, 8 Jul 2018 23:42:15 +0000 (00:42 +0100)]
Check return value of fread().

5 years agoBasic interop bitmap writing.
Carl Hetherington [Sat, 7 Jul 2018 23:19:42 +0000 (00:19 +0100)]
Basic interop bitmap writing.

5 years agoSubtitleString -> shared_ptr<Subtitle>
Carl Hetherington [Sat, 7 Jul 2018 22:16:45 +0000 (23:16 +0100)]
SubtitleString -> shared_ptr<Subtitle>

5 years agoAdd SubtitleImage.
Carl Hetherington [Fri, 1 Jun 2018 00:25:18 +0000 (01:25 +0100)]
Add SubtitleImage.

5 years agoRemove unused class declaration.
Carl Hetherington [Fri, 1 Jun 2018 00:17:14 +0000 (01:17 +0100)]
Remove unused class declaration.

5 years agoMove common parts of text/image subtitle out to a base class.
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.

5 years agoFix incorrect default effect colour.
Carl Hetherington [Fri, 8 Jun 2018 11:42:03 +0000 (12:42 +0100)]
Fix incorrect default effect colour.

5 years agoTry to fix compile warning on OS X.
Carl Hetherington [Fri, 8 Jun 2018 11:29:47 +0000 (12:29 +0100)]
Try to fix compile warning on OS X.

5 years agoMerge branch 'master' of ssh://main.carlh.net/home/carl/git/libdcp
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

5 years agoRemove warning about new OpenSSL API.
Carl Hetherington [Mon, 7 May 2018 23:15:46 +0000 (00:15 +0100)]
Remove warning about new OpenSSL API.

5 years agorebase() would round up and so it was possible for ticks to go out of range.
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.

6 years agoFix incorrect hashes caused by building with an out-of-date openjpeg.
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.

6 years agoUndo previous commit and leave comment.
Carl Hetherington [Tue, 24 Apr 2018 14:11:30 +0000 (15:11 +0100)]
Undo previous commit and leave comment.

6 years agoFix warning from boost test.
Carl Hetherington [Tue, 24 Apr 2018 13:24:05 +0000 (14:24 +0100)]
Fix warning from boost test.

6 years agoBump libcxml for comment-in-node-data fix.
Carl Hetherington [Sun, 22 Apr 2018 20:55:23 +0000 (21:55 +0100)]
Bump libcxml for comment-in-node-data fix.

6 years agoCope with change to string.
Carl Hetherington [Fri, 20 Apr 2018 21:32:08 +0000 (22:32 +0100)]
Cope with change to string.

6 years agoFormatting of errors.
Carl Hetherington [Thu, 19 Apr 2018 23:41:30 +0000 (00:41 +0100)]
Formatting of errors.

6 years agoTweak ordering.
Carl Hetherington [Sun, 8 Apr 2018 00:51:17 +0000 (01:51 +0100)]
Tweak ordering.

6 years agoImprove naming of Windows zip files.
Carl Hetherington [Sun, 8 Apr 2018 00:40:58 +0000 (01:40 +0100)]
Improve naming of Windows zip files.

6 years agoRequired import to wscript. v1.6.1
Carl Hetherington [Sun, 8 Apr 2018 00:10:01 +0000 (01:10 +0100)]
Required import to wscript.

6 years agoMove to tag-versioning. v1.6.0
Carl Hetherington [Sat, 7 Apr 2018 23:57:47 +0000 (00:57 +0100)]
Move to tag-versioning.

6 years agoFix frame info hash tests.
Carl Hetherington [Sat, 7 Apr 2018 23:34:28 +0000 (00:34 +0100)]
Fix frame info hash tests.

6 years agoTry to fix Windows build.
Carl Hetherington [Sat, 7 Apr 2018 21:07:09 +0000 (22:07 +0100)]
Try to fix Windows build.

6 years agoAdd package() to cscript for Windows.
Carl Hetherington [Sat, 7 Apr 2018 21:00:43 +0000 (22:00 +0100)]
Add package() to cscript for Windows.

6 years agoSupport decryption and decompression of picture assets.
Carl Hetherington [Sat, 7 Apr 2018 20:52:55 +0000 (21:52 +0100)]
Support decryption and decompression of picture assets.

6 years agoAdd comment.
Carl Hetherington [Sat, 7 Apr 2018 20:50:35 +0000 (21:50 +0100)]
Add comment.

6 years agoAdd optional dump of JPEG2000 picture sizes.
Carl Hetherington [Sat, 7 Apr 2018 19:46:20 +0000 (20:46 +0100)]
Add optional dump of JPEG2000 picture sizes.

6 years agoMake test compatible with old boost filesystem libraries.
Carl Hetherington [Mon, 26 Mar 2018 10:04:33 +0000 (11:04 +0100)]
Make test compatible with old boost filesystem libraries.

6 years agoMissing include.
Carl Hetherington [Sun, 25 Mar 2018 01:51:56 +0000 (02:51 +0100)]
Missing include.

6 years agoFix reference data for changes to dsig namespacing.
Carl Hetherington [Thu, 22 Mar 2018 21:09:18 +0000 (21:09 +0000)]
Fix reference data for changes to dsig namespacing.

6 years agoRemove some debug code.
Carl Hetherington [Thu, 22 Mar 2018 20:48:17 +0000 (20:48 +0000)]
Remove some debug code.

6 years agoPut xmlns:dsig on Signer and Signature rather than on the whole
Carl Hetherington [Wed, 21 Mar 2018 23:08:20 +0000 (23:08 +0000)]
Put xmlns:dsig on Signer and Signature rather than on the whole
CPL/PKL as a certain large distribution company's checkers don't
like having multiple namespaces:

"XML root element can contain only one namespace"

6 years agoMore DCP verification bits.
Carl Hetherington [Tue, 20 Mar 2018 23:40:58 +0000 (23:40 +0000)]
More DCP verification bits.

6 years agoMissing file from previous.
Carl Hetherington [Tue, 20 Mar 2018 23:40:34 +0000 (23:40 +0000)]
Missing file from previous.

6 years agoAdd ycmd support.
Carl Hetherington [Tue, 20 Mar 2018 21:45:05 +0000 (21:45 +0000)]
Add ycmd support.

6 years agoUse prefix to avoid ERROR enum.
Carl Hetherington [Tue, 20 Mar 2018 00:41:02 +0000 (00:41 +0000)]
Use prefix to avoid ERROR enum.

6 years agoTest ID churn from 380d7af94562883cdcaa60726d0ffa36f3dab304.
Carl Hetherington [Thu, 15 Mar 2018 22:44:07 +0000 (22:44 +0000)]
Test ID churn from 380d7af94562883cdcaa60726d0ffa36f3dab304.

6 years agoAdd very basic verify method.
Carl Hetherington [Wed, 14 Mar 2018 00:57:37 +0000 (00:57 +0000)]
Add very basic verify method.

6 years agoMissing file.
Carl Hetherington [Wed, 7 Mar 2018 09:57:58 +0000 (09:57 +0000)]
Missing file.

6 years agoFix wscript install target.
Carl Hetherington [Tue, 6 Mar 2018 01:16:18 +0000 (01:16 +0000)]
Fix wscript install target.

6 years agoMerge EncryptionContext with DecryptionContext and use HMAC when decrypting.
Carl Hetherington [Tue, 6 Mar 2018 01:15:43 +0000 (01:15 +0000)]
Merge EncryptionContext with DecryptionContext and use HMAC when decrypting.

6 years agoStore interop/SMPTE in MXF.
Carl Hetherington [Tue, 6 Mar 2018 01:01:29 +0000 (01:01 +0000)]
Store interop/SMPTE in MXF.

6 years agoMissing files.
Carl Hetherington [Fri, 9 Mar 2018 10:17:12 +0000 (10:17 +0000)]
Missing files.

6 years agoUse string_mask = nombstr so that openssl uses PRINTABLESTRING
Carl Hetherington [Tue, 27 Feb 2018 21:34:40 +0000 (21:34 +0000)]
Use string_mask = nombstr so that openssl uses PRINTABLESTRING
rather than UTF8STRING when putting things like Organization into
certificates.  SMPTE 430/2/2006 specifies this, and apparently
Waimea raises an error if UTF8STRING is used (as seems to be
openssl's default).

6 years agoAdd method to detect utf8 strings.
Carl Hetherington [Thu, 8 Mar 2018 21:26:21 +0000 (21:26 +0000)]
Add method to detect utf8 strings.

6 years agoBump version
Carl Hetherington [Tue, 27 Feb 2018 00:18:56 +0000 (00:18 +0000)]
Bump version

6 years agoBump version v1.5.1
Carl Hetherington [Tue, 27 Feb 2018 00:18:56 +0000 (00:18 +0000)]
Bump version

6 years agoBump libcxml to release version.
Carl Hetherington [Tue, 27 Feb 2018 00:16:36 +0000 (00:16 +0000)]
Bump libcxml to release version.

6 years agoBump version
Carl Hetherington [Tue, 27 Feb 2018 00:10:57 +0000 (00:10 +0000)]
Bump version

6 years agoBump version v1.5.0
Carl Hetherington [Tue, 27 Feb 2018 00:10:57 +0000 (00:10 +0000)]
Bump version

6 years agoFix build error.
Carl Hetherington [Sun, 25 Feb 2018 01:10:02 +0000 (01:10 +0000)]
Fix build error.

6 years agoThrow exceptions with badly-formed XML when reading a DCP; preserve detail in DCPRead...
Carl Hetherington [Sun, 25 Feb 2018 00:39:01 +0000 (00:39 +0000)]
Throw exceptions with badly-formed XML when reading a DCP; preserve detail in DCPReadError.

6 years agoCope nicely with VFs in dcpinfo.
Carl Hetherington [Thu, 22 Feb 2018 10:12:34 +0000 (10:12 +0000)]
Cope nicely with VFs in dcpinfo.

6 years agoRead Atmos assets into other_assets.
Carl Hetherington [Thu, 22 Feb 2018 10:12:17 +0000 (10:12 +0000)]
Read Atmos assets into other_assets.

6 years agoFull stop.
Carl Hetherington [Wed, 14 Feb 2018 22:18:25 +0000 (22:18 +0000)]
Full stop.

6 years agoAdd acknowledgement.
Carl Hetherington [Wed, 14 Feb 2018 22:14:56 +0000 (22:14 +0000)]
Add acknowledgement.

6 years agoUse a bool instead of an int for disable-forensic-picture and
Carl Hetherington [Wed, 14 Feb 2018 22:13:31 +0000 (22:13 +0000)]
Use a bool instead of an int for disable-forensic-picture and
a optional<int> instead of an int with a magic -1 for
disable-forensic-audio.

6 years agoAlso check passthrough of these flags.
Carl Hetherington [Wed, 14 Feb 2018 21:59:37 +0000 (21:59 +0000)]
Also check passthrough of these flags.

6 years agoAdd some tests for KDM forensic marks.
Carl Hetherington [Wed, 14 Feb 2018 21:48:42 +0000 (21:48 +0000)]
Add some tests for KDM forensic marks.

6 years agoAdd parsing of ForensicMarkFlagList in KDMRequiredExtensions constructor.
Carl Hetherington [Wed, 14 Feb 2018 20:55:45 +0000 (20:55 +0000)]
Add parsing of ForensicMarkFlagList in KDMRequiredExtensions constructor.

6 years agoFix indentation.
Carl Hetherington [Wed, 14 Feb 2018 20:14:09 +0000 (20:14 +0000)]
Fix indentation.

6 years agoMake disabling forensic marking optional.
Mart Jansink [Tue, 13 Feb 2018 12:34:23 +0000 (13:34 +0100)]
Make disabling forensic marking optional.

6 years agoMake an encrypted KDM's id publicly available.
Mart Jansink [Wed, 14 Feb 2018 10:13:13 +0000 (11:13 +0100)]
Make an encrypted KDM's id publicly available.

6 years agoAdd the "Multiple Modified Transitional 1" KDM formulation.
Mart Jansink [Wed, 14 Feb 2018 09:51:41 +0000 (10:51 +0100)]
Add the "Multiple Modified Transitional 1" KDM formulation.

6 years agoUse a different ID for the XML inside a SMPTE subtitle MXF than the
Carl Hetherington [Mon, 12 Feb 2018 00:24:21 +0000 (00:24 +0000)]
Use a different ID for the XML inside a SMPTE subtitle MXF than the
ID for the MXF itself.  Apparently not doing so is an error (according
to Doremi's release notes for 2.8.18).

6 years agoGPL boilerplate fix.
Carl Hetherington [Sun, 11 Feb 2018 20:23:24 +0000 (20:23 +0000)]
GPL boilerplate fix.

6 years agodb8af2f changed rebase() to round down when rebasing times, but
Carl Hetherington [Wed, 7 Feb 2018 21:38:01 +0000 (21:38 +0000)]
db8af2f changed rebase() to round down when rebasing times, but
did not say why.  This rounding down produces some unexpected results,
e.g. taking 41 at a TCR of 1000 to a TCR of 24 gives 0, which upsets
those who use DCP-o-matic and put in a SRT subtitle ending at ,041 ---
the sub time is rounded down to 0 for a SMPTE DCP.

This commit restores round-to-nearest behaviour.

6 years agoAdd an assert.
Carl Hetherington [Mon, 5 Feb 2018 00:39:23 +0000 (00:39 +0000)]
Add an assert.

6 years agoInconsequential typo.
Carl Hetherington [Wed, 31 Jan 2018 01:00:15 +0000 (01:00 +0000)]
Inconsequential typo.

6 years agoThrow exceptions in openjpeg's error handler during decode as well as encode.
Carl Hetherington [Wed, 24 Jan 2018 00:41:33 +0000 (00:41 +0000)]
Throw exceptions in openjpeg's error handler during decode as well as encode.

6 years agoFix missing HAlign/VAlign attributes in subtitles when their value is negative.
Carl Hetherington [Sat, 13 Jan 2018 21:18:24 +0000 (21:18 +0000)]
Fix missing HAlign/VAlign attributes in subtitles when their value is negative.

6 years agoFix test references to have no whitespace.
Carl Hetherington [Sat, 13 Jan 2018 20:50:48 +0000 (20:50 +0000)]
Fix test references to have no whitespace.

6 years agoUpdate test-private location.
Carl Hetherington [Sat, 13 Jan 2018 20:46:58 +0000 (20:46 +0000)]
Update test-private location.

6 years agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/libdcp
Carl Hetherington [Tue, 9 Jan 2018 20:26:03 +0000 (20:26 +0000)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/libdcp

6 years agoAdd some setters.
Carl Hetherington [Tue, 9 Jan 2018 20:25:59 +0000 (20:25 +0000)]
Add some setters.

6 years agoBump openjpeg2-cdist to get possible fix for DCP-o-matic #1136.
Carl Hetherington [Tue, 2 Jan 2018 00:10:19 +0000 (00:10 +0000)]
Bump openjpeg2-cdist to get possible fix for DCP-o-matic #1136.

6 years agoAdd an assertion and a better error message.
Carl Hetherington [Fri, 29 Dec 2017 01:01:19 +0000 (01:01 +0000)]
Add an assertion and a better error message.

6 years agoAdd openjpeg_version method.
Carl Hetherington [Fri, 22 Dec 2017 09:52:43 +0000 (09:52 +0000)]
Add openjpeg_version method.

6 years agoTry to fix build with new-ish OpenSSL. 1.0
Carl Hetherington [Sun, 17 Dec 2017 02:17:27 +0000 (02:17 +0000)]
Try to fix build with new-ish OpenSSL.

6 years agoMerge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0
Carl Hetherington [Fri, 15 Dec 2017 15:39:42 +0000 (15:39 +0000)]
Merge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0

6 years agoImprove KDM decryption error message again.
Carl Hetherington [Fri, 15 Dec 2017 15:39:39 +0000 (15:39 +0000)]
Improve KDM decryption error message again.

6 years agoBump libcxml.
Carl Hetherington [Sun, 10 Dec 2017 00:38:53 +0000 (00:38 +0000)]
Bump libcxml.

6 years agoFixes for the bad distros. 1.0-cpp11
Carl Hetherington [Sat, 9 Dec 2017 22:29:38 +0000 (22:29 +0000)]
Fixes for the bad distros.

6 years agoTry to tidy up C++11 hacks.
Carl Hetherington [Sat, 9 Dec 2017 21:58:01 +0000 (21:58 +0000)]
Try to tidy up C++11 hacks.

6 years agoRemove unused class declaration.
Carl Hetherington [Tue, 10 Oct 2017 19:15:55 +0000 (20:15 +0100)]
Remove unused class declaration.

6 years agoFix repeated subtitles when reading SMPTE encrypted DCPs.
Carl Hetherington [Tue, 12 Sep 2017 20:56:10 +0000 (21:56 +0100)]
Fix repeated subtitles when reading SMPTE encrypted DCPs.

6 years agoSupport extraction of encrypted subtitles.
Carl Hetherington [Mon, 11 Sep 2017 20:27:42 +0000 (21:27 +0100)]
Support extraction of encrypted subtitles.

6 years agoAdd comments.
Carl Hetherington [Mon, 11 Sep 2017 20:27:35 +0000 (21:27 +0100)]
Add comments.

6 years agoAllow running of dcpdumpsub from anywhere.
Carl Hetherington [Mon, 11 Sep 2017 20:27:18 +0000 (21:27 +0100)]
Allow running of dcpdumpsub from anywhere.

6 years agoCCAP fixes.
Carl Hetherington [Wed, 6 Sep 2017 20:58:15 +0000 (21:58 +0100)]
CCAP fixes.

6 years agoAdd basic CCAP support.
Carl Hetherington [Mon, 4 Sep 2017 22:34:11 +0000 (23:34 +0100)]
Add basic CCAP support.

6 years agoFix some warnings.
Carl Hetherington [Sun, 3 Sep 2017 10:47:51 +0000 (11:47 +0100)]
Fix some warnings.

6 years agoTry to fix wavelet transform levels count for 4K (dcpomatic #1125).
Carl Hetherington [Sat, 2 Sep 2017 20:08:17 +0000 (21:08 +0100)]
Try to fix wavelet transform levels count for 4K (dcpomatic #1125).

6 years agoBump openjpeg2 for rate allocation threshold fix.
Carl Hetherington [Sat, 2 Sep 2017 18:18:39 +0000 (19:18 +0100)]
Bump openjpeg2 for rate allocation threshold fix.