dcpomatic.git
3 weeks agoIgnore video streams with frame rates over 1000 (work-around/fix for #1585). master
Carl Hetherington [Sun, 21 Jul 2019 23:34:10 +0000 (23:34 +0000)]
Ignore video streams with frame rates over 1000 (work-around/fix for #1585).

Backported from f4f6a2504e5fedb67513689eaeac9dd88ee38ca9 in 2.15.x.

6 weeks 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.

Backported from 232ddcc9892a7dfd54efa7533c27c4cfdf71bffd in v2.15.x.

7 weeks agoBuild fix. v2.14.8
Carl Hetherington [Sat, 29 Jun 2019 19:22:48 +0000 (19:22 +0000)]
Build fix.

7 weeks agoBump libsub for Centos build fix.
Carl Hetherington [Fri, 28 Jun 2019 23:05:08 +0000 (00:05 +0100)]
Bump libsub for Centos build fix.

7 weeks agoBump libsub for \c support.
Carl Hetherington [Fri, 28 Jun 2019 22:33:23 +0000 (23:33 +0100)]
Bump libsub for \c support.

7 weeks 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.

Backported from 5728b8095b9522626d61b1c684a9492f759e2870 in v2.15.x.

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

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

2 months 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.

2 months 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.

2 months agoFix slightly unbelievable out-of-bounds array access when setting up the audio map... v2.14.5
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.

2 months agoMore destruction of the splash screen. v2.14.4
Carl Hetherington [Wed, 22 May 2019 23:26:55 +0000 (23:26 +0000)]
More destruction of the splash screen.

2 months agoTry to make splash screen disappear sooner by Skip()ing the idle event.
Carl Hetherington [Wed, 22 May 2019 22:41:35 +0000 (22:41 +0000)]
Try to make splash screen disappear sooner by Skip()ing the idle event.

2 months agoTry to fix unit tests.
Carl Hetherington [Wed, 22 May 2019 19:33:45 +0000 (19:33 +0000)]
Try to fix unit tests.

2 months agoAdd ko_KR files to RPM.
Carl Hetherington [Wed, 22 May 2019 07:44:40 +0000 (08:44 +0100)]
Add ko_KR files to RPM.

2 months agoFix mis-merge. v2.14.3
Carl Hetherington [Tue, 21 May 2019 21:16:33 +0000 (21:16 +0000)]
Fix mis-merge.

2 months agoBump libdcp/libsub for fix to #1561 (problems when writing many SMPTE subs).
Carl Hetherington [Tue, 21 May 2019 20:27:07 +0000 (21:27 +0100)]
Bump libdcp/libsub for fix to #1561 (problems when writing many SMPTE subs).

2 months 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.

Backported from 11c07c6fd98620c859c7d3dcf6a4bbf6a05e567e in v2.15.x.

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

3 months 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.

Backported from 7ceb67dae630ddefc10090be5a0a8dea9ac835ad in v2.15.x.

3 months 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).

Backported from ca20cd4711c6b56ac238cf2313d2d4d1db92fe1a in v2.15.x.

3 months 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).

Backported from faa42e385ec2e36e75347ba5da1e4e0f69b6d6f3 in v2.15.x.

3 months 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.

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

3 months 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.

3 months 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.

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

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

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

3 months 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.

3 months 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.

3 months 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.

3 months 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.

3 months 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.

3 months agopot/merge.
Carl Hetherington [Sun, 5 May 2019 19:21:32 +0000 (20:21 +0100)]
pot/merge.

3 months agoFix xgettext call with UTF8 source code.
Carl Hetherington [Sun, 5 May 2019 19:20:42 +0000 (20:20 +0100)]
Fix xgettext call with UTF8 source code.

3 months agoCorrect capitalisation of PulseAudio.
Carl Hetherington [Sun, 5 May 2019 19:16:28 +0000 (20:16 +0100)]
Correct capitalisation of PulseAudio.

3 months agoFix logging when loading a film. v2.14.1
Carl Hetherington [Sat, 4 May 2019 22:24:54 +0000 (22:24 +0000)]
Fix logging when loading a film.

3 months agoBuild fix for previous.
Carl Hetherington [Sat, 4 May 2019 22:00:48 +0000 (22:00 +0000)]
Build fix for previous.

3 months agoFix crash in audio mapping view in various circumstances.
Carl Hetherington [Sat, 4 May 2019 21:43:45 +0000 (21:43 +0000)]
Fix crash in audio mapping view in various circumstances.

3 months agoFix some formatting errors in the it_IT translation.
Carl Hetherington [Sat, 4 May 2019 12:51:21 +0000 (12:51 +0000)]
Fix some formatting errors in the it_IT translation.

