dcpomatic.git
19 months agofixup! Rather hacky support for burnt subtitle Z-position in 3D (#1359). 1359-z-position
Carl Hetherington [Thu, 25 Aug 2022 22:16:38 +0000 (00:16 +0200)]
fixup! Rather hacky support for burnt subtitle Z-position in 3D (#1359).

Reduce the scale a bit.

19 months agofixup! fixup! Rather hacky support for burnt subtitle Z-position in 3D (#1359).
Carl Hetherington [Fri, 13 May 2022 19:34:31 +0000 (21:34 +0200)]
fixup! fixup! Rather hacky support for burnt subtitle Z-position in 3D (#1359).

19 months agofixup! Rather hacky support for burnt subtitle Z-position in 3D (#1359).
Carl Hetherington [Mon, 31 Jan 2022 19:26:54 +0000 (20:26 +0100)]
fixup! Rather hacky support for burnt subtitle Z-position in 3D (#1359).

Allow -ve values.

19 months agoRather hacky support for burnt subtitle Z-position in 3D (#1359).
Carl Hetherington [Sun, 30 Jan 2022 19:26:58 +0000 (20:26 +0100)]
Rather hacky support for burnt subtitle Z-position in 3D (#1359).

19 months agoTry to make more accurate video+audio dummy files.
Carl Hetherington [Thu, 25 Aug 2022 20:09:17 +0000 (22:09 +0200)]
Try to make more accurate video+audio dummy files.

19 months agoFix audio-only sources, and non-integer frame rates.
Carl Hetherington [Mon, 22 Aug 2022 07:10:23 +0000 (09:10 +0200)]
Fix audio-only sources, and non-integer frame rates.

20 months agoSort DKDMs by CPL name (#2297).
Carl Hetherington [Wed, 17 Aug 2022 14:28:57 +0000 (16:28 +0200)]
Sort DKDMs by CPL name (#2297).

20 months agoC++11 tidying.
Carl Hetherington [Wed, 17 Aug 2022 14:28:48 +0000 (16:28 +0200)]
C++11 tidying.

20 months agoDefault to filtering DKDM filenames to only see *.xml, and allow
Carl Hetherington [Wed, 17 Aug 2022 14:00:38 +0000 (16:00 +0200)]
Default to filtering DKDM filenames to only see *.xml, and allow
multiple DKDMs to be added at the same time (#2296).

20 months agoFix deadlock on cancelling jobs. v2.16.21
Carl Hetherington [Mon, 15 Aug 2022 23:38:28 +0000 (01:38 +0200)]
Fix deadlock on cancelling jobs.

20 months agoSupporters update.
Carl Hetherington [Mon, 15 Aug 2022 18:59:22 +0000 (20:59 +0200)]
Supporters update.

20 months agoBump libdcp for XML tolerance fix (#2295).
Carl Hetherington [Mon, 15 Aug 2022 17:17:17 +0000 (19:17 +0200)]
Bump libdcp for XML tolerance fix (#2295).

20 months agoSet the send buffer size to 512k for sending things to encode servers (#2206).
Carl Hetherington [Fri, 11 Mar 2022 18:44:40 +0000 (19:44 +0100)]
Set the send buffer size to 512k for sending things to encode servers (#2206).

20 months agoAdd Socket::set_send_buffer_size().
Carl Hetherington [Fri, 11 Mar 2022 18:44:13 +0000 (19:44 +0100)]
Add Socket::set_send_buffer_size().

20 months agoC++11 tidying.
Carl Hetherington [Fri, 11 Mar 2022 18:44:04 +0000 (19:44 +0100)]
C++11 tidying.

20 months agoSupporters update. v2.16.20
Carl Hetherington [Sat, 13 Aug 2022 18:30:55 +0000 (20:30 +0200)]
Supporters update.

20 months agoFix crashes when the find-missing code finds an inacessible directory (#2291).
Carl Hetherington [Mon, 8 Aug 2022 21:20:48 +0000 (23:20 +0200)]
Fix crashes when the find-missing code finds an inacessible directory (#2291).

20 months agoRemove misleading comment.
Carl Hetherington [Fri, 12 Aug 2022 14:20:37 +0000 (16:20 +0200)]
Remove misleading comment.

Video levels are taken care of by the call to PlayerVideo::image()
above, in the non-J2K case, and for J2K we're already in full
range so there's no need to convert.

20 months agoPut the OpenGL XYZ -> RGB gammas the right way round (#2294).
Carl Hetherington [Fri, 12 Aug 2022 14:18:02 +0000 (16:18 +0200)]
Put the OpenGL XYZ -> RGB gammas the right way round (#2294).

1/2.6 is the correction when converting to XYZ, not to RGB.

20 months agoAdd a test for video YUV -> full RGB level conversion.
Carl Hetherington [Fri, 12 Aug 2022 12:36:17 +0000 (14:36 +0200)]
Add a test for video YUV -> full RGB level conversion.

20 months agoAdd some more formats to pixfmts.c.
Carl Hetherington [Fri, 12 Aug 2022 12:35:23 +0000 (14:35 +0200)]
Add some more formats to pixfmts.c.

20 months agoCleanup: don't repeat check inside resume() before calling it.
Carl Hetherington [Sat, 6 Aug 2022 20:58:36 +0000 (22:58 +0200)]
Cleanup: don't repeat check inside resume() before calling it.

20 months agoAllow cancellation of un-started jobs (#2777).
Carl Hetherington [Sat, 6 Aug 2022 20:57:58 +0000 (22:57 +0200)]
Allow cancellation of un-started jobs (#2777).

20 months agoCleanup: set job state to cancelled in a different place.
Carl Hetherington [Sat, 6 Aug 2022 20:36:21 +0000 (22:36 +0200)]
Cleanup: set job state to cancelled in a different place.

20 months agoFix d881836379172f4072ed81ea074f46b3a363a681 which removed clearing
Carl Hetherington [Thu, 11 Aug 2022 14:39:03 +0000 (16:39 +0200)]
Fix d881836379172f4072ed81ea074f46b3a363a681 which removed clearing
of the left-hand-side of images.

20 months agoLower some error thresholds now that check_image() actually works in these cases.
Carl Hetherington [Thu, 11 Aug 2022 14:38:38 +0000 (16:38 +0200)]
Lower some error thresholds now that check_image() actually works in these cases.

20 months agoFix broken writing of 16-bit images (the pixels must be written MSB-first).
Carl Hetherington [Thu, 11 Aug 2022 14:38:24 +0000 (16:38 +0200)]
Fix broken writing of 16-bit images (the pixels must be written MSB-first).

20 months agoCleanup: remove duplicated code.
Carl Hetherington [Thu, 11 Aug 2022 14:37:57 +0000 (16:37 +0200)]
Cleanup: remove duplicated code.

20 months agoBump libsub for fix to SSA colour tag parsing.
Carl Hetherington [Wed, 10 Aug 2022 19:09:01 +0000 (21:09 +0200)]
Bump libsub for fix to SSA colour tag parsing.

20 months agoFix lines down the right-hand-side of exports in some cases.
Carl Hetherington [Tue, 26 Jul 2022 13:22:54 +0000 (15:22 +0200)]
Fix lines down the right-hand-side of exports in some cases.

20 months agoUse wxNO_UNSAFE_WXSTRING_CONV and fix a bug it reveals.
Carl Hetherington [Mon, 8 Aug 2022 20:13:04 +0000 (22:13 +0200)]
Use wxNO_UNSAFE_WXSTRING_CONV and fix a bug it reveals.

20 months agoCleanup: fix typo in comment.
Carl Hetherington [Wed, 3 Aug 2022 23:15:44 +0000 (01:15 +0200)]
Cleanup: fix typo in comment.

20 months agoPython 3 fixes, and add average video frame rate readout.
Carl Hetherington [Wed, 3 Aug 2022 23:15:34 +0000 (01:15 +0200)]
Python 3 fixes, and add average video frame rate readout.

20 months agoUpdated sl_SI translation from Martin Srebotnjak.
Carl Hetherington [Mon, 25 Jul 2022 20:05:39 +0000 (22:05 +0200)]
Updated sl_SI translation from Martin Srebotnjak.

20 months agoUpdated sl_SI translation from Martin Srebotnjak.
Carl Hetherington [Mon, 25 Jul 2022 11:51:10 +0000 (13:51 +0200)]
Updated sl_SI translation from Martin Srebotnjak.

20 months agoEven more logging when reading DCPs.
Carl Hetherington [Sat, 23 Jul 2022 20:28:05 +0000 (22:28 +0200)]
Even more logging when reading DCPs.

20 months agoAdd some more logging when reading DCPs.
Carl Hetherington [Sat, 23 Jul 2022 14:52:38 +0000 (16:52 +0200)]
Add some more logging when reading DCPs.

20 months agoIgnore .cache.
Carl Hetherington [Sat, 23 Jul 2022 14:49:26 +0000 (16:49 +0200)]
Ignore .cache.

20 months agoC++11 tidying.
Carl Hetherington [Thu, 21 Jul 2022 14:25:10 +0000 (16:25 +0200)]
C++11 tidying.

21 months agoFix failure to update peak on changing gain (#2286). v2.16.19
Carl Hetherington [Wed, 20 Jul 2022 16:04:17 +0000 (18:04 +0200)]
Fix failure to update peak on changing gain (#2286).

21 months agoSupporters update.
Carl Hetherington [Wed, 20 Jul 2022 11:26:35 +0000 (13:26 +0200)]
Supporters update.

21 months agoSupporters update.
Carl Hetherington [Wed, 20 Jul 2022 11:25:09 +0000 (13:25 +0200)]
Supporters update.

21 months agoAdd some logging to the KDM creator.
Carl Hetherington [Wed, 20 Jul 2022 10:20:00 +0000 (12:20 +0200)]
Add some logging to the KDM creator.

21 months agoBasic release notes support (#2282).
Carl Hetherington [Thu, 7 Jul 2022 13:21:19 +0000 (15:21 +0200)]
Basic release notes support (#2282).

21 months agoAdd option to give HTMLDialog an OK button.
Carl Hetherington [Thu, 7 Jul 2022 13:21:04 +0000 (15:21 +0200)]
Add option to give HTMLDialog an OK button.

21 months agoHack more height for HTMLDialog.
Carl Hetherington [Thu, 7 Jul 2022 13:20:57 +0000 (15:20 +0200)]
Hack more height for HTMLDialog.

21 months agoUse bitmap_path to find me.jpeg
Carl Hetherington [Thu, 7 Jul 2022 13:20:34 +0000 (15:20 +0200)]
Use bitmap_path to find me.jpeg

21 months agoChange bitmap_path to take a full name with extension.
Carl Hetherington [Thu, 7 Jul 2022 13:20:03 +0000 (15:20 +0200)]
Change bitmap_path to take a full name with extension.

21 months agoMake it possible to build just one thing for macOS rather than everything.
Carl Hetherington [Mon, 18 Jul 2022 21:54:55 +0000 (23:54 +0200)]
Make it possible to build just one thing for macOS rather than everything.

21 months agoBump libsub for fixes to SSA/ASS font sizing.
Carl Hetherington [Mon, 18 Jul 2022 21:34:03 +0000 (23:34 +0200)]
Bump libsub for fixes to SSA/ASS font sizing.

21 months agoAdd missing <dir> entries to the macOS fonts.conf
Carl Hetherington [Sun, 17 Jul 2022 22:30:20 +0000 (00:30 +0200)]
Add missing <dir> entries to the macOS fonts.conf

21 months agoAlso copy fonts in osx/copy_resources.sh
Carl Hetherington [Fri, 15 Jul 2022 22:25:30 +0000 (15:25 -0700)]
Also copy fonts in osx/copy_resources.sh

21 months agoAdd some logging to the system font finder.
Carl Hetherington [Wed, 6 Jul 2022 22:09:09 +0000 (00:09 +0200)]
Add some logging to the system font finder.

21 months agoHandle vertical alignment of subs correctly wrt the difference between Interop and...
Carl Hetherington [Wed, 6 Jul 2022 10:25:15 +0000 (12:25 +0200)]
Handle vertical alignment of subs correctly wrt the difference between Interop and SMPTE.

21 months agoWhitespace tweak.
Carl Hetherington [Wed, 6 Jul 2022 08:51:30 +0000 (10:51 +0200)]
Whitespace tweak.

21 months agoImprove a variable name.
Carl Hetherington [Wed, 6 Jul 2022 08:51:04 +0000 (10:51 +0200)]
Improve a variable name.

21 months agoTidy up font rendering for subtitles.
Carl Hetherington [Wed, 6 Jul 2022 08:08:55 +0000 (10:08 +0200)]
Tidy up font rendering for subtitles.

Here was use get_ink_extents() rather than get_pixel_size() to
find out how big the rendered subtitle will be, then use the
x/y values of this extents rectangle to offset the rendering
within the image.  This allows the removal of some hacks to make
accents visible.

21 months agoAdd useful debugging test which might be tricky to use properly because of rendering...
Carl Hetherington [Tue, 5 Jul 2022 21:10:01 +0000 (23:10 +0200)]
Add useful debugging test which might be tricky to use properly because of rendering differences.

21 months agoTidy up some test names and remove pointless comments.
Carl Hetherington [Tue, 5 Jul 2022 21:09:15 +0000 (23:09 +0200)]
Tidy up some test names and remove pointless comments.

21 months agoAllow multiple DCPs to be written to a disk (#1756).
Carl Hetherington [Tue, 19 Jul 2022 22:51:23 +0000 (00:51 +0200)]
Allow multiple DCPs to be written to a disk (#1756).

21 months agoUpdated sl_SI translation from Martin Srebotnjak.
Carl Hetherington [Sun, 17 Jul 2022 18:32:03 +0000 (20:32 +0200)]
Updated sl_SI translation from Martin Srebotnjak.

21 months agoFix a couple of reserve()s that should be resize() (#2285).
Carl Hetherington [Sun, 17 Jul 2022 18:01:58 +0000 (20:01 +0200)]
Fix a couple of reserve()s that should be resize() (#2285).

21 months agoBump libdcp for bug in previous commit.
Carl Hetherington [Fri, 15 Jul 2022 09:00:04 +0000 (11:00 +0200)]
Bump libdcp for bug in previous commit.

21 months agoBump libdcp so that it closes MXF files when destroying asset writers.
Carl Hetherington [Thu, 14 Jul 2022 22:23:57 +0000 (00:23 +0200)]
Bump libdcp so that it closes MXF files when destroying asset writers.

21 months agoFix failure to destroy the J2KEncoder when an encode fails/is cancelled.
Carl Hetherington [Thu, 14 Jul 2022 22:03:33 +0000 (00:03 +0200)]
Fix failure to destroy the J2KEncoder when an encode fails/is cancelled.

21 months agoFix build.
Carl Hetherington [Thu, 14 Jul 2022 18:40:46 +0000 (20:40 +0200)]
Fix build.

21 months agoMore error message improvements.
Carl Hetherington [Thu, 14 Jul 2022 18:24:30 +0000 (20:24 +0200)]
More error message improvements.

21 months agoLog a couple of errors more thoroughly.
Carl Hetherington [Thu, 14 Jul 2022 11:07:11 +0000 (13:07 +0200)]
Log a couple of errors more thoroughly.

21 months agoSupporters update. v2.16.18
Carl Hetherington [Tue, 12 Jul 2022 21:04:33 +0000 (23:04 +0200)]
Supporters update.

21 months agoFix stupid crash in dcpomatic_create when adding a DCP without a KDM.
Carl Hetherington [Tue, 12 Jul 2022 21:03:33 +0000 (23:03 +0200)]
Fix stupid crash in dcpomatic_create when adding a DCP without a KDM.

21 months agoCorrect version number when deciding whether or not to fix subtitle IDs. v2.16.17
Carl Hetherington [Sun, 10 Jul 2022 08:44:58 +0000 (10:44 +0200)]
Correct version number when deciding whether or not to fix subtitle IDs.

21 months agoFix font_id errors with files decoded by FFmpeg which have subtitles.
Carl Hetherington [Sat, 9 Jul 2022 21:08:56 +0000 (23:08 +0200)]
Fix font_id errors with files decoded by FFmpeg which have subtitles.

I'm not sure if this goes far enough - it seems impossible to find all
the font IDs used in a FFmpeg file without scanning it.  I don't know
if (for example) SSA-format font IDs make it through to DoM when decoded
by FFmpeg.

21 months agoUse a vector rather than a list when returning from content_factory().
Carl Hetherington [Sat, 9 Jul 2022 18:41:10 +0000 (20:41 +0200)]
Use a vector rather than a list when returning from content_factory().

21 months agoLittle C++11 cleanup.
Carl Hetherington [Sat, 9 Jul 2022 18:40:21 +0000 (20:40 +0200)]
Little C++11 cleanup.

21 months agoBe a bit more careful with content_factory().
Carl Hetherington [Sat, 9 Jul 2022 18:39:10 +0000 (20:39 +0200)]
Be a bit more careful with content_factory().

21 months agoWe no longer support .ecinema files.
Carl Hetherington [Sat, 9 Jul 2022 18:33:16 +0000 (20:33 +0200)]
We no longer support .ecinema files.

21 months agoFix font handling for DCP subtitles.
Carl Hetherington [Sat, 9 Jul 2022 18:22:38 +0000 (20:22 +0200)]
Fix font handling for DCP subtitles.

21 months agoSmall cleanup.
Carl Hetherington [Sat, 9 Jul 2022 17:09:32 +0000 (19:09 +0200)]
Small cleanup.

21 months agoFix failure to close exported files.
Carl Hetherington [Sun, 10 Jul 2022 21:31:47 +0000 (23:31 +0200)]
Fix failure to close exported files.

21 months agoFix screenshot deps in manual again.
Carl Hetherington [Sun, 10 Jul 2022 20:47:25 +0000 (22:47 +0200)]
Fix screenshot deps in manual again.

21 months agoUpdated sl_SI translation from Martin Srebotnjak.
Carl Hetherington [Sun, 10 Jul 2022 20:22:17 +0000 (22:22 +0200)]
Updated sl_SI translation from Martin Srebotnjak.

21 months agoFix missing screenshots in manual.
Carl Hetherington [Sun, 10 Jul 2022 20:17:33 +0000 (22:17 +0200)]
Fix missing screenshots in manual.

21 months agoNew sl_SI translation from Martin Srebotnjak.
Carl Hetherington [Sat, 9 Jul 2022 21:38:56 +0000 (23:38 +0200)]
New sl_SI translation from Martin Srebotnjak.

21 months agoAdd a missing step when adding a new translation.
Carl Hetherington [Fri, 8 Jul 2022 20:58:01 +0000 (22:58 +0200)]
Add a missing step when adding a new translation.

21 months agoFix charset.
Carl Hetherington [Fri, 8 Jul 2022 20:50:34 +0000 (22:50 +0200)]
Fix charset.

21 months agoMissed bits of sl_SI translation update.
Carl Hetherington [Fri, 8 Jul 2022 20:47:08 +0000 (22:47 +0200)]
Missed bits of sl_SI translation update.

21 months agoSupport sl_SI (Slovenian) translation.
Carl Hetherington [Fri, 8 Jul 2022 20:21:20 +0000 (22:21 +0200)]
Support sl_SI (Slovenian) translation.

21 months agoThere's no longer ever a need to disable the mixdown-to-stereo option.
Carl Hetherington [Thu, 7 Jul 2022 20:24:02 +0000 (22:24 +0200)]
There's no longer ever a need to disable the mixdown-to-stereo option.

This used to be necessary when subtitles were exported from the same dialogue
as videos.

21 months agoUpdated cs_CZ translation from Tomáš Begeni.
Carl Hetherington [Thu, 7 Jul 2022 08:36:19 +0000 (10:36 +0200)]
Updated cs_CZ translation from Tomáš Begeni.

21 months agoMissing includes.
Carl Hetherington [Tue, 5 Jul 2022 21:07:41 +0000 (23:07 +0200)]
Missing includes.

21 months agoAllow running tests on Fedora.
Carl Hetherington [Tue, 5 Jul 2022 21:07:36 +0000 (23:07 +0200)]
Allow running tests on Fedora.

21 months agoFix missing export.
Carl Hetherington [Tue, 5 Jul 2022 21:07:30 +0000 (23:07 +0200)]
Fix missing export.

21 months agoTidy up the run/ directory a little. v2.16.16
Carl Hetherington [Sat, 2 Jul 2022 22:42:35 +0000 (00:42 +0200)]
Tidy up the run/ directory a little.

21 months agoSupporters update.
Carl Hetherington [Sat, 2 Jul 2022 21:08:13 +0000 (23:08 +0200)]
Supporters update.

21 months agoFix debug build on Windows.
Carl Hetherington [Fri, 1 Jul 2022 19:26:33 +0000 (21:26 +0200)]
Fix debug build on Windows.

21 months agoRestore use of SystemFontDialog so that system fonts can be selected on Windows ...
Carl Hetherington [Mon, 30 May 2022 22:29:00 +0000 (00:29 +0200)]
Restore use of SystemFontDialog so that system fonts can be selected on Windows (#491).

21 months agoAdvanced option to allow mapping to any audio channel (#2279).
Carl Hetherington [Tue, 28 Jun 2022 22:00:55 +0000 (00:00 +0200)]
Advanced option to allow mapping to any audio channel (#2279).

21 months agoSupport Fedora libpath when running tests.
Carl Hetherington [Tue, 28 Jun 2022 22:00:18 +0000 (00:00 +0200)]
Support Fedora libpath when running tests.

21 months agoFind Liberation Sans with local builds on Fedora.
Carl Hetherington [Tue, 28 Jun 2022 21:34:23 +0000 (23:34 +0200)]
Find Liberation Sans with local builds on Fedora.

21 months agoUse the resampled rate to calculate the slack threshold rather than just 48kHz (...
Carl Hetherington [Sun, 19 Jun 2022 20:45:18 +0000 (22:45 +0200)]
Use the resampled rate to calculate the slack threshold rather than just 48kHz (#2275).