dcpomatic.git
4 years agoImprove OpenFileError so that it doesn't say "opening for read" v2.15.20
Carl Hetherington [Sun, 29 Sep 2019 21:28:57 +0000 (23:28 +0200)]
Improve OpenFileError so that it doesn't say "opening for read"
in one case where it should say "opening for read/write".

Also add some unit tests for ReelWriter.

4 years agoIgnore ccls stuff.
Carl Hetherington [Sun, 29 Sep 2019 00:15:16 +0000 (02:15 +0200)]
Ignore ccls stuff.

4 years agoFix failure to playback encrypted DCPs, introduced when adding DCPDecoder re-use...
Carl Hetherington [Sun, 22 Sep 2019 21:59:49 +0000 (23:59 +0200)]
Fix failure to playback encrypted DCPs, introduced when adding DCPDecoder re-use optimisation.

4 years agoFix duplicate shortcut in menu.
Carl Hetherington [Sun, 22 Sep 2019 21:36:32 +0000 (23:36 +0200)]
Fix duplicate shortcut in menu.

4 years agoUse content video frame rate rather than the DCP one when reading
Carl Hetherington [Fri, 20 Sep 2019 08:22:10 +0000 (10:22 +0200)]
Use content video frame rate rather than the DCP one when reading
trim start/end back from the UI.  See #1607.

4 years agoAdd a warning log when an assertion gets hit.
Carl Hetherington [Thu, 19 Sep 2019 22:11:25 +0000 (00:11 +0200)]
Add a warning log when an assertion gets hit.

Forward-ported from 4141f01e25abd5050db09ff85da47ff059909669 in master.

4 years agoTidy some grammar and remove a silly colloquialism.
Carl Hetherington [Fri, 13 Sep 2019 21:17:03 +0000 (22:17 +0100)]
Tidy some grammar and remove a silly colloquialism.

4 years agopot/merge. v2.15.19
Carl Hetherington [Mon, 9 Sep 2019 01:01:49 +0000 (02:01 +0100)]
pot/merge.

4 years agoStop crashing when running the hints check on films with silent/black gaps.
Carl Hetherington [Mon, 9 Sep 2019 00:18:54 +0000 (01:18 +0100)]
Stop crashing when running the hints check on films with silent/black gaps.

4 years agoHandle errors a little better when scanning for closed captions (in hints).
Carl Hetherington [Sun, 8 Sep 2019 23:27:23 +0000 (00:27 +0100)]
Handle errors a little better when scanning for closed captions (in hints).

4 years agoFix timeline selection under scroll.
Carl Hetherington [Sun, 8 Sep 2019 22:57:03 +0000 (23:57 +0100)]
Fix timeline selection under scroll.

4 years agoNew hack. v2.15.18
Carl Hetherington [Sun, 8 Sep 2019 00:49:52 +0000 (01:49 +0100)]
New hack.

4 years agoMake sure subtitle exports have .xml extension.
Carl Hetherington [Sun, 8 Sep 2019 00:19:35 +0000 (01:19 +0100)]
Make sure subtitle exports have .xml extension.

4 years agoWrite empty files when exporting subtitles and finding none.
Carl Hetherington [Sun, 8 Sep 2019 00:11:55 +0000 (01:11 +0100)]
Write empty files when exporting subtitles and finding none.

