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

4 years agoAdd Bob Weaver Deinterlacing Filter (bwdif).
Carl Hetherington [Tue, 21 May 2019 22:42:47 +0000 (23:42 +0100)]
Add Bob Weaver Deinterlacing Filter (bwdif).

4 years agoGive an error if 2D content is set to 3D (#1565). Also run
Carl Hetherington [Tue, 21 May 2019 00:47:22 +0000 (01:47 +0100)]
Give an error if 2D content is set to 3D (#1565).  Also run
3D tests with more parallel jobs to speed them up.

4 years agoAdd test for #1565.
Carl Hetherington [Mon, 20 May 2019 22:17:21 +0000 (22:17 +0000)]
Add test for #1565.

Forward-ported from c3cccfcf0f3942a55f1c0df5ba623fcfa360533e in master.

4 years agoPlayer::playlist_content_change will call setup_pieces() regardless v2.15.5
Carl Hetherington [Wed, 15 May 2019 22:52:15 +0000 (23:52 +0100)]
Player::playlist_content_change will call setup_pieces() regardless
of the state of frequent, so Butler::player_change must always seek
regardless of the state of frequent.  Otherwise setup_pieces() results
in the next pass() output being at position 0, which causes problems
when the audio from that output is pushed into the audio ring buffers.

4 years agoAdd dummy file creation for FFmpeg audio-only.
Carl Hetherington [Wed, 15 May 2019 22:48:59 +0000 (23:48 +0100)]
Add dummy file creation for FFmpeg audio-only.

4 years agoFix scrolling of audio channel group labels.
Carl Hetherington [Wed, 15 May 2019 20:18:32 +0000 (21:18 +0100)]
Fix scrolling of audio channel group labels.

4 years agoBetter tooltips over audio mapping view nodes.
Carl Hetherington [Tue, 14 May 2019 22:22:00 +0000 (23:22 +0100)]
Better tooltips over audio mapping view nodes.

4 years agoAdd tooltip for input groups (#1557).
Carl Hetherington [Tue, 14 May 2019 22:06:53 +0000 (23:06 +0100)]
Add tooltip for input groups (#1557).

4 years agoTruncate audio mapping view channel group names (part of #1557).
Carl Hetherington [Tue, 14 May 2019 21:54:17 +0000 (22:54 +0100)]
Truncate audio mapping view channel group names (part of #1557).

4 years agoswaroop: allow output container specification.
Carl Hetherington [Tue, 14 May 2019 21:00:31 +0000 (22:00 +0100)]
swaroop: allow output container specification.

4 years agoNon-swaroop build fixes. v2.15.4
Carl Hetherington [Mon, 13 May 2019 23:45:12 +0000 (00:45 +0100)]
Non-swaroop build fixes.

4 years agoswaroop: fix incorrect start times with encrypted MP4 content. attic/swaroop-v2.15.x
Carl Hetherington [Mon, 13 May 2019 23:14:38 +0000 (00:14 +0100)]
swaroop: fix incorrect start times with encrypted MP4 content.

4 years agoswaroop: basics of ECinema support in KDM creator.
Carl Hetherington [Mon, 13 May 2019 22:45:05 +0000 (23:45 +0100)]
swaroop: basics of ECinema support in KDM creator.

4 years agoswaroop: allow ScreenKDM subclasses for different KDM types.
Carl Hetherington [Mon, 13 May 2019 20:52:27 +0000 (21:52 +0100)]
swaroop: allow ScreenKDM subclasses for different KDM types.

4 years agoswaroop: add name to ECinema KDMs and add DKDM wrapper for ECinema.
Carl Hetherington [Mon, 13 May 2019 16:20:01 +0000 (17:20 +0100)]
swaroop: add name to ECinema KDMs and add DKDM wrapper for ECinema.

4 years agoswaroop: build dcpomatic_kdm.
Carl Hetherington [Mon, 13 May 2019 16:18:58 +0000 (17:18 +0100)]
swaroop: build dcpomatic_kdm.

4 years agoswaroop: basics of encrypted MP4 playback.
Carl Hetherington [Mon, 13 May 2019 15:08:33 +0000 (16:08 +0100)]
swaroop: basics of encrypted MP4 playback.

4 years agoBuild fixes related to simple/GL view.
Carl Hetherington [Mon, 13 May 2019 10:36:09 +0000 (11:36 +0100)]
Build fixes related to simple/GL view.

4 years agoECinema 'KDM' tweaks.
Carl Hetherington [Thu, 9 May 2019 15:32:54 +0000 (16:32 +0100)]
ECinema 'KDM' tweaks.

4 years agoswaroop: build fixes.
Carl Hetherington [Wed, 1 May 2019 08:27:04 +0000 (09:27 +0100)]
swaroop: build fixes.

4 years agoInitial work on 'ECinema' KDMs.
Carl Hetherington [Tue, 16 Apr 2019 12:35:54 +0000 (13:35 +0100)]
Initial work on 'ECinema' KDMs.

4 years agoTry to fix OS X build. v2.15.3
Carl Hetherington [Sun, 12 May 2019 22:58:19 +0000 (23:58 +0100)]
Try to fix OS X build.

4 years agoAdd ko_KR to fix RPM build. v2.15.2
Carl Hetherington [Sun, 12 May 2019 21:56:16 +0000 (22:56 +0100)]
Add ko_KR to fix RPM build.

4 years agoFix potential runaway string.
Carl Hetherington [Sun, 12 May 2019 21:51:46 +0000 (22:51 +0100)]
Fix potential runaway string.

4 years agoTry to fix static linking of DCP-o-matic libs with the GL stuff.
Carl Hetherington [Sun, 12 May 2019 20:22:44 +0000 (21:22 +0100)]
Try to fix static linking of DCP-o-matic libs with the GL stuff.

4 years agoRestore paint-panel timing.
Carl Hetherington [Sun, 12 May 2019 20:19:59 +0000 (21:19 +0100)]
Restore paint-panel timing.

4 years agoFix crash with small GL canvas sizes. v2.15.1
Carl Hetherington [Fri, 10 May 2019 22:42:31 +0000 (23:42 +0100)]
Fix crash with small GL canvas sizes.

4 years agoRemove believed-unnecessary multiple-of-4 image size for GL.
Carl Hetherington [Fri, 10 May 2019 22:26:53 +0000 (23:26 +0100)]
Remove believed-unnecessary multiple-of-4 image size for GL.

4 years agoColour in 'masking' in GL mode.
Carl Hetherington [Fri, 10 May 2019 22:22:34 +0000 (23:22 +0100)]
Colour in 'masking' in GL mode.

4 years agoFix update on drag with GL canvas.
Carl Hetherington [Fri, 10 May 2019 15:37:16 +0000 (16:37 +0100)]
Fix update on drag with GL canvas.

4 years agoAllow simple/GL config from the player.
Carl Hetherington [Fri, 10 May 2019 01:11:31 +0000 (02:11 +0100)]
Allow simple/GL config from the player.

4 years agoI believe _canvas will be destroyed by its parent.
Carl Hetherington [Fri, 10 May 2019 00:35:52 +0000 (01:35 +0100)]
I believe _canvas will be destroyed by its parent.

4 years agoRemove storage of _frame in FilmViewer.
Carl Hetherington [Fri, 10 May 2019 00:32:58 +0000 (01:32 +0100)]
Remove storage of _frame in FilmViewer.

4 years agoTidy up sized emissions from VideoView.
Carl Hetherington [Thu, 9 May 2019 16:59:10 +0000 (17:59 +0100)]
Tidy up sized emissions from VideoView.

4 years agoFix OS X build.
Carl Hetherington [Thu, 9 May 2019 15:26:40 +0000 (16:26 +0100)]
Fix OS X build.

4 years agoFix system information crash when OpenGL is not enabled.
Carl Hetherington [Thu, 9 May 2019 11:59:26 +0000 (12:59 +0100)]
Fix system information crash when OpenGL is not enabled.

4 years agoRemove unnecessary Refresh() call.
Carl Hetherington [Thu, 9 May 2019 00:41:16 +0000 (01:41 +0100)]
Remove unnecessary Refresh() call.

4 years agoMake video view type configurable.
Carl Hetherington [Thu, 9 May 2019 00:36:11 +0000 (01:36 +0100)]
Make video view type configurable.

4 years agoFix up SimpleVideoView.
Carl Hetherington [Thu, 9 May 2019 00:17:46 +0000 (01:17 +0100)]
Fix up SimpleVideoView.

4 years agoAdd system information dialog with OpenGL version.
Carl Hetherington [Thu, 9 May 2019 00:02:41 +0000 (01:02 +0100)]
Add system information dialog with OpenGL version.

4 years agoAdd a FIXME.
Carl Hetherington [Wed, 8 May 2019 23:55:33 +0000 (00:55 +0100)]
Add a FIXME.

4 years agoTweaks to not-yet-built SimpleVideoView.
Carl Hetherington [Wed, 8 May 2019 23:55:00 +0000 (00:55 +0100)]
Tweaks to not-yet-built SimpleVideoView.

4 years agorefresh_panel -> refresh_view.
Carl Hetherington [Wed, 8 May 2019 23:54:52 +0000 (00:54 +0100)]
refresh_panel -> refresh_view.

4 years agoRestore refresh_panel as I think it will sometimes be necessary.
Carl Hetherington [Wed, 8 May 2019 23:52:49 +0000 (00:52 +0100)]
Restore refresh_panel as I think it will sometimes be necessary.

4 years agoBasics of OpenGL viewer.
Carl Hetherington [Wed, 8 May 2019 23:49:58 +0000 (00:49 +0100)]
Basics of OpenGL viewer.

4 years agoPut Font and Screen into dcpomatic namespace.
Carl Hetherington [Wed, 8 May 2019 22:56:32 +0000 (23:56 +0100)]
Put Font and Screen into dcpomatic namespace.

4 years agoPut Time types in dcpomatic namespace.
Carl Hetherington [Wed, 8 May 2019 22:41:42 +0000 (23:41 +0100)]
Put Time types in dcpomatic namespace.

4 years agoValidation of certificate chains will fail before dcpomatic_setup()
Carl Hetherington [Sat, 4 May 2019 00:03:43 +0000 (01:03 +0100)]
Validation of certificate chains will fail before dcpomatic_setup()
is called, as OpenSSL has not yet been set up.

Make sure that these failures only raise a Bad() (which nobody is yet
listening to) rather than throwing an exception which gets caught
and reported as a failed-to-load config.

If none of the OpenSSL stuff is working chain_valid() will return false
but private_key_valid() will throw an exception (as it tries to get the
leaf certificate, causing a validity check).

4 years agoClose splash before displaying config errors/warnings.
Carl Hetherington [Fri, 3 May 2019 19:04:39 +0000 (20:04 +0100)]
Close splash before displaying config errors/warnings.

4 years agoBuild fixes.
Carl Hetherington [Tue, 30 Apr 2019 15:04:34 +0000 (16:04 +0100)]
Build fixes.

4 years agoAdd zip making.
Carl Hetherington [Tue, 16 Apr 2019 23:56:54 +0000 (00:56 +0100)]
Add zip making.

4 years agoTweak Makefile to use locally-built DoM.
Carl Hetherington [Tue, 16 Apr 2019 23:32:32 +0000 (00:32 +0100)]
Tweak Makefile to use locally-built DoM.

4 years agoAdd some basic test cards.
Carl Hetherington [Tue, 16 Apr 2019 23:04:06 +0000 (00:04 +0100)]
Add some basic test cards.

4 years agoAdd some docs on the swaroop variant's differences.
Carl Hetherington [Sun, 7 Apr 2019 22:08:27 +0000 (23:08 +0100)]
Add some docs on the swaroop variant's differences.

4 years agoFix mis-merge.
Carl Hetherington [Sat, 6 Apr 2019 20:16:29 +0000 (21:16 +0100)]
Fix mis-merge.

4 years agoUpdate message about chain inconsistency when removing certs (#1519).
Carl Hetherington [Sun, 31 Mar 2019 23:34:06 +0000 (00:34 +0100)]
Update message about chain inconsistency when removing certs (#1519).

4 years agoComplain on startup if signer or decryption chains are inconsistent (#1520).
Carl Hetherington [Sun, 31 Mar 2019 23:31:22 +0000 (00:31 +0100)]
Complain on startup if signer or decryption chains are inconsistent (#1520).

4 years agoDisable DKDM remove/export buttons as appropriate.
Carl Hetherington [Thu, 28 Mar 2019 01:20:16 +0000 (01:20 +0000)]
Disable DKDM remove/export buttons as appropriate.

4 years agoAdd export button for DKDMs (part of #1510).
Carl Hetherington [Thu, 28 Mar 2019 00:32:20 +0000 (00:32 +0000)]
Add export button for DKDMs (part of #1510).

4 years agoNag about deletion of DKDMs.
Carl Hetherington [Thu, 28 Mar 2019 00:12:01 +0000 (00:12 +0000)]
Nag about deletion of DKDMs.

4 years agoHide language / DCP track as appropriate with closed/open caption
Carl Hetherington [Wed, 27 Mar 2019 14:51:58 +0000 (14:51 +0000)]
Hide language / DCP track as appropriate with closed/open caption
choice.

4 years agoSupport download of certificates from Qube (#1460).
Carl Hetherington [Thu, 7 Feb 2019 23:54:07 +0000 (23:54 +0000)]
Support download of certificates from Qube (#1460).

4 years agoAdd some very basic timing of the player.
Carl Hetherington [Tue, 26 Mar 2019 14:58:43 +0000 (14:58 +0000)]
Add some very basic timing of the player.

4 years agoBump ffmpeg.
Carl Hetherington [Mon, 25 Mar 2019 22:29:29 +0000 (22:29 +0000)]
Bump ffmpeg.

4 years agoAdd namespace to fix OS X build.
Carl Hetherington [Sat, 23 Mar 2019 22:32:56 +0000 (22:32 +0000)]
Add namespace to fix OS X build.

4 years agolibdcp API fixes.
Carl Hetherington [Sat, 23 Mar 2019 08:28:47 +0000 (08:28 +0000)]
libdcp API fixes.

4 years agoUpdate for libdcp API changes.
Carl Hetherington [Fri, 22 Mar 2019 14:51:08 +0000 (14:51 +0000)]
Update for libdcp API changes.

4 years agoMissing #include.
Carl Hetherington [Fri, 22 Mar 2019 14:49:54 +0000 (14:49 +0000)]
Missing #include.

4 years agoDisable hints when there is no film.
Carl Hetherington [Thu, 21 Mar 2019 00:17:58 +0000 (00:17 +0000)]
Disable hints when there is no film.

4 years agoBasics of metadata dialog - ratings.
Carl Hetherington [Thu, 21 Mar 2019 00:10:08 +0000 (00:10 +0000)]
Basics of metadata dialog - ratings.

4 years agoTweak button label.
Carl Hetherington [Tue, 19 Mar 2019 22:34:07 +0000 (22:34 +0000)]
Tweak button label.

4 years agoHide passwords in text fields.
Carl Hetherington [Tue, 19 Mar 2019 22:30:05 +0000 (22:30 +0000)]
Hide passwords in text fields.

4 years agoTry to reduce timeout when downloading supporters lists.
Carl Hetherington [Tue, 19 Mar 2019 22:22:34 +0000 (22:22 +0000)]
Try to reduce timeout when downloading supporters lists.

4 years agoFix warning.
Carl Hetherington [Tue, 19 Mar 2019 21:37:41 +0000 (21:37 +0000)]
Fix warning.

4 years agoFix warning.
Carl Hetherington [Tue, 19 Mar 2019 21:37:31 +0000 (21:37 +0000)]
Fix warning.

4 years agoUpdate for libdcp API changes.
Carl Hetherington [Tue, 19 Mar 2019 21:37:19 +0000 (21:37 +0000)]
Update for libdcp API changes.

4 years agoBump libdcp and libsub.
Carl Hetherington [Tue, 19 Mar 2019 15:16:15 +0000 (15:16 +0000)]
Bump libdcp and libsub.

4 years agoBasics of marker writing (part of #782).
Carl Hetherington [Sun, 17 Mar 2019 01:27:02 +0000 (01:27 +0000)]
Basics of marker writing (part of #782).

4 years agoBasics of setting and storing SMPTE CPL markers.
Carl Hetherington [Fri, 15 Mar 2019 00:52:56 +0000 (00:52 +0000)]
Basics of setting and storing SMPTE CPL markers.

4 years agoUpdated de_DE translation from Carsten Kurz.
Carl Hetherington [Fri, 10 May 2019 13:35:43 +0000 (14:35 +0100)]
Updated de_DE translation from Carsten Kurz.

4 years agoFix ko_KR charset.
Carl Hetherington [Fri, 10 May 2019 12:14:37 +0000 (13:14 +0100)]
Fix ko_KR charset.

4 years agoAdd new ko_KR .po files.
Carl Hetherington [Fri, 10 May 2019 12:12:32 +0000 (13:12 +0100)]
Add new ko_KR .po files.

4 years agoUpdated fr_FR translation from Thierry Journet.
Carl Hetherington [Tue, 7 May 2019 19:52:40 +0000 (20:52 +0100)]
Updated fr_FR translation from Thierry Journet.

4 years agoMore manual build fixes.
Carl Hetherington [Tue, 7 May 2019 10:38:37 +0000 (11:38 +0100)]
More manual build fixes.

4 years agoFix manual build.
Carl Hetherington [Tue, 7 May 2019 10:35:07 +0000 (11:35 +0100)]
Fix manual build.

4 years agoManual errors (folder -> DCP).
Carl Hetherington [Tue, 7 May 2019 10:17:13 +0000 (11:17 +0100)]
Manual errors (folder -> DCP).

4 years agoSpeculative fix for white lines at the bottom of full-screen playback windows. v2.14.2
Carl Hetherington [Sun, 5 May 2019 22:42:10 +0000 (23:42 +0100)]
Speculative fix for white lines at the bottom of full-screen playback windows.

4 years agoUpdated nl_NL translation from Rob van Nieuwkerk.
Carl Hetherington [Sun, 5 May 2019 22:32:40 +0000 (23:32 +0100)]
Updated nl_NL translation from Rob van Nieuwkerk.

4 years agoStop video filters emitting frames from the old position just
Carl Hetherington [Sun, 5 May 2019 22:23:40 +0000 (22:23 +0000)]
Stop video filters emitting frames from the old position just
after a seek.

If this happens, we get sequences like

1. emit some video at time 60s
2. seek to 40s
3. video frame emitted from filter at 60.1s; this sets _last_video_time
in player so that frames emitted between 40s and 60s are discarded;
hence the audio buffers overflow.

Should fix #1551.

4 years agoFix case where the is FFmpegContent with 24fps video and 44.1kHz audio
Carl Hetherington [Sun, 5 May 2019 20:49:51 +0000 (20:49 +0000)]
Fix case where the is FFmpegContent with 24fps video and 44.1kHz audio
and a start trim of 6724000.  With these numbers the start trim is
on an integer video frame but halfway through an audio frame.  Without
this patch the trim would be "corrected" to 6724001, causing video frames
to come out of the player at DCPTimes 0, 3999, 5999 etc.

It's possible that

Frame const position = time.frames_floor(_film->video_frame_rate());

in J2KEncoder::encode should be frames_round, which would also help
with this, but that would be a much more risky patch.

4 years agoTranslate PulseAudio -> PulseAudio in all languages.
Carl Hetherington [Sun, 5 May 2019 19:23:23 +0000 (20:23 +0100)]
Translate PulseAudio -> PulseAudio in all languages.