dcpomatic.git
5 days agoPut two video views inside FilmViewer, one for main and one for sign language.
Carl Hetherington [Sun, 6 Nov 2022 19:33:27 +0000 (20:33 +0100)]
Put two video views inside FilmViewer, one for main and one for sign language.

5 days agoAdapt Butler to keep a buffer of main and sign language video types.
Carl Hetherington [Wed, 19 Oct 2022 22:45:17 +0000 (00:45 +0200)]
Adapt Butler to keep a buffer of main and sign language video types.

5 days agoExpand Player to support main and sign language video types.
Carl Hetherington [Wed, 19 Oct 2022 22:27:15 +0000 (00:27 +0200)]
Expand Player to support main and sign language video types.

5 days agoAdd stub sign language window.
Carl Hetherington [Wed, 19 Oct 2022 20:34:51 +0000 (22:34 +0200)]
Add stub sign language window.

5 days agoShow sign language content in the list.
Carl Hetherington [Tue, 6 Sep 2022 19:03:16 +0000 (21:03 +0200)]
Show sign language content in the list.

5 days agoAdd make_numbered_frames hack script.
Carl Hetherington [Tue, 6 Sep 2022 18:44:29 +0000 (20:44 +0200)]
Add make_numbered_frames hack script.

5 days agoAdd _sign_language property to Content.
Carl Hetherington [Tue, 6 Sep 2022 18:44:23 +0000 (20:44 +0200)]
Add _sign_language property to Content.

7 days agoAllow variant to hide all credits.
Carl Hetherington [Sun, 30 Jun 2024 21:29:05 +0000 (23:29 +0200)]
Allow variant to hide all credits.

9 days agoFix test build.
Carl Hetherington [Fri, 28 Jun 2024 14:53:00 +0000 (16:53 +0200)]
Fix test build.

9 days agoMerge remote-tracking branch 'origin/main' into v2.17.x
Carl Hetherington [Fri, 28 Jun 2024 11:04:30 +0000 (13:04 +0200)]
Merge remote-tracking branch 'origin/main' into v2.17.x

10 days agoBump libdcp for speculative fix for #2839.
Carl Hetherington [Thu, 27 Jun 2024 20:52:03 +0000 (22:52 +0200)]
Bump libdcp for speculative fix for #2839.

