dcpomatic.git
2 years agoAccount for DPI scale factors when calculating some sizes (#2118). v2.15.173
Carl Hetherington [Thu, 11 Nov 2021 21:15:47 +0000 (22:15 +0100)]
Account for DPI scale factors when calculating some sizes (#2118).

2 years agoFix failure to load DCPs from SMB shares (#2123).
Carl Hetherington [Sat, 13 Nov 2021 22:42:46 +0000 (23:42 +0100)]
Fix failure to load DCPs from SMB shares (#2123).

2 years agoRemove setuid root and use setcap instead in RPM packages.
Carl Hetherington [Sat, 13 Nov 2021 18:43:19 +0000 (19:43 +0100)]
Remove setuid root and use setcap instead in RPM packages.

2 years agoPulse the progress bar 'automatically' if we haven't had a progress update for a...
Carl Hetherington [Thu, 4 Nov 2021 22:44:11 +0000 (23:44 +0100)]
Pulse the progress bar 'automatically' if we haven't had a progress update for a while.

Should help with #2119.

2 years agoAdd Job::seconds_since_last_progress_update().
Carl Hetherington [Thu, 4 Nov 2021 22:43:54 +0000 (23:43 +0100)]
Add Job::seconds_since_last_progress_update().

2 years agoCleanup: use seconds() method.
Carl Hetherington [Thu, 4 Nov 2021 22:25:21 +0000 (23:25 +0100)]
Cleanup: use seconds() method.

2 years agoOnly look for tags which start with v
Carl Hetherington [Fri, 12 Nov 2021 12:23:01 +0000 (13:23 +0100)]
Only look for tags which start with v

2 years agoRemove player activity logging. Fixes #2122.
Carl Hetherington [Thu, 11 Nov 2021 21:49:34 +0000 (22:49 +0100)]
Remove player activity logging.  Fixes #2122.

If I remember right this was for swaroop and I suspect nobody else
is really interested.

2 years agoBump libdcp for fix to closed caption line length verification.
Carl Hetherington [Tue, 9 Nov 2021 22:52:25 +0000 (23:52 +0100)]
Bump libdcp for fix to closed caption line length verification.

2 years agoSupporters update. v2.15.172
Carl Hetherington [Fri, 5 Nov 2021 06:43:13 +0000 (07:43 +0100)]
Supporters update.

2 years agoInclude subscribers / supporters in git.
Carl Hetherington [Thu, 4 Nov 2021 18:29:50 +0000 (19:29 +0100)]
Include subscribers / supporters in git.

The need for network access part-way through a build causes loads
of annoying CI failures.

2 years agoMake the prefs window a little wider on macOS to (hopefully) fit all the icons in...
Carl Hetherington [Thu, 4 Nov 2021 11:51:49 +0000 (12:51 +0100)]
Make the prefs window a little wider on macOS to (hopefully) fit all the icons in (#2117).

2 years agoStop some tests from writing things to test/data.
Carl Hetherington [Wed, 3 Nov 2021 13:24:58 +0000 (14:24 +0100)]
Stop some tests from writing things to test/data.

2 years agoRun one test with fewer cores to stop it running out of memory on a 16-core 16Gb...
Carl Hetherington [Wed, 3 Nov 2021 10:27:14 +0000 (11:27 +0100)]
Run one test with fewer cores to stop it running out of memory on a 16-core 16Gb machine.

2 years agoAdd ConfigRestorer and use it instead of setup_test_config() directly.
Carl Hetherington [Tue, 2 Nov 2021 22:14:04 +0000 (23:14 +0100)]
Add ConfigRestorer and use it instead of setup_test_config() directly.

2 years agoClarify that in this get_reel_assets() the content and film frame rates will be the...
Carl Hetherington [Tue, 2 Nov 2021 14:08:29 +0000 (15:08 +0100)]
Clarify that in this get_reel_assets() the content and film frame rates will be the same.

2 years agoBail early if nothing can be referenced from this content.
Carl Hetherington [Tue, 2 Nov 2021 14:08:05 +0000 (15:08 +0100)]
Bail early if nothing can be referenced from this content.

2 years agoCleanup variable name: k -> reel
Carl Hetherington [Tue, 2 Nov 2021 14:07:53 +0000 (15:07 +0100)]
Cleanup variable name: k -> reel

2 years agoFix errors when referencing trimmed DCPs (#2116).
Carl Hetherington [Tue, 2 Nov 2021 13:55:45 +0000 (14:55 +0100)]
Fix errors when referencing trimmed DCPs (#2116).

2 years agoCleanup: use a variable we already made.
Carl Hetherington [Tue, 2 Nov 2021 13:36:35 +0000 (14:36 +0100)]
Cleanup: use a variable we already made.

2 years agoCleanup variable name: l -> caption
Carl Hetherington [Tue, 2 Nov 2021 13:21:14 +0000 (14:21 +0100)]
Cleanup variable name: l -> caption

2 years agoCleanup variable name: k -> reel
Carl Hetherington [Tue, 2 Nov 2021 13:18:15 +0000 (14:18 +0100)]
Cleanup variable name: k -> reel

2 years agoCleanup variable name: j -> dcp
Carl Hetherington [Tue, 2 Nov 2021 13:15:41 +0000 (14:15 +0100)]
Cleanup variable name: j -> dcp

2 years agoCleanup variable name: i -> content
Carl Hetherington [Tue, 2 Nov 2021 13:13:22 +0000 (14:13 +0100)]
Cleanup variable name: i -> content

2 years agoCleanup variable name: a -> reel_assets
Carl Hetherington [Tue, 2 Nov 2021 13:11:54 +0000 (14:11 +0100)]
Cleanup variable name: a -> reel_assets

2 years agoAdd failing test.
Carl Hetherington [Mon, 1 Nov 2021 22:37:36 +0000 (23:37 +0100)]
Add failing test.

2 years agoTidying.
Carl Hetherington [Mon, 1 Nov 2021 22:37:30 +0000 (23:37 +0100)]
Tidying.

2 years agoFix typo in dcpomatic_kdm_cli help.
Carl Hetherington [Mon, 1 Nov 2021 14:39:01 +0000 (15:39 +0100)]
Fix typo in dcpomatic_kdm_cli help.

2 years agoDon't fail the transcode job if we can't write analytics.
Carl Hetherington [Fri, 29 Oct 2021 10:56:08 +0000 (12:56 +0200)]
Don't fail the transcode job if we can't write analytics.

2 years agoManual tweak.
Carl Hetherington [Wed, 27 Oct 2021 22:00:53 +0000 (00:00 +0200)]
Manual tweak.

2 years agoManual tweaks.
Carl Hetherington [Wed, 27 Oct 2021 21:47:23 +0000 (23:47 +0200)]
Manual tweaks.

2 years agoAdd a new test for subtitle timing when changing frame rate.
Carl Hetherington [Wed, 27 Oct 2021 21:23:26 +0000 (23:23 +0200)]
Add a new test for subtitle timing when changing frame rate.

2 years agoManual tweaks.
Carl Hetherington [Tue, 26 Oct 2021 22:18:13 +0000 (00:18 +0200)]
Manual tweaks.

2 years agoUpdated nl_NL translation from Rob van Nieuwkerk.
Carl Hetherington [Mon, 25 Oct 2021 20:49:09 +0000 (22:49 +0200)]
Updated nl_NL translation from Rob van Nieuwkerk.

2 years agoFix position of content outline (#2108). v2.15.171
Carl Hetherington [Mon, 25 Oct 2021 08:31:43 +0000 (10:31 +0200)]
Fix position of content outline (#2108).

2 years agoIf there is no end time in an AVSubtitle it seems we should use the AVPacket's duration.
Carl Hetherington [Sun, 24 Oct 2021 22:41:42 +0000 (00:41 +0200)]
If there is no end time in an AVSubtitle it seems we should use the AVPacket's duration.

This fixes #2110.  I don't have a particular justification for it being
the right thing to do.

2 years agoFix fade factor calculation when there is no end time.
Carl Hetherington [Sun, 24 Oct 2021 22:40:30 +0000 (00:40 +0200)]
Fix fade factor calculation when there is no end time.

In this case we can't do any fade out.

2 years agoFix missing verification messages.
Carl Hetherington [Sun, 24 Oct 2021 23:13:55 +0000 (01:13 +0200)]
Fix missing verification messages.

2 years agoBump libdcp to 1.8.4 for caption ordering fix (#2106).
Carl Hetherington [Sun, 24 Oct 2021 19:06:54 +0000 (21:06 +0200)]
Bump libdcp to 1.8.4 for caption ordering fix (#2106).

2 years agoUpdated nl_NL translation from Rob van Nieuwkerk.
Carl Hetherington [Sat, 23 Oct 2021 19:33:23 +0000 (21:33 +0200)]
Updated nl_NL translation from Rob van Nieuwkerk.

2 years agoUpdated es_ES translation from Manuel AC.
Carl Hetherington [Mon, 18 Oct 2021 05:56:01 +0000 (07:56 +0200)]
Updated es_ES translation from Manuel AC.

2 years agoFix caption in manual.
Carl Hetherington [Sun, 17 Oct 2021 21:36:12 +0000 (23:36 +0200)]
Fix caption in manual.

2 years agoMissing entry in Makefile.
Carl Hetherington [Sun, 17 Oct 2021 21:36:07 +0000 (23:36 +0200)]
Missing entry in Makefile.

2 years agoMove some screenshots to the right place.
Carl Hetherington [Sun, 17 Oct 2021 21:33:55 +0000 (23:33 +0200)]
Move some screenshots to the right place.

2 years agoRevert "Add the PDF screenshots to git; I don't know why they weren't added before."
Carl Hetherington [Sun, 17 Oct 2021 21:33:21 +0000 (23:33 +0200)]
Revert "Add the PDF screenshots to git; I don't know why they weren't added before."

This reverts commit 6ec5bbc84d6c1383c599daf52e3e9fef23c6ce34.  PDF
screenshots are supposed to be in raw-screenshots.

2 years agoManual tweaks.
Carl Hetherington [Sun, 17 Oct 2021 21:15:43 +0000 (23:15 +0200)]
Manual tweaks.

2 years agoAdd a --screenshot option to the disk writer run file.
Carl Hetherington [Sun, 17 Oct 2021 20:54:02 +0000 (22:54 +0200)]
Add a --screenshot option to the disk writer run file.

2 years agoTalk about Disk Writer in the manual.
Carl Hetherington [Sun, 17 Oct 2021 20:53:51 +0000 (22:53 +0200)]
Talk about Disk Writer in the manual.

2 years agoManual tweaks.
Carl Hetherington [Sun, 17 Oct 2021 20:53:37 +0000 (22:53 +0200)]
Manual tweaks.

2 years agoAdd the PDF screenshots to git; I don't know why they weren't added before.
Carl Hetherington [Sun, 17 Oct 2021 20:53:05 +0000 (22:53 +0200)]
Add the PDF screenshots to git; I don't know why they weren't added before.

2 years agoBasic and slightly inaccurate support for <Space> in subtitles (#2103). v2.15.170
Carl Hetherington [Fri, 15 Oct 2021 20:25:42 +0000 (22:25 +0200)]
Basic and slightly inaccurate support for <Space> in subtitles (#2103).

Adding horizontal space to a Pango layout is hard, and I think this
change probably gets it slightly wrong, but it's a step in the right
direction.

2 years agoMove some functions up the file so we can use them.
Carl Hetherington [Sat, 16 Oct 2021 20:17:24 +0000 (22:17 +0200)]
Move some functions up the file so we can use them.

2 years agopot/merge.
Carl Hetherington [Sun, 17 Oct 2021 13:26:23 +0000 (15:26 +0200)]
pot/merge.

2 years agoFix some markup quotation marks.
Carl Hetherington [Sun, 17 Oct 2021 13:19:40 +0000 (15:19 +0200)]
Fix some markup quotation marks.

2 years agoUpgrade the disk writer warning (#1971).
Carl Hetherington [Sun, 17 Oct 2021 13:18:33 +0000 (15:18 +0200)]
Upgrade the disk writer warning (#1971).

2 years agoFix error when editing colours in locales with , as a decimal separator.
Carl Hetherington [Sat, 16 Oct 2021 17:53:26 +0000 (19:53 +0200)]
Fix error when editing colours in locales with , as a decimal separator.

2 years agoAlways block waiting for audio when exporting. v2.15.169
Carl Hetherington [Fri, 15 Oct 2021 20:33:46 +0000 (22:33 +0200)]
Always block waiting for audio when exporting.

Otherwise if there is non available we'll insert silence and potentially
push the audio out of sync (late).  May help with #2098.

2 years agoUse an enum instead of a bool to specify blocking/non-blocking.
Carl Hetherington [Fri, 15 Oct 2021 20:26:47 +0000 (22:26 +0200)]
Use an enum instead of a bool to specify blocking/non-blocking.

2 years agoAdd comment.
Carl Hetherington [Fri, 15 Oct 2021 20:16:13 +0000 (22:16 +0200)]
Add comment.

2 years agoIgnore audio streams that fall too far behind (#2101).
Carl Hetherington [Thu, 14 Oct 2021 22:30:44 +0000 (00:30 +0200)]
Ignore audio streams that fall too far behind (#2101).

2 years agoFix test logging setup to actually work.
Carl Hetherington [Thu, 14 Oct 2021 22:30:27 +0000 (00:30 +0200)]
Fix test logging setup to actually work.

2 years agoAdd a failing test.
Carl Hetherington [Tue, 12 Oct 2021 22:16:15 +0000 (00:16 +0200)]
Add a failing test.

2 years agoCleanup some unused usings.
Carl Hetherington [Tue, 12 Oct 2021 22:16:10 +0000 (00:16 +0200)]
Cleanup some unused usings.

2 years agoRemove manual stuff about the hidden upmixers.
Carl Hetherington [Wed, 13 Oct 2021 21:56:32 +0000 (23:56 +0200)]
Remove manual stuff about the hidden upmixers.

2 years agoDon't allow negative trims to be set up via changes to play length (#2105). v2.15.168
Carl Hetherington [Wed, 13 Oct 2021 19:21:27 +0000 (21:21 +0200)]
Don't allow negative trims to be set up via changes to play length (#2105).

2 years agoAdd some asserts to check for negative trims.
Carl Hetherington [Wed, 13 Oct 2021 19:21:10 +0000 (21:21 +0200)]
Add some asserts to check for negative trims.

2 years agoIgnore errors from avcodec_send_packet.
Carl Hetherington [Wed, 13 Oct 2021 13:50:13 +0000 (15:50 +0200)]
Ignore errors from avcodec_send_packet.

After seeking it appears that we often get irrelevant errors from this
method.  ffplay.c seems to ignore them, and this commit means that
we do too (just logging them).

I think these errors during a non-seeking "encoding" run could be
cause for concern; perhaps we should take more note of them in that
case.

2 years agoIgnore .AppleDouble folders inside DCPs.
Carl Hetherington [Tue, 12 Oct 2021 12:19:13 +0000 (14:19 +0200)]
Ignore .AppleDouble folders inside DCPs.

2 years agoHopefully fix race between thread finishing and cleanup being run (#2100).
Carl Hetherington [Mon, 11 Oct 2021 22:13:25 +0000 (00:13 +0200)]
Hopefully fix race between thread finishing and cleanup being run (#2100).

2 years agoDon't throw an error when the Butler says it is finished (#2097).
Carl Hetherington [Mon, 11 Oct 2021 08:51:43 +0000 (10:51 +0200)]
Don't throw an error when the Butler says it is finished (#2097).

2 years agoCleanup: use enum class.
Carl Hetherington [Mon, 11 Oct 2021 10:27:22 +0000 (12:27 +0200)]
Cleanup: use enum class.

2 years agoFix a test reference to account for windows filename slashes.
Carl Hetherington [Sun, 10 Oct 2021 10:18:11 +0000 (12:18 +0200)]
Fix a test reference to account for windows filename slashes.

2 years agoDon't ignore font settings for DCP subtitles (#2074). v2.15.167
Carl Hetherington [Fri, 8 Oct 2021 21:31:24 +0000 (23:31 +0200)]
Don't ignore font settings for DCP subtitles (#2074).

2 years agoAdd comment.
Carl Hetherington [Fri, 8 Oct 2021 21:30:49 +0000 (23:30 +0200)]
Add comment.

2 years agoCleanup some unused using statements and other bits.
Carl Hetherington [Fri, 8 Oct 2021 21:29:32 +0000 (23:29 +0200)]
Cleanup some unused using statements and other bits.

2 years agoBump libdcp to 1.8.2 for fix when adding KDMs to VFs.
Carl Hetherington [Fri, 8 Oct 2021 10:54:15 +0000 (12:54 +0200)]
Bump libdcp to 1.8.2 for fix when adding KDMs to VFs.

2 years agoMore logging in the DCPExaminer.
Carl Hetherington [Thu, 7 Oct 2021 19:00:11 +0000 (21:00 +0200)]
More logging in the DCPExaminer.

2 years agoC++11 tidying.
Carl Hetherington [Thu, 7 Oct 2021 18:59:35 +0000 (20:59 +0200)]
C++11 tidying.

2 years agoUpdate manual per #2068.
Carl Hetherington [Fri, 8 Oct 2021 23:45:10 +0000 (01:45 +0200)]
Update manual per #2068.

2 years agoSome manual tidying.
Carl Hetherington [Thu, 7 Oct 2021 21:05:19 +0000 (23:05 +0200)]
Some manual tidying.

2 years agoFix manual build with libdcp dependency.
Carl Hetherington [Tue, 5 Oct 2021 23:31:49 +0000 (01:31 +0200)]
Fix manual build with libdcp dependency.

2 years agoBump libdcp (with corresponding libsub bump) for small verification fix.
Carl Hetherington [Thu, 7 Oct 2021 20:53:59 +0000 (22:53 +0200)]
Bump libdcp (with corresponding libsub bump) for small verification fix.

2 years agoAdd some details about verification to the manual.
Carl Hetherington [Tue, 5 Oct 2021 23:16:28 +0000 (01:16 +0200)]
Add some details about verification to the manual.

2 years agoDon't scale chroma subsampled images to sizes that don't align with the subsampling... v2.15.166
Carl Hetherington [Sun, 3 Oct 2021 19:22:14 +0000 (21:22 +0200)]
Don't scale chroma subsampled images to sizes that don't align with the subsampling (#1872).

There's a slightly odd effect when scaling e.g. YVU420 images to
odd and then even widths - there's a small but visible luminance
shift.  I don't know why this happens, but keeping the scaling
sizes locked to the subsampling seems to help.

2 years agoDifferentiate requested and actual crop.
Carl Hetherington [Sun, 3 Oct 2021 18:53:44 +0000 (20:53 +0200)]
Differentiate requested and actual crop.

This is so we limit cropping to what is possible considering
chroma subsampling.

2 years agoAdd PixelQuanta to VideoContent.
Carl Hetherington [Sun, 3 Oct 2021 00:02:12 +0000 (02:02 +0200)]
Add PixelQuanta to VideoContent.

2 years agoDon't build Disk Writer for appimage.
Carl Hetherington [Sun, 3 Oct 2021 21:05:56 +0000 (23:05 +0200)]
Don't build Disk Writer for appimage.

Threads like
https://discourse.appimage.org/t/nosuid-fuse-mount-option-deactivates-capabilities/1652/1
suggest that using capabilities with AppImage is not possible, so making
things work will be a bit more work than I want to get into before
2.16.0.

2 years agoUpdated it_IT translation from Riccardo Mantani.
Carl Hetherington [Sun, 3 Oct 2021 20:54:31 +0000 (22:54 +0200)]
Updated it_IT translation from Riccardo Mantani.

2 years agoRequire libsub v1.6.0.
Carl Hetherington [Sun, 3 Oct 2021 20:32:51 +0000 (22:32 +0200)]
Require libsub v1.6.0.

2 years agoRequire libdcp v1.8.0 to fix SMPTE sub XML namespaces (#2061).
Carl Hetherington [Sun, 3 Oct 2021 20:29:35 +0000 (22:29 +0200)]
Require libdcp v1.8.0 to fix SMPTE sub XML namespaces (#2061).

2 years agoRemove unused using statement.
Carl Hetherington [Sun, 3 Oct 2021 20:14:21 +0000 (22:14 +0200)]
Remove unused using statement.

2 years agoAlways call ::draw() even when we have no image.
Carl Hetherington [Sun, 3 Oct 2021 19:46:07 +0000 (21:46 +0200)]
Always call ::draw() even when we have no image.

Otherwise the screen doesn't get cleared properly when no film is
loaded.

2 years agoRemove unused parameters.
Carl Hetherington [Sun, 3 Oct 2021 19:45:12 +0000 (21:45 +0200)]
Remove unused parameters.

2 years agoFix subtitle positioning and centering of the DCP frame in the window. v2.15.165
Carl Hetherington [Fri, 1 Oct 2021 19:10:24 +0000 (21:10 +0200)]
Fix subtitle positioning and centering of the DCP frame in the window.

Also tidy up a bit with the Rectangle class.

2 years agoChange glLineWidth from 2.0 -> 1.0. v2.15.164
Carl Hetherington [Thu, 30 Sep 2021 22:37:33 +0000 (00:37 +0200)]
Change glLineWidth from 2.0 -> 1.0.

Apparently a line width of greater than 1.0 is not allowed
in some versions of OpenGL.

2 years agoMissing check_gl_error() calls.
Carl Hetherington [Thu, 30 Sep 2021 22:37:14 +0000 (00:37 +0200)]
Missing check_gl_error() calls.

2 years agoOnly support GLVideoView when building with wxWidgets >= 3.1.0.
Carl Hetherington [Wed, 29 Sep 2021 10:33:08 +0000 (12:33 +0200)]
Only support GLVideoView when building with wxWidgets >= 3.1.0.

2 years agoFix tests. v2.15.163
Carl Hetherington [Mon, 27 Sep 2021 21:58:27 +0000 (23:58 +0200)]
Fix tests.

2 years agoMerge branch 'better-gl' into v2.15.x
Carl Hetherington [Mon, 27 Sep 2021 11:43:19 +0000 (13:43 +0200)]
Merge branch 'better-gl' into v2.15.x

This changes the GL video view to use more modern GL (GLSL etc.)  It
also special-cases JPEG2000 video playback and does scaling and
colourspace conversion on the GPU.

2 years agoTest fixes. better-gl
Carl Hetherington [Thu, 23 Sep 2021 21:54:32 +0000 (23:54 +0200)]
Test fixes.