4 years agoStop double-click on the splitter divider from doing anything (#1601). v2.15.17
Carl Hetherington [Wed, 4 Sep 2019 23:28:32 +0000 (00:28 +0100)]
Stop double-click on the splitter divider from doing anything (#1601).

4 years agoRemove extra space.
Carl Hetherington [Tue, 3 Sep 2019 20:42:14 +0000 (21:42 +0100)]
Remove extra space.

4 years agoMissing AppImage Encode Server build.
Carl Hetherington [Tue, 3 Sep 2019 09:50:03 +0000 (10:50 +0100)]
Missing AppImage Encode Server build.

Forward-ported from 3c7d19089d60b3e36e83e27e55778b3f331e26ee in master.

4 years agoDon't force 24fps onto every DCP made by dcpomatic_create (#1598).
Carl Hetherington [Tue, 3 Sep 2019 00:14:44 +0000 (01:14 +0100)]
Don't force 24fps onto every DCP made by dcpomatic_create (#1598).

4 years agoFix missing log in dcpomatic_create (#1597).
Carl Hetherington [Tue, 3 Sep 2019 00:04:28 +0000 (01:04 +0100)]
Fix missing log in dcpomatic_create (#1597).

4 years agoExit with code 0 on dcpomatic2_create --version (#1599).
Carl Hetherington [Mon, 2 Sep 2019 23:53:23 +0000 (00:53 +0100)]
Exit with code 0 on dcpomatic2_create --version (#1599).

4 years agoFixes for Debian 10 and unstable builds.
Carl Hetherington [Mon, 2 Sep 2019 19:23:25 +0000 (20:23 +0100)]
Fixes for Debian 10 and unstable builds.

Forward-ported from 446255b74f38f299c2e73260293dce291666fb73 in 2.14.x.

4 years agoTry to fix swaroop-studio build on RPM distros.
Carl Hetherington [Sat, 31 Aug 2019 23:56:56 +0000 (00:56 +0100)]
Try to fix swaroop-studio build on RPM distros.

4 years agoPrimitive subtitle export feature. v2.15.16
Carl Hetherington [Sat, 31 Aug 2019 01:03:01 +0000 (02:03 +0100)]
Primitive subtitle export feature.

4 years agoMake player more tolerant of some DCP errors.
Carl Hetherington [Fri, 30 Aug 2019 22:16:21 +0000 (23:16 +0100)]
Make player more tolerant of some DCP errors.

4 years agoSlightly better errors when the player fails to load a DCP.
Carl Hetherington [Tue, 27 Aug 2019 21:34:37 +0000 (22:34 +0100)]
Slightly better errors when the player fails to load a DCP.

4 years agoAdd Luproduction as patron.
Carl Hetherington [Fri, 23 Aug 2019 11:40:37 +0000 (12:40 +0100)]
Add Luproduction as patron.

4 years agoAllow specification of audio forensic marking (in KDMs) for some channels only. ...
Carl Hetherington [Sun, 11 Aug 2019 21:56:59 +0000 (22:56 +0100)]
Allow specification of audio forensic marking (in KDMs) for some channels only.  Default to enabling forensic marking for video and audio (up to and including channel 12).  Fixes #1498.

4 years agoAvoid random black gaps between bits of content A and B when v2.15.15
Carl Hetherington [Tue, 30 Jul 2019 23:07:06 +0000 (00:07 +0100)]
Avoid random black gaps between bits of content A and B when
content B has had its start trimmed.  In this case when we seek
inaccurately in A we previously also seeked inaccurately in B.
This meant that at the transition the first frame we see of B
may not be the first frame of B.

After this we seek accurately in B so that we definitely get to the
start of it.

This is especially important if the start of B has been trimmed to
within two keyframes so that an inaccurate seek is not sufficient.

4 years agoAdd some more pixfmts to the hack.
Carl Hetherington [Tue, 30 Jul 2019 23:07:00 +0000 (00:07 +0100)]
Add some more pixfmts to the hack.

4 years agoUse ISDCF name as a default export filename (#1584).
Carl Hetherington [Thu, 25 Jul 2019 15:49:46 +0000 (16:49 +0100)]
Use ISDCF name as a default export filename (#1584).

4 years agoTrim after _ in current name when enabling 'Use ISDCF name' (#1513).
Carl Hetherington [Thu, 25 Jul 2019 15:31:58 +0000 (16:31 +0100)]
Trim after _ in current name when enabling 'Use ISDCF name' (#1513).

4 years agoHack to allow OS X to find timeline icons when running from the source tree.
Carl Hetherington [Thu, 25 Jul 2019 15:22:02 +0000 (16:22 +0100)]
Hack to allow OS X to find timeline icons when running from the source tree.

4 years agoOptimise decoder_factory for DCPDecoder by offering the old decoder
Carl Hetherington [Thu, 25 Jul 2019 10:37:52 +0000 (11:37 +0100)]
Optimise decoder_factory for DCPDecoder by offering the old decoder
(if available) to recover the list of reels from, rather than having
to scan the filesystem again.

4 years agoFix erroneous content change message.
Carl Hetherington [Thu, 25 Jul 2019 10:36:57 +0000 (11:36 +0100)]
Fix erroneous content change message.

4 years agoAdd assert.
Carl Hetherington [Thu, 25 Jul 2019 09:52:22 +0000 (10:52 +0100)]
Add assert.

4 years agoFix crash when loading a film from the command line.
Carl Hetherington [Thu, 25 Jul 2019 09:52:09 +0000 (10:52 +0100)]
Fix crash when loading a film from the command line.

4 years agoRe-work idle handling from previous commit.
Carl Hetherington [Wed, 24 Jul 2019 20:17:50 +0000 (21:17 +0100)]
Re-work idle handling from previous commit.

4 years agoOptimise the feel of some GUI functions by doing the seek after
Carl Hetherington [Wed, 24 Jul 2019 19:42:50 +0000 (20:42 +0100)]
Optimise the feel of some GUI functions by doing the seek after
many content changes in an idle handler, rather than blocking
the UI update until the seek and image redisplay have finished.

4 years agoImprove formatting of StateTimer output.
Carl Hetherington [Wed, 24 Jul 2019 19:26:40 +0000 (20:26 +0100)]
Improve formatting of StateTimer output.

4 years agoAdd --no-check to dcpomatic_cli.
Carl Hetherington [Tue, 23 Jul 2019 20:32:04 +0000 (21:32 +0100)]
Add --no-check to dcpomatic_cli.

4 years agoMerge branch 'v2.15.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.15.x
Carl Hetherington [Tue, 23 Jul 2019 20:31:33 +0000 (21:31 +0100)]
Merge branch 'v2.15.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.15.x

4 years agoYet more OS X script tweaks.
Carl Hetherington [Tue, 23 Jul 2019 15:03:19 +0000 (16:03 +0100)]
Yet more OS X script tweaks.

4 years agoTidy up handling of content-modified checks when using the dcpomatic_cli.
Carl Hetherington [Tue, 23 Jul 2019 13:26:02 +0000 (14:26 +0100)]
Tidy up handling of content-modified checks when using the dcpomatic_cli.

4 years agoAnother OS X path.
Carl Hetherington [Mon, 22 Jul 2019 14:39:11 +0000 (15:39 +0100)]
Another OS X path.

4 years agoswaroop: don't put DCP conversions into a flat container.
Carl Hetherington [Mon, 22 Jul 2019 14:35:58 +0000 (15:35 +0100)]
swaroop: don't put DCP conversions into a flat container.

4 years agoswaroop: support creation of H264 with 24-bit PCM.
Carl Hetherington [Mon, 22 Jul 2019 14:23:22 +0000 (15:23 +0100)]
swaroop: support creation of H264 with 24-bit PCM.

4 years agoAdd some stubs so that swaroop variants build on OS X.
Carl Hetherington [Mon, 22 Jul 2019 14:23:02 +0000 (15:23 +0100)]
Add some stubs so that swaroop variants build on OS X.

4 years agoOSX path tweak.
Carl Hetherington [Mon, 22 Jul 2019 14:22:38 +0000 (15:22 +0100)]
OSX path tweak.

4 years agoMissing virtual destructor.
Carl Hetherington [Mon, 22 Jul 2019 14:16:08 +0000 (15:16 +0100)]
Missing virtual destructor.

4 years agoRemove -Wcast-align on OS X.
Carl Hetherington [Mon, 22 Jul 2019 14:15:40 +0000 (15:15 +0100)]
Remove -Wcast-align on OS X.

4 years agoTweak OS X path.
Carl Hetherington [Mon, 22 Jul 2019 14:15:25 +0000 (15:15 +0100)]
Tweak OS X path.

4 years agoIgnore video streams with frame rates over 1000 (work-around/fix for #1585).
Carl Hetherington [Sun, 21 Jul 2019 23:06:11 +0000 (00:06 +0100)]
Ignore video streams with frame rates over 1000 (work-around/fix for #1585).

4 years agoUse 128kbit per channel for audio export. v2.15.14
Carl Hetherington [Sat, 20 Jul 2019 23:53:33 +0000 (00:53 +0100)]
Use 128kbit per channel for audio export.

4 years agoswaroop: fix encryption of files encoded from DCP.
Carl Hetherington [Sat, 20 Jul 2019 23:51:35 +0000 (00:51 +0100)]
swaroop: fix encryption of files encoded from DCP.

4 years agoswaroop: hard-core output KDM filename; allow specification of DCP KDM. v2.15.13
Carl Hetherington [Thu, 18 Jul 2019 00:31:50 +0000 (01:31 +0100)]
swaroop: hard-core output KDM filename; allow specification of DCP KDM.

4 years agoswaroop: --kdm -> --out-kdm
Carl Hetherington [Thu, 18 Jul 2019 00:11:31 +0000 (01:11 +0100)]
swaroop: --kdm -> --out-kdm

4 years agoswaroop: beginnings of DCP -> ecinema support. v2.15.12
Carl Hetherington [Mon, 15 Jul 2019 00:31:20 +0000 (01:31 +0100)]
swaroop: beginnings of DCP -> ecinema support.

4 years agoFix comment.
Carl Hetherington [Sat, 13 Jul 2019 23:42:03 +0000 (00:42 +0100)]
Fix comment.

4 years agoswaroop: add --kdm option to dcpomatic2_ecinema.
Carl Hetherington [Sat, 13 Jul 2019 22:14:37 +0000 (23:14 +0100)]
swaroop: add --kdm option to dcpomatic2_ecinema.

4 years agoswaroop: fix crash when there's an incorrect ecinema KDM. v2.15.11
Carl Hetherington [Wed, 10 Jul 2019 19:47:08 +0000 (20:47 +0100)]
swaroop: fix crash when there's an incorrect ecinema KDM.

4 years agoFix flicker in timeline view when selecting (in some cases).
Carl Hetherington [Sun, 7 Jul 2019 23:07:12 +0000 (00:07 +0100)]
Fix flicker in timeline view when selecting (in some cases).

4 years agoOnly take subtitle data into account for position() if there is nothing v2.15.10
Carl Hetherington [Sun, 7 Jul 2019 22:12:23 +0000 (23:12 +0100)]
Only take subtitle data into account for position() if there is nothing
else to go on.  This fixes problems at the end of muxed files when subtitle
data runs out before video/audio.  There is no (easy) way to know that this has
happened, and this seems to be the next best thing.

Fixes #1581.

4 years agoAdd an assertion.
Carl Hetherington [Sat, 6 Jul 2019 22:37:55 +0000 (23:37 +0100)]
Add an assertion.

4 years agoswaroop: clear out viewer when deselecting playlist.
Carl Hetherington [Sat, 6 Jul 2019 20:55:11 +0000 (21:55 +0100)]
swaroop: clear out viewer when deselecting playlist.

4 years agoswaroop: remove on-screen log from player.
Carl Hetherington [Fri, 5 Jul 2019 22:18:43 +0000 (23:18 +0100)]
swaroop: remove on-screen log from player.

4 years agoAdd some more help for --variant.
Carl Hetherington [Fri, 5 Jul 2019 22:17:56 +0000 (23:17 +0100)]
Add some more help for --variant.

4 years agoDon't crash if history items are inaccessible.
Carl Hetherington [Tue, 2 Jul 2019 21:56:56 +0000 (22:56 +0100)]
Don't crash if history items are inaccessible.

4 years agoAdd support for Datasat AP2x and USL sound processors when converting
Carl Hetherington [Tue, 2 Jul 2019 00:32:54 +0000 (01:32 +0100)]
Add support for Datasat AP2x and USL sound processors when converting
fader position to gain.   Stop storing a chosen processor in config;
instead, get the user to choose the processor when calculating gains.

4 years agoswaroop: write position file every 2 minutes; tweak play sensitivity v2.15.9
Carl Hetherington [Mon, 1 Jul 2019 14:50:14 +0000 (15:50 +0100)]
swaroop: write position file every 2 minutes; tweak play sensitivity
on finishing a SPL; deselected playlist if stop is clicked.

4 years agoswaroop: fix decrementing of allowed shows count to be at the right time.
Carl Hetherington [Mon, 1 Jul 2019 14:17:11 +0000 (15:17 +0100)]
swaroop: fix decrementing of allowed shows count to be at the right time.

4 years agoswaroop: set controls to 'stopped' when a playlist finishes.
Carl Hetherington [Mon, 1 Jul 2019 13:44:39 +0000 (14:44 +0100)]
swaroop: set controls to 'stopped' when a playlist finishes.

4 years agoFix incorrect timing of PNG subtitles in second and subsequent reels.
Carl Hetherington [Thu, 27 Jun 2019 22:09:36 +0000 (23:09 +0100)]
Fix incorrect timing of PNG subtitles in second and subsequent reels.

4 years agoDebug for strange test failure in threed_test.
Carl Hetherington [Wed, 26 Jun 2019 21:17:43 +0000 (22:17 +0100)]
Debug for strange test failure in threed_test.

4 years agoFix exception in wscript.
Carl Hetherington [Wed, 26 Jun 2019 11:41:43 +0000 (12:41 +0100)]
Fix exception in wscript.

4 years agoTry to reduce audio mapping flicker on Windows.
Carl Hetherington [Wed, 26 Jun 2019 00:38:04 +0000 (01:38 +0100)]
Try to reduce audio mapping flicker on Windows.

4 years agoFix previous.
Carl Hetherington [Tue, 25 Jun 2019 21:00:46 +0000 (22:00 +0100)]
Fix previous.

4 years agoDon't need CDIST_LOCALE_PREFIX hack any more.
Carl Hetherington [Tue, 25 Jun 2019 19:57:57 +0000 (20:57 +0100)]
Don't need CDIST_LOCALE_PREFIX hack any more.

4 years agoBetter error when failing to download supporters lists.
Carl Hetherington [Mon, 24 Jun 2019 22:59:32 +0000 (23:59 +0100)]
Better error when failing to download supporters lists.

4 years agoAdd another ui_idle() call to ape the one in test.cc and try to fix strange behaviour...
Carl Hetherington [Wed, 19 Jun 2019 16:42:00 +0000 (17:42 +0100)]
Add another ui_idle() call to ape the one in test.cc and try to fix strange behaviour where errors are not noted in tests.

4 years agoVarious build system fixes. v2.15.8
Carl Hetherington [Mon, 10 Jun 2019 08:23:02 +0000 (09:23 +0100)]
Various build system fixes.

4 years agoAnother typo.
Carl Hetherington [Sun, 9 Jun 2019 23:56:53 +0000 (00:56 +0100)]
Another typo.

4 years agoAnother typo.
Carl Hetherington [Sun, 9 Jun 2019 23:43:45 +0000 (00:43 +0100)]
Another typo.

4 years agoTypo.
Carl Hetherington [Sun, 9 Jun 2019 23:32:31 +0000 (00:32 +0100)]
Typo.

4 years agoswaroop: try to make -theater and -studio variants.
Carl Hetherington [Sun, 9 Jun 2019 23:21:12 +0000 (00:21 +0100)]
swaroop: try to make -theater and -studio variants.

4 years agoswaroop: allowed-shows state in playlist.
Carl Hetherington [Sun, 9 Jun 2019 22:59:12 +0000 (23:59 +0100)]
swaroop: allowed-shows state in playlist.

4 years agoswaroop: support validity periods in ecinema KDMs.
Carl Hetherington [Thu, 6 Jun 2019 21:10:40 +0000 (22:10 +0100)]
swaroop: support validity periods in ecinema KDMs.

4 years agoMerge branch 'v2.15.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.15.x v2.15.7
Carl Hetherington [Wed, 5 Jun 2019 20:44:29 +0000 (21:44 +0100)]
Merge branch 'v2.15.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.15.x

4 years agoswaroop: various fixes to dcpomatic_ecinema.
Carl Hetherington [Wed, 5 Jun 2019 20:42:57 +0000 (21:42 +0100)]
swaroop: various fixes to dcpomatic_ecinema.

4 years agoswaroop: switch ID tag to genre as it is supported by ffmpeg in both mp4 and mov.
Carl Hetherington [Wed, 5 Jun 2019 20:42:31 +0000 (21:42 +0100)]
swaroop: switch ID tag to genre as it is supported by ffmpeg in both mp4 and mov.

4 years agoTry to warn if we're running the 32-bit version on 64-bit windows (WoW64) (#1569).
Carl Hetherington [Wed, 5 Jun 2019 11:32:07 +0000 (12:32 +0100)]
Try to warn if we're running the 32-bit version on 64-bit windows (WoW64) (#1569).

4 years agoMore system information to tools and add it to the player. v2.15.6
Carl Hetherington [Mon, 3 Jun 2019 23:55:39 +0000 (00:55 +0100)]
More system information to tools and add it to the player.

4 years agoFix system information on vsync.
Carl Hetherington [Mon, 3 Jun 2019 23:26:10 +0000 (00:26 +0100)]
Fix system information on vsync.

4 years agoFix typo.
Carl Hetherington [Mon, 3 Jun 2019 22:59:27 +0000 (23:59 +0100)]
Fix typo.

4 years agoMore Windows hackery.
Carl Hetherington [Mon, 3 Jun 2019 22:48:29 +0000 (23:48 +0100)]
More Windows hackery.

4 years agoMore accurate reporting of whether vsync is enabled.
Carl Hetherington [Mon, 3 Jun 2019 16:10:53 +0000 (17:10 +0100)]
More accurate reporting of whether vsync is enabled.

4 years agoTry to enable some WGL stuff.
Carl Hetherington [Mon, 3 Jun 2019 16:09:37 +0000 (17:09 +0100)]
Try to enable some WGL stuff.

4 years agoWindows #include.
Carl Hetherington [Mon, 3 Jun 2019 15:54:58 +0000 (16:54 +0100)]
Windows #include.

4 years agoAttempted Windows GL fixes.
Carl Hetherington [Mon, 3 Jun 2019 15:36:42 +0000 (16:36 +0100)]
Attempted Windows GL fixes.

4 years agoType fix for OS X.
Carl Hetherington [Mon, 3 Jun 2019 13:57:01 +0000 (14:57 +0100)]
Type fix for OS X.

4 years agoAnother OS X include.
Carl Hetherington [Mon, 3 Jun 2019 13:13:53 +0000 (14:13 +0100)]
Another OS X include.