10 days agoFix error when importing bad subtitle file (#2838).
Carl Hetherington [Thu, 27 Jun 2024 18:14:31 +0000 (20:14 +0200)]
Fix error when importing bad subtitle file (#2838).

The subtitle XML refers to a font with no corresponding <LoadFont>.

12 days agoFix thinko in run/tests on macOS.
Carl Hetherington [Tue, 25 Jun 2024 18:10:02 +0000 (20:10 +0200)]
Fix thinko in run/tests on macOS.

12 days agoTest data update for config upgrade test on Windows.
Carl Hetherington [Tue, 25 Jun 2024 18:01:50 +0000 (20:01 +0200)]
Test data update for config upgrade test on Windows.

12 days agoFix tests after change to working directories.
Carl Hetherington [Tue, 25 Jun 2024 12:41:57 +0000 (14:41 +0200)]
Fix tests after change to working directories.

13 days agoFix assertion failure after removing content.
Carl Hetherington [Mon, 24 Jun 2024 22:05:50 +0000 (00:05 +0200)]
Fix assertion failure after removing content.

Adding, say, 10 items of content, removing the last 8 and
then clicking somewhere in the content list would cause
OnGetItem{Text,Attr} to be called with a high index (as if
the items had not yet been removed).

13 days agoFix y offset direction of bitmap subs (#2807).
Carl Hetherington [Tue, 18 Jun 2024 16:03:06 +0000 (18:03 +0200)]
Fix y offset direction of bitmap subs (#2807).

13 days agoAdd ProRes LT export option (#2834).
Carl Hetherington [Mon, 24 Jun 2024 21:01:13 +0000 (23:01 +0200)]
Add ProRes LT export option (#2834).

13 days agoUse separate working directories for some tests.
Carl Hetherington [Mon, 24 Jun 2024 21:01:06 +0000 (23:01 +0200)]
Use separate working directories for some tests.

13 days agoFix warning from pango about letter spacing not being an integer.
Carl Hetherington [Mon, 24 Jun 2024 20:36:08 +0000 (22:36 +0200)]
Fix warning from pango about letter spacing not being an integer.

2 weeks agoFix running tests on arm64.
Carl Hetherington [Mon, 24 Jun 2024 07:20:21 +0000 (09:20 +0200)]
Fix running tests on arm64.

2 weeks agoFix test references after adding HTTP server.
Carl Hetherington [Mon, 24 Jun 2024 07:18:58 +0000 (09:18 +0200)]
Fix test references after adding HTTP server.

2 weeks agoAdd some context on XML comparison failures.
Carl Hetherington [Mon, 24 Jun 2024 07:17:31 +0000 (09:17 +0200)]
Add some context on XML comparison failures.

2 weeks agoRemove some unused using statements and a blank line.
Carl Hetherington [Sun, 23 Jun 2024 18:29:36 +0000 (20:29 +0200)]
Remove some unused using statements and a blank line.

2 weeks agoCleanp decoder factory slightly.
Carl Hetherington [Sun, 23 Jun 2024 17:49:33 +0000 (19:49 +0200)]
Cleanp decoder factory slightly.

2 weeks agoRemove sprintf() use to quell warning from macOS.
Carl Hetherington [Sun, 23 Jun 2024 17:08:00 +0000 (19:08 +0200)]
Remove sprintf() use to quell warning from macOS.

2 weeks agoAdd minimal player HTTP server (#2830).
Carl Hetherington [Thu, 13 Jun 2024 23:45:18 +0000 (01:45 +0200)]
Add minimal player HTTP server (#2830).

2 weeks agoMove some stuff into FilmViewer::dcp().
Carl Hetherington [Sat, 15 Jun 2024 18:09:24 +0000 (20:09 +0200)]
Move some stuff into FilmViewer::dcp().

2 weeks agoExtract internal player server to separate file and tidy up a bit.
Carl Hetherington [Sat, 15 Jun 2024 16:02:27 +0000 (18:02 +0200)]
Extract internal player server to separate file and tidy up a bit.

2 weeks agoClose socket when stopping the server.
Carl Hetherington [Fri, 14 Jun 2024 17:50:41 +0000 (19:50 +0200)]
Close socket when stopping the server.

Otherwise if we're calling e.g. Socket::run() the server's run() will
not terminate on stop().

2 weeks agoFall back to the source directory if we're not running an installed DoM.
Carl Hetherington [Fri, 14 Jun 2024 17:54:27 +0000 (19:54 +0200)]
Fall back to the source directory if we're not running an installed DoM.

This is useful for the web pages as they are in a subdirectory called
web in either version of resouces_path().

2 weeks agoAdd Socket::is_open().
Carl Hetherington [Sat, 15 Jun 2024 23:19:45 +0000 (01:19 +0200)]
Add Socket::is_open().

2 weeks agoAdd Socket::close().
Carl Hetherington [Fri, 14 Jun 2024 17:49:29 +0000 (19:49 +0200)]
Add Socket::close().

2 weeks agoAdd Socket::run().
Carl Hetherington [Thu, 13 Jun 2024 23:44:29 +0000 (01:44 +0200)]
Add Socket::run().

2 weeks agoAdd and use set_deadline_from_now().
Carl Hetherington [Thu, 13 Jun 2024 23:44:23 +0000 (01:44 +0200)]
Add and use set_deadline_from_now().

2 weeks agoAdd Socket::write for std::string.
Carl Hetherington [Thu, 13 Jun 2024 23:43:54 +0000 (01:43 +0200)]
Add Socket::write for std::string.

2 weeks agoAdd log entry for the HTTP server.
Carl Hetherington [Thu, 13 Jun 2024 23:42:21 +0000 (01:42 +0200)]
Add log entry for the HTTP server.

2 weeks agoDo everything required to stop the server in ::stop().
Carl Hetherington [Thu, 13 Jun 2024 23:38:37 +0000 (01:38 +0200)]
Do everything required to stop the server in ::stop().

2 weeks agoMerge remote-tracking branch 'origin/main' into v2.17.x
Carl Hetherington [Wed, 19 Jun 2024 22:05:08 +0000 (00:05 +0200)]
Merge remote-tracking branch 'origin/main' into v2.17.x

2 weeks agoMissing include. v2.16.87
Carl Hetherington [Tue, 11 Jun 2024 11:55:18 +0000 (13:55 +0200)]
Missing include.

2 weeks agoSupporters update.
Carl Hetherington [Tue, 18 Jun 2024 23:09:09 +0000 (01:09 +0200)]
Supporters update.

2 weeks agoFix build with some older boosts.
Carl Hetherington [Tue, 11 Jun 2024 18:16:25 +0000 (20:16 +0200)]
Fix build with some older boosts.

2 weeks agoBuild tests on Ubuntu 24.04.
Carl Hetherington [Tue, 18 Jun 2024 08:10:30 +0000 (10:10 +0200)]
Build tests on Ubuntu 24.04.

2 weeks agoAdd discouraging hint for MPEG2 (#2821).
Carl Hetherington [Tue, 18 Jun 2024 15:28:20 +0000 (17:28 +0200)]
Add discouraging hint for MPEG2 (#2821).

2 weeks agoFix "available space" count passed to snprintf (#2832).
Carl Hetherington [Mon, 17 Jun 2024 22:57:01 +0000 (00:57 +0200)]
Fix "available space" count passed to snprintf (#2832).

This is wrong (too big) and it causes an abort in some snprintf
checker on Ubuntu 24.04.

2 weeks agoSupporters update.
Carl Hetherington [Mon, 17 Jun 2024 23:07:46 +0000 (01:07 +0200)]
Supporters update.

2 weeks agoUpdated fr_FR translation from Lilian Lefranc.
Carl Hetherington [Mon, 17 Jun 2024 23:06:10 +0000 (01:06 +0200)]
Updated fr_FR translation from Lilian Lefranc.

3 weeks agoFix build with some older boosts. v2.17.18
Carl Hetherington [Tue, 11 Jun 2024 18:16:25 +0000 (20:16 +0200)]
Fix build with some older boosts.

3 weeks agoMerge branch 'main' into v2.17.x
Carl Hetherington [Tue, 11 Jun 2024 12:23:53 +0000 (14:23 +0200)]
Merge branch 'main' into v2.17.x

3 weeks agoSupporters update.
Carl Hetherington [Tue, 11 Jun 2024 12:23:39 +0000 (14:23 +0200)]
Supporters update.

3 weeks agoMissing include.
Carl Hetherington [Tue, 11 Jun 2024 11:55:18 +0000 (13:55 +0200)]
Missing include.

3 weeks agoMissing explicit.
Carl Hetherington [Mon, 10 Jun 2024 20:28:43 +0000 (22:28 +0200)]
Missing explicit.

3 weeks agoFall back to default font file if a font ID is not found in the content.
Carl Hetherington [Mon, 10 Jun 2024 19:39:34 +0000 (21:39 +0200)]
Fall back to default font file if a font ID is not found in the content.

This should not happen, but seems rather likely given the mess that is
building (especially with users switching between versions).

3 weeks agoSimplify the FontIDAllocator a lot (#2827).
Carl Hetherington [Sun, 9 Jun 2024 23:05:43 +0000 (01:05 +0200)]
Simplify the FontIDAllocator a lot (#2827).

This is at the expense of forward compatibility, and the need to
re-examine subtitle content (losing custom fonts as we do so).

But it does mean that the code is simpler, and there's not this weird
growth of IDs where a DCP gets imported with some font, and then the ID
becomes 0_font, and if you do it again it's 0_0_font, and so on.

3 weeks agoClarify some documentation slightly.
Carl Hetherington [Sun, 9 Jun 2024 23:04:16 +0000 (01:04 +0200)]
Clarify some documentation slightly.

4 weeks agoAdd comment.
Carl Hetherington [Sun, 9 Jun 2024 21:42:36 +0000 (23:42 +0200)]
Add comment.

4 weeks agoFix an erroneous font ID error that can happen when loading projects from builds...
Carl Hetherington [Sun, 9 Jun 2024 21:38:24 +0000 (23:38 +0200)]
Fix an erroneous font ID error that can happen when loading projects from builds without release version tags.

So that last_written_by_earlier_than() always returns true,
check_font_ids() happens when it doesn't really need to.

4 weeks agoCleanup: text is a vector now.
Carl Hetherington [Sun, 9 Jun 2024 21:36:58 +0000 (23:36 +0200)]
Cleanup: text is a vector now.

4 weeks agoStop weird names appearing when the user clicks "copy as name" twice.
Carl Hetherington [Sun, 9 Jun 2024 18:20:13 +0000 (20:20 +0200)]
Stop weird names appearing when the user clicks "copy as name" twice.

4 weeks agoCleanup: substr() can accept npos for the second parameter.
Carl Hetherington [Sun, 9 Jun 2024 18:19:47 +0000 (20:19 +0200)]
Cleanup: substr() can accept npos for the second parameter.

4 weeks agoAdd option to copy content settings from another project (#2808).
Carl Hetherington [Sat, 8 Jun 2024 22:41:04 +0000 (00:41 +0200)]
Add option to copy content settings from another project (#2808).

4 weeks agoBump libdcp for asdcplib assertion fix (#2825).
Carl Hetherington [Sat, 8 Jun 2024 21:29:56 +0000 (23:29 +0200)]
Bump libdcp for asdcplib assertion fix (#2825).

4 weeks agoOnly allow adding reels in custom reel mode (#2823).
Carl Hetherington [Sat, 8 Jun 2024 18:21:37 +0000 (20:21 +0200)]
Only allow adding reels in custom reel mode (#2823).

4 weeks agoMerge remote-tracking branch 'origin/main' into v2.17.x
Carl Hetherington [Sat, 8 Jun 2024 18:18:40 +0000 (20:18 +0200)]
Merge remote-tracking branch 'origin/main' into v2.17.x

4 weeks agoMerge remote-tracking branch 'origin/main' into v2.17.x
Carl Hetherington [Sat, 8 Jun 2024 18:17:43 +0000 (20:17 +0200)]
Merge remote-tracking branch 'origin/main' into v2.17.x

4 weeks agoFix font ID allocation from DCP when there are subs and ccaps using the same IDs...
Carl Hetherington [Fri, 7 Jun 2024 19:09:03 +0000 (21:09 +0200)]
Fix font ID allocation from DCP when there are subs and ccaps using the same IDs (#2822).

Previously we would always use <last-reel+1>_id as a disambiguated ID
for every case.

4 weeks agoSupport optimised rendering of YUV420P in OpenGL.
Carl Hetherington [Thu, 6 Jun 2024 19:17:56 +0000 (21:17 +0200)]
Support optimised rendering of YUV420P in OpenGL.

4 weeks agoStore the video encoding of a DCP in the metadata (J2K/MPEG2).
Carl Hetherington [Thu, 6 Jun 2024 19:16:54 +0000 (21:16 +0200)]
Store the video encoding of a DCP in the metadata (J2K/MPEG2).

4 weeks agoMake sure MPEG2 encodes are always 2K (#2819).
Carl Hetherington [Tue, 4 Jun 2024 19:18:28 +0000 (21:18 +0200)]
Make sure MPEG2 encodes are always 2K (#2819).

4 weeks agoAdd an option to dump the decryption certificate from the KDM CLI.
Carl Hetherington [Tue, 4 Jun 2024 19:01:53 +0000 (21:01 +0200)]
Add an option to dump the decryption certificate from the KDM CLI.

4 weeks agoAdd $png_apps variable.
Carl Hetherington [Mon, 3 Jun 2024 20:48:04 +0000 (22:48 +0200)]
Add $png_apps variable.

5 weeks agoBump test/data for another subtitle rendering reference fix.
Carl Hetherington [Sun, 2 Jun 2024 18:57:30 +0000 (20:57 +0200)]
Bump test/data for another subtitle rendering reference fix.

5 weeks agoMerge remote-tracking branch 'origin/main' into v2.17.x
Carl Hetherington [Fri, 31 May 2024 21:20:21 +0000 (23:20 +0200)]
Merge remote-tracking branch 'origin/main' into v2.17.x

5 weeks agoMake the DCP-encode counting dependent on variant.
Carl Hetherington [Fri, 31 May 2024 08:59:48 +0000 (10:59 +0200)]
Make the DCP-encode counting dependent on variant.

5 weeks agoFix incorrect default _show_report_a_problem.
Carl Hetherington [Fri, 31 May 2024 08:49:52 +0000 (10:49 +0200)]
Fix incorrect default _show_report_a_problem.

5 weeks agoSupporters update. v2.16.86
Carl Hetherington [Thu, 30 May 2024 18:02:10 +0000 (20:02 +0200)]
Supporters update.

5 weeks agoRender subtitles using show_in_cairo_context() instead of add_to_cairo_context().
Carl Hetherington [Sun, 19 May 2024 20:33:44 +0000 (22:33 +0200)]
Render subtitles using show_in_cairo_context() instead of add_to_cairo_context().

This helps with #2813 and should fix #2474.

We started using add_to_cairo_context() again in
72c3a5f0f32f553a1f8abee2494f31d29b976383
because the rendering looked better.  However colour changes within
lines cannot easily be rendered using add_to_cairo_context() it seems,
as the text is just added as a path and then you can stroke/fill it
with a single colour.

I hope that this change, which reverts 72c3a5 but also adds some calls
to enable hinting and use better anti-aliasing, looks OK.  I looked
at some white-on-black subs close-up and the hinting seems to help.

5 weeks agoFix merge.
Carl Hetherington [Wed, 29 May 2024 19:21:29 +0000 (21:21 +0200)]
Fix merge.

5 weeks agoMerge remote-tracking branch 'origin/main' into v2.17.x
Carl Hetherington [Wed, 29 May 2024 19:12:17 +0000 (21:12 +0200)]
Merge remote-tracking branch 'origin/main' into v2.17.x

5 weeks agoBump SERVER_LINK_VERSION since we changed the name of some metadata.
Carl Hetherington [Wed, 29 May 2024 13:02:54 +0000 (15:02 +0200)]
Bump SERVER_LINK_VERSION since we changed the name of some metadata.

5 weeks agoHide some warnings.
Carl Hetherington [Wed, 29 May 2024 12:54:38 +0000 (14:54 +0200)]
Hide some warnings.

5 weeks agoUse territory details from template.
Carl Hetherington [Thu, 9 May 2024 21:01:08 +0000 (23:01 +0200)]
Use territory details from template.

5 weeks agoGet chain, facility, studio and distributor from template.
Carl Hetherington [Thu, 9 May 2024 20:46:59 +0000 (22:46 +0200)]
Get chain, facility, studio and distributor from template.

5 weeks agoRemove default Interop/SMPTE setting.
Carl Hetherington [Thu, 9 May 2024 20:20:53 +0000 (22:20 +0200)]
Remove default Interop/SMPTE setting.

5 weeks agoRemove default video bit rate settings.
Carl Hetherington [Thu, 9 May 2024 20:13:15 +0000 (22:13 +0200)]
Remove default video bit rate settings.

5 weeks agoRemove default DCP audio channel setting.
Carl Hetherington [Thu, 9 May 2024 20:03:01 +0000 (22:03 +0200)]
Remove default DCP audio channel setting.

5 weeks agoRemove default DCP content type setting.
Carl Hetherington [Thu, 9 May 2024 19:56:07 +0000 (21:56 +0200)]
Remove default DCP content type setting.

5 weeks agoUse ConfigRestorer to reset override_path after use.
Carl Hetherington [Sat, 25 May 2024 18:21:27 +0000 (20:21 +0200)]
Use ConfigRestorer to reset override_path after use.

6 weeks agoNote that newer libsub version is required.
Carl Hetherington [Sun, 26 May 2024 19:48:27 +0000 (20:48 +0100)]
Note that newer libsub version is required.

6 weeks agoFix build with newer libsub.
Carl Hetherington [Sun, 26 May 2024 19:47:56 +0000 (20:47 +0100)]
Fix build with newer libsub.

6 weeks agoImprove save-template dialog and always use a default template.
Carl Hetherington [Thu, 9 May 2024 19:33:56 +0000 (21:33 +0200)]
Improve save-template dialog and always use a default template.

6 weeks agoUse std::vector for Config::templates().
Carl Hetherington [Thu, 9 May 2024 19:33:19 +0000 (21:33 +0200)]
Use std::vector for Config::templates().

6 weeks agoCleanup: make method private.
Carl Hetherington [Thu, 9 May 2024 19:33:00 +0000 (21:33 +0200)]
Cleanup: make method private.

6 weeks agoRead 16-bit audio DCPs correctly.
Carl Hetherington [Fri, 24 May 2024 21:50:03 +0000 (23:50 +0200)]
Read 16-bit audio DCPs correctly.

As far as I can tell they are totally non-standard, but apparently
the IMS3000 plays them so I guess we should too.

6 weeks agoVerify that DCPs have 24-bit audio.
Carl Hetherington [Fri, 24 May 2024 21:49:32 +0000 (23:49 +0200)]
Verify that DCPs have 24-bit audio.

6 weeks agoDon't repeat the same error/warning more than once.
Carl Hetherington [Fri, 24 May 2024 20:12:32 +0000 (22:12 +0200)]
Don't repeat the same error/warning more than once.

6 weeks agoFix some incorrect verification messages.
Carl Hetherington [Fri, 24 May 2024 19:01:42 +0000 (21:01 +0200)]
Fix some incorrect verification messages.

6 weeks agoBump libsub for SSA Margin{L,R} support (#2811).
Carl Hetherington [Wed, 22 May 2024 21:31:37 +0000 (23:31 +0200)]
Bump libsub for SSA Margin{L,R} support (#2811).

This also pulls in a colour fix for binary STL but the colours are
not yet visible in the preview due to another bug.

6 weeks agoRename new_test_film2 -> new_test_film.
Carl Hetherington [Mon, 20 May 2024 14:55:57 +0000 (16:55 +0200)]
Rename new_test_film2 -> new_test_film.

6 weeks agoReplace all new_test_film with new_test_film2.
Carl Hetherington [Mon, 20 May 2024 14:54:37 +0000 (16:54 +0200)]
Replace all new_test_film with new_test_film2.