3 months agoUpdated fr_FR translation from Thierry Journet.
Carl Hetherington [Sat, 4 May 2019 00:20:34 +0000 (00:20 +0000)]
Updated fr_FR translation from Thierry Journet.

3 months agoInclude video_frame_rate in TextContent identifier so that if (for
Carl Hetherington [Sat, 4 May 2019 00:06:54 +0000 (00:06 +0000)]
Include video_frame_rate in TextContent identifier so that if (for
example) some SRT subs are being burnt and their video frame rate is
changed we won't try to reuse the video that has been burnt with the
subs at the old frame rate.

3 months agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Carl Hetherington [Fri, 3 May 2019 22:10:29 +0000 (22:10 +0000)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic

3 months agoDisallow unsetting the frame rate on FFmpeg/DCP content (#1547).
Carl Hetherington [Fri, 3 May 2019 22:10:21 +0000 (22:10 +0000)]
Disallow unsetting the frame rate on FFmpeg/DCP content (#1547).

3 months agoIncrease unit test log level.
Carl Hetherington [Fri, 3 May 2019 14:37:23 +0000 (14:37 +0000)]
Increase unit test log level.

3 months agoFix "cannot handle pixel format 26 during make_transparent()" (part of #1545).
Carl Hetherington [Fri, 3 May 2019 14:00:19 +0000 (14:00 +0000)]
Fix "cannot handle pixel format 26 during make_transparent()" (part of #1545).

3 months agoFix/workaround crash:
Carl Hetherington [Fri, 3 May 2019 01:32:46 +0000 (01:32 +0000)]
Fix/workaround crash:

../src/common/dpycmn.cpp(119): assert "n <GetCount ()" failed in wxDisplay (): An invalid index was passed to wxDisplay

seen on Ubuntu 19.04; I can't reproduce it myself but the user reports that
this fixes it.

3 months agoUpdated nl_NL translation from Rob van Nieuwkerk.
Carl Hetherington [Thu, 2 May 2019 21:01:26 +0000 (22:01 +0100)]
Updated nl_NL translation from Rob van Nieuwkerk.

3 months agoBump libdcp/libsub versions in wscript. v2.14.0
Carl Hetherington [Tue, 30 Apr 2019 21:10:25 +0000 (21:10 +0000)]
Bump libdcp/libsub versions in wscript.

3 months agoAdd --j2k-bandwidth to dcpomatic_create. v2.13.158
Carl Hetherington [Tue, 30 Apr 2019 09:41:04 +0000 (09:41 +0000)]
Add --j2k-bandwidth to dcpomatic_create.

3 months agoAdd --fourk to dcpomatic_create.
Carl Hetherington [Tue, 30 Apr 2019 09:05:13 +0000 (10:05 +0100)]
Add --fourk to dcpomatic_create.

3 months agoIgnore the (unrouteable) FTP passive-mode IP address given by v2.13.157
Carl Hetherington [Mon, 29 Apr 2019 20:59:33 +0000 (21:59 +0100)]
Ignore the (unrouteable) FTP passive-mode IP address given by
the Dolby certificate server (#1541).

3 months agoTweak cosmetic appearance of audio mapping view. v2.13.156
Carl Hetherington [Sun, 28 Apr 2019 22:45:14 +0000 (23:45 +0100)]
Tweak cosmetic appearance of audio mapping view.

3 months agopot/merge. v2.13.155
Carl Hetherington [Sun, 28 Apr 2019 20:18:42 +0000 (21:18 +0100)]
pot/merge.

3 months agoRestore ISDCF subtitle language option as an override (#1536).
Carl Hetherington [Sun, 28 Apr 2019 20:11:21 +0000 (20:11 +0000)]
Restore ISDCF subtitle language option as an override (#1536).

3 months agoFix AudioMappingView scrolling so that only the body of the grid is scrolled. v2.13.154
Carl Hetherington [Sat, 27 Apr 2019 22:11:50 +0000 (22:11 +0000)]
Fix AudioMappingView scrolling so that only the body of the grid is scrolled.

3 months agoNudge audio mapping view sizes up a little.
Carl Hetherington [Sat, 27 Apr 2019 21:16:07 +0000 (21:16 +0000)]
Nudge audio mapping view sizes up a little.

3 months agoFix channel numbering in tooltip.
Carl Hetherington [Sat, 27 Apr 2019 11:11:27 +0000 (11:11 +0000)]
Fix channel numbering in tooltip.

3 months agoRe-work of audio mapping view to use a custom-drawn v2.13.153
Carl Hetherington [Sat, 27 Apr 2019 00:40:04 +0000 (00:40 +0000)]
Re-work of audio mapping view to use a custom-drawn
canvas rather than wxGrid.

Inspired by the accumulation of odd problems due to the use of 3
separate panels, and also the endless resizing loop weird bug #1535.

3 months agoUpdated de_DE translation from Carsten Kurz.
Carl Hetherington [Fri, 26 Apr 2019 21:34:43 +0000 (22:34 +0100)]
Updated de_DE translation from Carsten Kurz.

3 months agoMake sure at least one position change event is emitted after
Carl Hetherington [Fri, 26 Apr 2019 21:31:24 +0000 (22:31 +0100)]
Make sure at least one position change event is emitted after
a timeline drag (with frequent=false), even if lots have been sent
with frequent=true.

Otherwise the code in the CHNAGE_TYPE_DONE branch of Butler::player_change
never gets to seek (since frequent is true, it ignores the signal).
Without the seek things go wrong.

Believed to fix #1534.

3 months agoBump libdcp for fix to recognition of non-DCP MXFs. v2.13.152
Carl Hetherington [Thu, 25 Apr 2019 15:50:45 +0000 (16:50 +0100)]
Bump libdcp for fix to recognition of non-DCP MXFs.

3 months agoFix preview update when fade is changed (#1531).
Carl Hetherington [Thu, 25 Apr 2019 15:33:16 +0000 (16:33 +0100)]
Fix preview update when fade is changed (#1531).

3 months agoFix or remove several broken pixel formats in Image::fade and add
Carl Hetherington [Thu, 25 Apr 2019 15:19:25 +0000 (16:19 +0100)]
Fix or remove several broken pixel formats in Image::fade and add
unit tests for the remainder.  Fixes #1532.

3 months agoDon't try to upload to TMS after export.
Carl Hetherington [Thu, 25 Apr 2019 11:45:17 +0000 (12:45 +0100)]
Don't try to upload to TMS after export.

3 months agoToken commit to bump version since changes to the Windows build environment (#1529). v2.13.151
Carl Hetherington [Wed, 24 Apr 2019 21:54:37 +0000 (22:54 +0100)]
Token commit to bump version since changes to the Windows build environment (#1529).

3 months agoUpdated zh_CN translation from 刘汉源 v2.13.150
Carl Hetherington [Mon, 22 Apr 2019 21:16:58 +0000 (22:16 +0100)]
Updated zh_CN translation from 刘汉源

3 months agoBump default J2K bandwidth to 150MBit/s (#1523).
Carl Hetherington [Sat, 20 Apr 2019 00:55:07 +0000 (01:55 +0100)]
Bump default J2K bandwidth to 150MBit/s (#1523).

3 months agoDon't set up decoder parts for DCPs unless they can be played v2.13.149
Carl Hetherington [Fri, 19 Apr 2019 23:29:55 +0000 (00:29 +0100)]
Don't set up decoder parts for DCPs unless they can be played
(i.e. are not encrypted and not missing assets).  Fixes full audio
buffers on locates with large encrypted DCPs and no KDMs; in these
cases silent audio is created by the fill_audio() at the bottom of
Player::pass() but no video is created by anybody.

3 months agoComment tweaks.
Carl Hetherington [Fri, 19 Apr 2019 23:29:49 +0000 (00:29 +0100)]
Comment tweaks.

3 months agoHopefully better errors on large video/audio disagreements.
Carl Hetherington [Fri, 19 Apr 2019 00:34:03 +0000 (00:34 +0000)]
Hopefully better errors on large video/audio disagreements.

4 months agoDon't offer setting for line spacing with DCP subs (#1527). v2.13.148
Carl Hetherington [Wed, 17 Apr 2019 20:15:37 +0000 (20:15 +0000)]
Don't offer setting for line spacing with DCP subs (#1527).

4 months agoFix errors when adding reels containing audio after referenced reels (#1528). v2.13.147
Carl Hetherington [Wed, 17 Apr 2019 15:52:02 +0000 (16:52 +0100)]
Fix errors when adding reels containing audio after referenced reels (#1528).

4 months agoAdd test for bug #1528.
Carl Hetherington [Wed, 17 Apr 2019 15:20:35 +0000 (16:20 +0100)]
Add test for bug #1528.

4 months agoFix a few links from http -> https.
Carl Hetherington [Tue, 16 Apr 2019 13:07:44 +0000 (14:07 +0100)]
Fix a few links from http -> https.

4 months agoMissing file from RPM. v2.13.146
Carl Hetherington [Mon, 15 Apr 2019 22:28:30 +0000 (23:28 +0100)]
Missing file from RPM.

4 months agoBump rtaudio-cdist for mis-merge fix.
Carl Hetherington [Mon, 15 Apr 2019 21:54:19 +0000 (22:54 +0100)]
Bump rtaudio-cdist for mis-merge fix.

4 months agoBump rtaudio to git head (with some patches of mine)
Carl Hetherington [Mon, 15 Apr 2019 13:12:35 +0000 (14:12 +0100)]
Bump rtaudio to git head (with some patches of mine)
in order to get WASAPI fixes.

4 months agoAdd some details of the what the configured sound output means.
Carl Hetherington [Sun, 14 Apr 2019 23:07:16 +0000 (00:07 +0100)]
Add some details of the what the configured sound output means.

4 months agoAllow WASAPI or DS as the Windows sound API as DirectSound (at
Carl Hetherington [Sun, 14 Apr 2019 21:08:14 +0000 (21:08 +0000)]
Allow WASAPI or DS as the Windows sound API as DirectSound (at
least with RtAudio) does not seem to support > 2 channels.

4 months agoTweak some capitalisation in Windows .lnk files.
Carl Hetherington [Sun, 14 Apr 2019 20:40:13 +0000 (21:40 +0100)]
Tweak some capitalisation in Windows .lnk files.

4 months agoAdd donation nag after 20 successful DCP encodes.
Carl Hetherington [Sun, 14 Apr 2019 20:07:32 +0000 (21:07 +0100)]
Add donation nag after 20 successful DCP encodes.

4 months agoStore successful DCP encodes.
Carl Hetherington [Sun, 14 Apr 2019 19:17:35 +0000 (20:17 +0100)]
Store successful DCP encodes.

4 months agoRemove unused include.
Carl Hetherington [Sun, 14 Apr 2019 00:16:27 +0000 (00:16 +0000)]
Remove unused include.

4 months agoRemove unused method.
Carl Hetherington [Sun, 14 Apr 2019 00:03:35 +0000 (00:03 +0000)]
Remove unused method.

4 months agoCurrent mxe is not building addr2line for the target; remove it from the install...
Carl Hetherington [Mon, 8 Apr 2019 21:55:50 +0000 (22:55 +0100)]
Current mxe is not building addr2line for the target; remove it from the install for now.

4 months agoPut file in right place.
Carl Hetherington [Mon, 8 Apr 2019 21:21:03 +0000 (22:21 +0100)]
Put file in right place.

4 months agoAdd missing debug file.
Carl Hetherington [Mon, 8 Apr 2019 21:00:40 +0000 (22:00 +0100)]
Add missing debug file.

4 months agoFix crash when adding subtitles. v2.13.145
Carl Hetherington [Sun, 7 Apr 2019 23:09:00 +0000 (00:09 +0100)]
Fix crash when adding subtitles.

4 months agoAdd Ubuntu 19.04 deps.
Carl Hetherington [Sat, 6 Apr 2019 21:47:07 +0000 (22:47 +0100)]
Add Ubuntu 19.04 deps.

4 months agoUpdated da_DK translation from Anders Uhl Pedersen. v2.13.144
Carl Hetherington [Sat, 6 Apr 2019 20:58:59 +0000 (21:58 +0100)]
Updated da_DK translation from Anders Uhl Pedersen.

4 months agoTest updates.
Carl Hetherington [Fri, 5 Apr 2019 23:19:27 +0000 (23:19 +0000)]
Test updates.

4 months agoOption to choose CCAP track (part of #1516). v2.13.143
Carl Hetherington [Fri, 5 Apr 2019 23:15:10 +0000 (00:15 +0100)]
Option to choose CCAP track (part of #1516).

4 months agoAdd fonts.conf to OS X build to try to fix failure to synthesize v2.13.142
Carl Hetherington [Wed, 3 Apr 2019 21:58:44 +0000 (22:58 +0100)]
Add fonts.conf to OS X build to try to fix failure to synthesize
bold/italic on 10.12 (Sierra) and earlier (#1524).

4 months agoAdd script for ad-hoc OSX environment.
Carl Hetherington [Wed, 3 Apr 2019 08:41:06 +0000 (09:41 +0100)]
Add script for ad-hoc OSX environment.

4 months agoMake a note about ISDCFMetadata SubtitleLanguage being set (part of #1516).
Carl Hetherington [Wed, 3 Apr 2019 00:37:21 +0000 (00:37 +0000)]
Make a note about ISDCFMetadata SubtitleLanguage being set (part of #1516).

4 months agoBOOST_FOREACH addition.
Carl Hetherington [Wed, 3 Apr 2019 00:36:59 +0000 (00:36 +0000)]
BOOST_FOREACH addition.

4 months agoExtract subtitle language from text content rather than ISDCFMetadata (part of #1516).
Carl Hetherington [Tue, 2 Apr 2019 23:43:54 +0000 (23:43 +0000)]
Extract subtitle language from text content rather than ISDCFMetadata (part of #1516).

4 months agoTry to fix strange behaviour of the preview slider towards the end
Carl Hetherington [Mon, 1 Apr 2019 23:58:53 +0000 (00:58 +0100)]
Try to fix strange behaviour of the preview slider towards the end
of content where there is a section at the end with no keyframe (#1522).