dcpomatic.git
6 years agoMake player/KDM creator and main DCP-o-matic all behave the same with respect to...
Carl Hetherington [Fri, 5 Jan 2018 18:57:48 +0000 (18:57 +0000)]
Make player/KDM creator and main DCP-o-matic all behave the same with respect to problems when loading config.

6 years agoTry to fix build on older Ubuntus etc.
Carl Hetherington [Fri, 5 Jan 2018 13:15:37 +0000 (13:15 +0000)]
Try to fix build on older Ubuntus etc.

6 years agoSmall and somewhat untested optimisation.
Carl Hetherington [Fri, 5 Jan 2018 01:00:21 +0000 (01:00 +0000)]
Small and somewhat untested optimisation.

6 years agoDo read of image folders during the examine step; fixes #987.
Carl Hetherington [Thu, 4 Jan 2018 23:33:00 +0000 (23:33 +0000)]
Do read of image folders during the examine step; fixes #987.

6 years agoRecreate player pieces when changing FFmpeg filters (#1019).
Carl Hetherington [Thu, 4 Jan 2018 22:02:27 +0000 (22:02 +0000)]
Recreate player pieces when changing FFmpeg filters (#1019).

6 years agoSet up a default KDM write mode and preselect the last used one when re-opening the...
Carl Hetherington [Thu, 4 Jan 2018 21:26:18 +0000 (21:26 +0000)]
Set up a default KDM write mode and preselect the last used one when re-opening the KDM window (#1137).

6 years agoSupporter.
Carl Hetherington [Thu, 4 Jan 2018 20:21:06 +0000 (20:21 +0000)]
Supporter.

6 years agoTrying to use static libzip on OS X.
Carl Hetherington [Thu, 4 Jan 2018 02:04:04 +0000 (02:04 +0000)]
Trying to use static libzip on OS X.

6 years agoBump version
Carl Hetherington [Wed, 3 Jan 2018 15:50:24 +0000 (15:50 +0000)]
Bump version

6 years agoBump version v2.11.35
Carl Hetherington [Wed, 3 Jan 2018 15:50:24 +0000 (15:50 +0000)]
Bump version

6 years agoSupporter.
Carl Hetherington [Wed, 3 Jan 2018 15:50:09 +0000 (15:50 +0000)]
Supporter.

6 years agoFix alpha blending with with offset; should help with #1155.
Carl Hetherington [Wed, 3 Jan 2018 15:44:05 +0000 (15:44 +0000)]
Fix alpha blending with with offset; should help with #1155.

6 years agoFix incorrect alpha-blend in some cases.
Carl Hetherington [Wed, 3 Jan 2018 00:45:27 +0000 (00:45 +0000)]
Fix incorrect alpha-blend in some cases.

6 years agoWrite some test metadata for debugging.
Carl Hetherington [Wed, 3 Jan 2018 00:45:12 +0000 (00:45 +0000)]
Write some test metadata for debugging.

6 years agoSome more, simpler, subtitle export tests.
Carl Hetherington [Wed, 3 Jan 2018 00:08:48 +0000 (00:08 +0000)]
Some more, simpler, subtitle export tests.

6 years agoUse convert_pixel_format a little.
Carl Hetherington [Wed, 3 Jan 2018 00:00:06 +0000 (00:00 +0000)]
Use convert_pixel_format a little.

6 years agoAdd convert_pixel_format convenience function.
Carl Hetherington [Tue, 2 Jan 2018 23:35:43 +0000 (23:35 +0000)]
Add convert_pixel_format convenience function.

6 years agoExpand FFmpeg encoder subs tests.
Carl Hetherington [Tue, 2 Jan 2018 23:06:03 +0000 (23:06 +0000)]
Expand FFmpeg encoder subs tests.

6 years agoMark pieces as done when we're past the end of them; fixes #1154.
Carl Hetherington [Tue, 2 Jan 2018 21:21:43 +0000 (21:21 +0000)]
Mark pieces as done when we're past the end of them; fixes #1154.

6 years agoA previous commit took care to make Decoder::position() not be updated
Carl Hetherington [Tue, 2 Jan 2018 21:09:36 +0000 (21:09 +0000)]
A previous commit took care to make Decoder::position() not be updated
if the data that was emitted from the decoder was not taken by the player.

This means that when the decoder moves into its end trim the position will
stay where it is (since the player does not take the data).

I can't see the point of doing this; the only use of Decoder::position()
is to decide what to pass() next (I think).

It is also inconvenient because we would like to check Decoder::position()
to decide whether to stop passing a decoder since it's in its end trim
(not doing this causes #1154).

6 years agoNo need for position() to be virtual.
Carl Hetherington [Tue, 2 Jan 2018 20:56:04 +0000 (20:56 +0000)]
No need for position() to be virtual.

6 years agoAdd rewind-to-zero button to film viewer.
Carl Hetherington [Tue, 2 Jan 2018 18:45:39 +0000 (18:45 +0000)]
Add rewind-to-zero button to film viewer.

6 years agoGo back to time 0 when loading a new DCP into the player (#1152).
Carl Hetherington [Tue, 2 Jan 2018 18:45:02 +0000 (18:45 +0000)]
Go back to time 0 when loading a new DCP into the player (#1152).

6 years agoAdd test for incorrect ISDCF name with full-frame content, and fix it (#1118).
Carl Hetherington [Tue, 2 Jan 2018 17:48:54 +0000 (17:48 +0000)]
Add test for incorrect ISDCF name with full-frame content, and fix it (#1118).

6 years agoChangeLog.
Carl Hetherington [Tue, 2 Jan 2018 17:38:12 +0000 (17:38 +0000)]
ChangeLog.

6 years agoFix opening of ZIP files of certificates on Windows (#1124).
Carl Hetherington [Tue, 2 Jan 2018 15:07:29 +0000 (15:07 +0000)]
Fix opening of ZIP files of certificates on Windows (#1124).

6 years agoSupporter.
Carl Hetherington [Tue, 2 Jan 2018 15:07:12 +0000 (15:07 +0000)]
Supporter.

6 years agoBump version
Carl Hetherington [Tue, 2 Jan 2018 00:27:38 +0000 (00:27 +0000)]
Bump version

6 years agoBump version v2.11.34
Carl Hetherington [Tue, 2 Jan 2018 00:27:38 +0000 (00:27 +0000)]
Bump version

6 years agoBump libdcp for possible fix for #1136.
Carl Hetherington [Tue, 2 Jan 2018 00:12:37 +0000 (00:12 +0000)]
Bump libdcp for possible fix for #1136.

6 years agoShow bytestreams when dumping J2K files.
Carl Hetherington [Tue, 2 Jan 2018 00:12:08 +0000 (00:12 +0000)]
Show bytestreams when dumping J2K files.

6 years agoHappy new year.
Carl Hetherington [Mon, 1 Jan 2018 01:39:53 +0000 (01:39 +0000)]
Happy new year.

6 years agoBump version
Carl Hetherington [Sun, 31 Dec 2017 21:20:41 +0000 (21:20 +0000)]
Bump version

6 years agoBump version v2.11.33
Carl Hetherington [Sun, 31 Dec 2017 21:20:41 +0000 (21:20 +0000)]
Bump version

6 years agoTry to fix build on OS X.
Carl Hetherington [Sun, 31 Dec 2017 18:59:23 +0000 (18:59 +0000)]
Try to fix build on OS X.

6 years agoBump version
Carl Hetherington [Sun, 31 Dec 2017 02:16:53 +0000 (02:16 +0000)]
Bump version

6 years agoBump version v2.11.32
Carl Hetherington [Sun, 31 Dec 2017 02:16:52 +0000 (02:16 +0000)]
Bump version

6 years agoTry again to fix Windows wxWidgets complain using compose to save all the mucking...
Carl Hetherington [Sun, 31 Dec 2017 02:03:02 +0000 (02:03 +0000)]
Try again to fix Windows wxWidgets complain using compose to save all the mucking about.

6 years agoTry to fix Windows build.
Carl Hetherington [Sun, 31 Dec 2017 01:40:57 +0000 (01:40 +0000)]
Try to fix Windows build.

6 years agoTry to fix wxWidgets debug alert on windows (#1153).
Carl Hetherington [Sun, 31 Dec 2017 01:27:44 +0000 (01:27 +0000)]
Try to fix wxWidgets debug alert on windows (#1153).

6 years agoA couple of missing std_to_wx calls.
Carl Hetherington [Sun, 31 Dec 2017 01:12:11 +0000 (01:12 +0000)]
A couple of missing std_to_wx calls.

6 years agoChangeLog.
Carl Hetherington [Sun, 31 Dec 2017 01:03:04 +0000 (01:03 +0000)]
ChangeLog.

6 years agoAdd option to dump known DKDM CPL IDs.
Carl Hetherington [Sun, 31 Dec 2017 01:02:15 +0000 (01:02 +0000)]
Add option to dump known DKDM CPL IDs.

6 years agoUntested support for KDM creation from DKDM (#1132).
Carl Hetherington [Sun, 31 Dec 2017 00:53:07 +0000 (00:53 +0000)]
Untested support for KDM creation from DKDM (#1132).

6 years agoSeparate from-film code out into a method.
Carl Hetherington [Sun, 31 Dec 2017 00:04:45 +0000 (00:04 +0000)]
Separate from-film code out into a method.

6 years agoUse optional<> more.
Carl Hetherington [Sat, 30 Dec 2017 23:50:55 +0000 (23:50 +0000)]
Use optional<> more.

6 years agoMore refactoring.
Carl Hetherington [Sat, 30 Dec 2017 23:07:12 +0000 (23:07 +0000)]
More refactoring.

6 years agoRefactor slightly.
Carl Hetherington [Sat, 30 Dec 2017 22:06:08 +0000 (22:06 +0000)]
Refactor slightly.

6 years agoTry comparing images using RMS error metric.
Carl Hetherington [Sat, 30 Dec 2017 20:36:11 +0000 (20:36 +0000)]
Try comparing images using RMS error metric.

6 years agoBump version
Carl Hetherington [Sat, 30 Dec 2017 01:56:49 +0000 (01:56 +0000)]
Bump version

6 years agoBump version v2.11.31
Carl Hetherington [Sat, 30 Dec 2017 01:56:49 +0000 (01:56 +0000)]
Bump version

6 years agoAdd new test.
Carl Hetherington [Sat, 30 Dec 2017 01:48:29 +0000 (01:48 +0000)]
Add new test.

6 years agoAdd missing factor to fix problems when padding in subsampled containers; should...
Carl Hetherington [Sat, 30 Dec 2017 01:47:26 +0000 (01:47 +0000)]
Add missing factor to fix problems when padding in subsampled containers; should fix #1129.

6 years agoFix call to Image::compare; it returns false if images are identical.
Carl Hetherington [Sat, 30 Dec 2017 01:43:59 +0000 (01:43 +0000)]
Fix call to Image::compare; it returns false if images are identical.
This breaks alpha_blend_test for reasons that aren't yet clear.

6 years agoMake horizontal_factor look the same as vertical_factor.
Carl Hetherington [Sat, 30 Dec 2017 00:20:10 +0000 (00:20 +0000)]
Make horizontal_factor look the same as vertical_factor.

6 years agoAdd a test for #1129.
Carl Hetherington [Fri, 29 Dec 2017 23:59:32 +0000 (23:59 +0000)]
Add a test for #1129.

6 years agoComment typo.
Carl Hetherington [Fri, 29 Dec 2017 23:13:14 +0000 (23:13 +0000)]
Comment typo.

6 years agoAdd basic memory-used stuff for butler and reduce minimum audio
Carl Hetherington [Fri, 29 Dec 2017 22:51:50 +0000 (22:51 +0000)]
Add basic memory-used stuff for butler and reduce minimum audio
readahead quite a bit.  This in turn reduces the maximum butler memory
usage as it will keep getting audio (and hence video) until the
minimum audio readahead is hit.

6 years agoLeak check on valgrind.
Carl Hetherington [Fri, 29 Dec 2017 22:50:57 +0000 (22:50 +0000)]
Leak check on valgrind.

6 years agoReduce the maximum video readahead.
Carl Hetherington [Fri, 29 Dec 2017 20:53:46 +0000 (20:53 +0000)]
Reduce the maximum video readahead.

6 years agoFix sensitivity of stuff in KDM output panel.
Carl Hetherington [Fri, 29 Dec 2017 19:49:36 +0000 (19:49 +0000)]
Fix sensitivity of stuff in KDM output panel.

6 years agoFix some tests now that start trims are forcibly aligned to video frames.
Carl Hetherington [Fri, 29 Dec 2017 19:32:24 +0000 (19:32 +0000)]
Fix some tests now that start trims are forcibly aligned to video frames.

6 years agoDo split buffers over reel boundaries correctly.
Carl Hetherington [Fri, 29 Dec 2017 16:23:40 +0000 (16:23 +0000)]
Do split buffers over reel boundaries correctly.

6 years agoI don't think the audio parameter here should ever be 0.
Carl Hetherington [Fri, 29 Dec 2017 16:23:27 +0000 (16:23 +0000)]
I don't think the audio parameter here should ever be 0.

6 years agoPreviously the code did not account for referenced audio, so far
Carl Hetherington [Fri, 29 Dec 2017 01:11:22 +0000 (01:11 +0000)]
Previously the code did not account for referenced audio, so far
as I can see.  It decided which reel to write new audio to based on
how many frames had been written to the current reel; this makes
no sense for referred reels for which the player will emit no audio.

This code looks at the audio timestamp instead.

6 years agoUse 24fps for a test.
Carl Hetherington [Fri, 29 Dec 2017 01:10:30 +0000 (01:10 +0000)]
Use 24fps for a test.

6 years agoAdd another failing reels test.
Carl Hetherington [Wed, 27 Dec 2017 23:51:50 +0000 (23:51 +0000)]
Add another failing reels test.

6 years agoBump version
Carl Hetherington [Tue, 19 Dec 2017 00:32:48 +0000 (00:32 +0000)]
Bump version

6 years agoBump version v2.11.30
Carl Hetherington [Tue, 19 Dec 2017 00:32:47 +0000 (00:32 +0000)]
Bump version

6 years agoMore build tweaks for arch.
Carl Hetherington [Mon, 18 Dec 2017 00:56:44 +0000 (00:56 +0000)]
More build tweaks for arch.

6 years agoTry to fix build failure with ImageMagick 7 on arch.
Carl Hetherington [Mon, 18 Dec 2017 00:38:23 +0000 (00:38 +0000)]
Try to fix build failure with ImageMagick 7 on arch.

6 years agoAdd Close option to player.
Carl Hetherington [Sun, 17 Dec 2017 16:01:32 +0000 (16:01 +0000)]
Add Close option to player.

6 years agoDisplay decode resolution in the player.
Carl Hetherington [Sun, 17 Dec 2017 15:47:10 +0000 (15:47 +0000)]
Display decode resolution in the player.

6 years agoAnother libsub build fix.
Carl Hetherington [Sun, 17 Dec 2017 15:28:49 +0000 (15:28 +0000)]
Another libsub build fix.

6 years agoBump libsub for another build fix.
Carl Hetherington [Sun, 17 Dec 2017 15:21:13 +0000 (15:21 +0000)]
Bump libsub for another build fix.

6 years agoBump libsub for python 3 build fix.
Carl Hetherington [Sun, 17 Dec 2017 14:52:13 +0000 (14:52 +0000)]
Bump libsub for python 3 build fix.

6 years agoBump libdcp for build fix.
Carl Hetherington [Sun, 17 Dec 2017 02:23:43 +0000 (02:23 +0000)]
Bump libdcp for build fix.

6 years agoBump libdcp for KDM error improvement.
Carl Hetherington [Fri, 15 Dec 2017 21:15:23 +0000 (21:15 +0000)]
Bump libdcp for KDM error improvement.

6 years agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Carl Hetherington [Thu, 14 Dec 2017 19:39:07 +0000 (19:39 +0000)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic

6 years agoMark .exr as a valid image file.
Carl Hetherington [Thu, 14 Dec 2017 19:39:04 +0000 (19:39 +0000)]
Mark .exr as a valid image file.

6 years agoBump version
Carl Hetherington [Wed, 13 Dec 2017 22:05:11 +0000 (22:05 +0000)]
Bump version

6 years agoBump version v2.11.29
Carl Hetherington [Wed, 13 Dec 2017 22:05:11 +0000 (22:05 +0000)]
Bump version

6 years agoSetup SubtitleDecoder::_position correctly (in some cases).
Carl Hetherington [Wed, 13 Dec 2017 22:04:49 +0000 (22:04 +0000)]
Setup SubtitleDecoder::_position correctly (in some cases).

6 years agoAttempt to prevent a deadlock if audio is full and video empty (or vice versa).
Carl Hetherington [Wed, 13 Dec 2017 22:04:29 +0000 (22:04 +0000)]
Attempt to prevent a deadlock if audio is full and video empty (or vice versa).

6 years agoReset VideoDecoder::_position on seek.
Carl Hetherington [Wed, 13 Dec 2017 22:03:56 +0000 (22:03 +0000)]
Reset VideoDecoder::_position on seek.

6 years agoSpeculative fixes for hangs when audio stream cannot be opened.
Carl Hetherington [Wed, 13 Dec 2017 13:10:20 +0000 (13:10 +0000)]
Speculative fixes for hangs when audio stream cannot be opened.

6 years agoFix crash on startup.
Carl Hetherington [Wed, 13 Dec 2017 12:53:03 +0000 (12:53 +0000)]
Fix crash on startup.

6 years agoBump version
Carl Hetherington [Wed, 13 Dec 2017 10:31:46 +0000 (10:31 +0000)]
Bump version

6 years agoBump version v2.11.28
Carl Hetherington [Wed, 13 Dec 2017 10:31:46 +0000 (10:31 +0000)]
Bump version

6 years agoSupporter.
Carl Hetherington [Tue, 12 Dec 2017 00:37:18 +0000 (00:37 +0000)]
Supporter.

6 years agoMore C++11 fixes.
Carl Hetherington [Mon, 11 Dec 2017 23:53:23 +0000 (23:53 +0000)]
More C++11 fixes.

6 years agoFix various problems caused by non-integer-frame start trims,
Carl Hetherington [Mon, 11 Dec 2017 01:06:37 +0000 (01:06 +0000)]
Fix various problems caused by non-integer-frame start trims,
and also by the inability of content_video_to_dcp to return
negative values.  The latter is necessary for tests on "is this
content too early" to work.

6 years agoBump libsub.
Carl Hetherington [Mon, 11 Dec 2017 01:06:13 +0000 (01:06 +0000)]
Bump libsub.

6 years agoAdd failing test for trimming from the start of non-integer-framerate sources.
Carl Hetherington [Mon, 11 Dec 2017 00:21:26 +0000 (00:21 +0000)]
Add failing test for trimming from the start of non-integer-framerate sources.

6 years agoGive a better error.
Carl Hetherington [Sun, 10 Dec 2017 21:54:50 +0000 (21:54 +0000)]
Give a better error.

6 years agoClear out _stream_states before re-filling it.
Carl Hetherington [Sun, 10 Dec 2017 21:25:56 +0000 (21:25 +0000)]
Clear out _stream_states before re-filling it.

6 years agoBump libdcp/libsub.
Carl Hetherington [Sun, 10 Dec 2017 00:41:08 +0000 (00:41 +0000)]
Bump libdcp/libsub.

6 years agoAdd some information about Windows versions.
Carl Hetherington [Sat, 9 Dec 2017 22:39:41 +0000 (22:39 +0000)]
Add some information about Windows versions.

6 years agoAnother DLL name change.
Carl Hetherington [Fri, 8 Dec 2017 22:21:33 +0000 (22:21 +0000)]
Another DLL name change.

6 years ago.dll name change for MXE.
Carl Hetherington [Fri, 8 Dec 2017 22:07:28 +0000 (22:07 +0000)]
.dll name change for MXE.