dcpomatic.git
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.

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

4 years agoTry another way on OS X.
Carl Hetherington [Mon, 3 Jun 2019 10:37:08 +0000 (11:37 +0100)]
Try another way on OS X.

4 years agoMore GL build fixes.
Carl Hetherington [Mon, 3 Jun 2019 10:33:59 +0000 (11:33 +0100)]
More GL build fixes.

4 years agoFix some build failures due to GL stuff.
Carl Hetherington [Mon, 3 Jun 2019 09:49:49 +0000 (10:49 +0100)]
Fix some build failures due to GL stuff.

4 years agoTry to enable vsync with GL on Linux.
Carl Hetherington [Mon, 3 Jun 2019 00:28:57 +0000 (01:28 +0100)]
Try to enable vsync with GL on Linux.

4 years agoFix sensitivity of markers button.
Carl Hetherington [Sun, 2 Jun 2019 22:56:02 +0000 (23:56 +0100)]
Fix sensitivity of markers button.

4 years agoAlways hide reference note if it's empty.
Carl Hetherington [Sun, 2 Jun 2019 22:37:49 +0000 (23:37 +0100)]
Always hide reference note if it's empty.

4 years agoAnother test hash change.
Carl Hetherington [Sat, 1 Jun 2019 18:10:14 +0000 (19:10 +0100)]
Another test hash change.

4 years agoAnother test hash change.
Carl Hetherington [Sat, 1 Jun 2019 15:58:18 +0000 (16:58 +0100)]
Another test hash change.

4 years agoTest hash change due to adding video 'use' flag.
Carl Hetherington [Sat, 1 Jun 2019 07:29:26 +0000 (08:29 +0100)]
Test hash change due to adding video 'use' flag.

4 years agoBasics of allowing video parts of FFmpegContent to be disabled (#1355 and others).
Carl Hetherington [Fri, 31 May 2019 23:27:57 +0000 (00:27 +0100)]
Basics of allowing video parts of FFmpegContent to be disabled (#1355 and others).

4 years agoFix slightly unbelievable out-of-bounds array access when setting up the audio map...
Carl Hetherington [Sat, 25 May 2019 23:30:28 +0000 (23:30 +0000)]
Fix slightly unbelievable out-of-bounds array access when setting up the audio map for mixdown-to-stereo.

Forward-ported from 677eaab5c03e9c614ae2bc417a43bd5c1295bb8d in master.

4 years agoAdd playhead line to timeline (#1563).
Carl Hetherington [Fri, 31 May 2019 21:26:42 +0000 (22:26 +0100)]
Add playhead line to timeline (#1563).

4 years agoTest digest tweak.
Carl Hetherington [Thu, 30 May 2019 23:43:47 +0000 (00:43 +0100)]
Test digest tweak.

4 years agoMerge branch 'v2.15.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.15.x
Carl Hetherington [Thu, 30 May 2019 21:33:35 +0000 (22:33 +0100)]
Merge branch 'v2.15.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.15.x

4 years agoBump test digest.
Carl Hetherington [Thu, 30 May 2019 21:33:29 +0000 (22:33 +0100)]
Bump test digest.

4 years agoDestory TranscodeJob earlier, hopefully to fix #1570.
Carl Hetherington [Thu, 30 May 2019 19:08:39 +0000 (20:08 +0100)]
Destory TranscodeJob earlier, hopefully to fix #1570.

4 years agoTest name hash change.
Carl Hetherington [Thu, 30 May 2019 06:58:37 +0000 (07:58 +0100)]
Test name hash change.

4 years agoFix off-by-one channel when editing audio map levels numerically.
Carl Hetherington [Tue, 28 May 2019 00:06:25 +0000 (00:06 +0000)]
Fix off-by-one channel when editing audio map levels numerically.

Forward-ported from bf14618d056dc6f1ed7f32f943a565d8f662049e in master.

4 years agoUse pofilter to check i18n and fix some .po file glitches.
Carl Hetherington [Mon, 27 May 2019 23:48:06 +0000 (00:48 +0100)]
Use pofilter to check i18n and fix some .po file glitches.

Forward-ported from fe6de8b48ff0a40e229c06932ac5fd497322f208 in master.

4 years agoFix several bits of bad i18n markup and add start of checking script.
Carl Hetherington [Mon, 27 May 2019 22:50:37 +0000 (23:50 +0100)]
Fix several bits of bad i18n markup and add start of checking script.

Forward-ported from ec9cb6719c72930243afc534120da12323e29568 in master.

4 years agoFix some malformed placeholders in the cs_CZ translation.
Carl Hetherington [Mon, 27 May 2019 22:38:41 +0000 (23:38 +0100)]
Fix some malformed placeholders in the cs_CZ translation.

Forward-ported from cbd2876db6b68e35cb6e7b111ce6b14180c4f97f in master.

4 years agoPotential fix for #1568; we calculate the remaining DCPTime but
Carl Hetherington [Sun, 26 May 2019 01:58:17 +0000 (02:58 +0100)]
Potential fix for #1568; we calculate the remaining DCPTime but
then convert it back to resampled content frames using the DCP
rate rather than the resampled content rate, which seems wrong.

If we want to go from metric time to frames we surely have to use
the frame rate of the thing we are working with (not the frame rate
which that thing will be played back at).

4 years agoBasic ability to set video range (JPEG/MPEG) at least for YUV content. May not work...
Carl Hetherington [Fri, 24 May 2019 22:29:39 +0000 (23:29 +0100)]
Basic ability to set video range (JPEG/MPEG) at least for YUV content.  May not work for RGB.  See #1509.

4 years agoPossibly improve closing of splash window.
Carl Hetherington [Wed, 22 May 2019 23:57:36 +0000 (00:57 +0100)]
Possibly improve closing of splash window.

4 years agoTry to fix unit tests.
Carl Hetherington [Wed, 22 May 2019 19:34:21 +0000 (20:34 +0100)]
Try to fix unit tests.

4 years agoTweak comment.
Carl Hetherington [Tue, 21 May 2019 22:51:45 +0000 (23:51 +0100)]
Tweak comment.