dcpomatic.git
2 years agoExtract marker strings out to a separate method.
Carl Hetherington [Sat, 15 Jan 2022 20:42:37 +0000 (21:42 +0100)]
Extract marker strings out to a separate method.

2 years agoDon't offer the tr_TR translation as it is very limited.
Carl Hetherington [Thu, 13 Jan 2022 22:31:25 +0000 (23:31 +0100)]
Don't offer the tr_TR translation as it is very limited.

2 years agoSupporters update.
Carl Hetherington [Wed, 12 Jan 2022 20:10:02 +0000 (21:10 +0100)]
Supporters update.

2 years agoFix failure to decode multiple video frames from one packet (#2159).
Carl Hetherington [Tue, 11 Jan 2022 15:42:30 +0000 (16:42 +0100)]
Fix failure to decode multiple video frames from one packet (#2159).

2 years agoCleanup: move some stuff into process_video_frame().
Carl Hetherington [Tue, 11 Jan 2022 15:38:13 +0000 (16:38 +0100)]
Cleanup: move some stuff into process_video_frame().

2 years agoUse a separate AVFrame for each stream when decoding.
Carl Hetherington [Tue, 11 Jan 2022 15:34:26 +0000 (16:34 +0100)]
Use a separate AVFrame for each stream when decoding.

This seems to be what ffplay does and it feels like it makes sense
as frames may be built from multiple packets AFAICS.

2 years agoComment typo.
Carl Hetherington [Mon, 10 Jan 2022 11:52:36 +0000 (12:52 +0100)]
Comment typo.

2 years agofilmsum tweaks.
Carl Hetherington [Mon, 10 Jan 2022 11:52:18 +0000 (12:52 +0100)]
filmsum tweaks.

2 years agoFix crashes when using kdm_cli with a certificate instead of a cinema.
Carl Hetherington [Sun, 9 Jan 2022 21:24:06 +0000 (22:24 +0100)]
Fix crashes when using kdm_cli with a certificate instead of a cinema.

2 years agoAllow tests to run kdm_cli().
Carl Hetherington [Sun, 9 Jan 2022 21:23:09 +0000 (22:23 +0100)]
Allow tests to run kdm_cli().

2 years agoReplace %c with nothing in KDM filenames if the cinema is not known.
Carl Hetherington [Sun, 9 Jan 2022 20:49:58 +0000 (21:49 +0100)]
Replace %c with nothing in KDM filenames if the cinema is not known.

2 years agoImprove verbose output when writing to the current directory.
Carl Hetherington [Sun, 9 Jan 2022 20:42:55 +0000 (21:42 +0100)]
Improve verbose output when writing to the current directory.

2 years agoAllow control of where KDM CLI's output goes.
Carl Hetherington [Sun, 9 Jan 2022 20:40:28 +0000 (21:40 +0100)]
Allow control of where KDM CLI's output goes.

2 years agoUse cout for help.
Carl Hetherington [Sun, 9 Jan 2022 20:21:54 +0000 (21:21 +0100)]
Use cout for help.

2 years agoUse exceptions to handle errors in the KDM CLI.
Carl Hetherington [Sun, 9 Jan 2022 20:17:47 +0000 (21:17 +0100)]
Use exceptions to handle errors in the KDM CLI.

2 years agoMove KDM CLI tool into lib/
Carl Hetherington [Sun, 9 Jan 2022 20:01:39 +0000 (21:01 +0100)]
Move KDM CLI tool into lib/

2 years agoRemove unnecessary exit().
Carl Hetherington [Sun, 9 Jan 2022 19:06:15 +0000 (20:06 +0100)]
Remove unnecessary exit().

2 years agoFix tests broken in 89d4090c
Carl Hetherington [Mon, 10 Jan 2022 09:00:00 +0000 (10:00 +0100)]
Fix tests broken in 89d4090c

2 years agoSpeed up hints tests by not running a pointless audio analysis.
Carl Hetherington [Sun, 9 Jan 2022 22:44:00 +0000 (23:44 +0100)]
Speed up hints tests by not running a pointless audio analysis.

2 years agoFix misleading it_IT translation (thanks Fabrizio Carraro)
Carl Hetherington [Sun, 9 Jan 2022 15:40:33 +0000 (16:40 +0100)]
Fix misleading it_IT translation (thanks Fabrizio Carraro)

2 years agoTidying.
Carl Hetherington [Sun, 9 Jan 2022 15:29:21 +0000 (16:29 +0100)]
Tidying.

2 years agoC++11 tidying.
Carl Hetherington [Sat, 8 Jan 2022 12:30:41 +0000 (13:30 +0100)]
C++11 tidying.

2 years agoC++11 tidying.
Carl Hetherington [Sat, 8 Jan 2022 11:56:05 +0000 (12:56 +0100)]
C++11 tidying.

2 years agoC++11 tidying.
Carl Hetherington [Fri, 7 Jan 2022 22:22:48 +0000 (23:22 +0100)]
C++11 tidying.

2 years agoAllow 96kHz audio as an advanced option (#1789).
Carl Hetherington [Tue, 4 Jan 2022 23:33:28 +0000 (23:33 +0000)]
Allow 96kHz audio as an advanced option (#1789).

2 years agoUpdate to FFmpeg 4.4.1 "Rao".
Carl Hetherington [Sun, 2 Jan 2022 00:28:17 +0000 (00:28 +0000)]
Update to FFmpeg 4.4.1 "Rao".

2 years agoFix creation of dcpdig files in projects that make VFs (#2109).
Carl Hetherington [Mon, 3 Jan 2022 00:11:16 +0000 (00:11 +0000)]
Fix creation of dcpdig files in projects that make VFs (#2109).

Previously we would always get keys from the project which was
wrong with assets that already have their own key.

2 years agoRemove DCP class and replace its functionality with a plain method in libdcp.
Carl Hetherington [Mon, 3 Jan 2022 00:10:43 +0000 (00:10 +0000)]
Remove DCP class and replace its functionality with a plain method in libdcp.

2 years agoHappy new year.
Carl Hetherington [Sat, 1 Jan 2022 01:14:10 +0000 (01:14 +0000)]
Happy new year.

2 years agoDon't try to call setcap on a non-existant disk writer binary.
Carl Hetherington [Fri, 31 Dec 2021 21:14:14 +0000 (21:14 +0000)]
Don't try to call setcap on a non-existant disk writer binary.

2 years agoTry to fix failure to download .debs when building appimage.
Carl Hetherington [Fri, 31 Dec 2021 20:23:47 +0000 (20:23 +0000)]
Try to fix failure to download .debs when building appimage.

2 years agoFix AppImage on systems with glib version > 2.68 (#2129).
Carl Hetherington [Wed, 29 Dec 2021 22:16:00 +0000 (23:16 +0100)]
Fix AppImage on systems with glib version > 2.68 (#2129).

The approach here is to bundle more stuff, and most of the details
are taken from the Inkscape packaging/appimage/generate.sh script.

2 years agoTidy up appimage code with f-strings and an appdir variable.
Carl Hetherington [Wed, 29 Dec 2021 22:13:31 +0000 (23:13 +0100)]
Tidy up appimage code with f-strings and an appdir variable.

2 years agoSupport DCP digest files (#2109).
Carl Hetherington [Wed, 3 Nov 2021 17:19:58 +0000 (18:19 +0100)]
Support DCP digest files (#2109).

2 years agoClean up a hack by adding DCPTranscodeJob.
Carl Hetherington [Tue, 28 Dec 2021 23:54:19 +0000 (00:54 +0100)]
Clean up a hack by adding DCPTranscodeJob.

2 years agoFix badly-formatted FPS counts (#2155).
Carl Hetherington [Tue, 28 Dec 2021 22:55:25 +0000 (23:55 +0100)]
Fix badly-formatted FPS counts (#2155).

This was introduced in a2e41d9a95b6e0000f3a54f513214130f8b6ca9f
when a snprintf() was changed for a locale_convert().

2 years agoUpdated sv_SE translation from Adam Klotblixt.
Carl Hetherington [Tue, 28 Dec 2021 22:20:51 +0000 (23:20 +0100)]
Updated sv_SE translation from Adam Klotblixt.

2 years agoAllow user to add .ttc font files.
Carl Hetherington [Thu, 23 Dec 2021 02:07:18 +0000 (03:07 +0100)]
Allow user to add .ttc font files.

2 years agoExtract and improve code to find missing files (#1940).
Carl Hetherington [Sat, 25 Dec 2021 01:05:54 +0000 (02:05 +0100)]
Extract and improve code to find missing files (#1940).

2 years agoC++11 / sorting cleanups.
Carl Hetherington [Sat, 25 Dec 2021 00:44:55 +0000 (01:44 +0100)]
C++11 / sorting cleanups.

2 years agoExtract simple_digest().
Carl Hetherington [Thu, 23 Dec 2021 22:33:56 +0000 (23:33 +0100)]
Extract simple_digest().

2 years agoTidy up backing up of config files, improve the tests a little and fix it for the
Carl Hetherington [Tue, 21 Dec 2021 01:35:55 +0000 (02:35 +0100)]
Tidy up backing up of config files, improve the tests a little and fix it for the
case when the user has specified their own config file path.

2 years agoSend emails in the CLI KDM tool (#2113).
Carl Hetherington [Mon, 1 Nov 2021 15:44:10 +0000 (16:44 +0100)]
Send emails in the CLI KDM tool (#2113).

2 years agoRename email() -> send_emails().
Carl Hetherington [Mon, 1 Nov 2021 15:43:41 +0000 (16:43 +0100)]
Rename email() -> send_emails().

2 years agoFix missing screen name in KDM emails.
Carl Hetherington [Mon, 1 Nov 2021 15:43:26 +0000 (16:43 +0100)]
Fix missing screen name in KDM emails.

2 years agoFix mistake in a7f61a15 causing bad_alloc exceptions during tests.
Carl Hetherington [Thu, 23 Dec 2021 17:14:51 +0000 (18:14 +0100)]
Fix mistake in a7f61a15 causing bad_alloc exceptions during tests.

2 years agoFix deadlock in test, caused by setting jobs to finished before they have been started.
Carl Hetherington [Wed, 22 Dec 2021 15:47:27 +0000 (16:47 +0100)]
Fix deadlock in test, caused by setting jobs to finished before they have been started.

2 years agoFix a load of stuff that wasn't being freed on close.
Carl Hetherington [Sun, 19 Dec 2021 23:35:11 +0000 (00:35 +0100)]
Fix a load of stuff that wasn't being freed on close.

Nothing really that important, but it cleans up the valgrind
leak check reports.

2 years agoAdd option to save a player frame to a file (#2133).
Carl Hetherington [Sat, 18 Dec 2021 22:54:54 +0000 (23:54 +0100)]
Add option to save a player frame to a file (#2133).

2 years agoAdd image_as_jpeg()
Carl Hetherington [Sat, 18 Dec 2021 22:34:26 +0000 (23:34 +0100)]
Add image_as_jpeg()

2 years agoTiny optimisation.
Carl Hetherington [Sat, 18 Dec 2021 22:32:11 +0000 (23:32 +0100)]
Tiny optimisation.

2 years agoAdd new format to pixfmts.c
Carl Hetherington [Sat, 18 Dec 2021 22:32:02 +0000 (23:32 +0100)]
Add new format to pixfmts.c

2 years agoMove Image::as_png() out to image_as_png().
Carl Hetherington [Sat, 18 Dec 2021 20:26:05 +0000 (21:26 +0100)]
Move Image::as_png() out to image_as_png().

2 years agoRemove unnecessary method.
Carl Hetherington [Sat, 18 Dec 2021 20:05:54 +0000 (21:05 +0100)]
Remove unnecessary method.

2 years agoFix trimming of ATMOS MXFs.
Carl Hetherington [Tue, 21 Dec 2021 20:01:16 +0000 (21:01 +0100)]
Fix trimming of ATMOS MXFs.

2 years agoTidy up NetworkError.
Carl Hetherington [Mon, 20 Dec 2021 20:45:21 +0000 (21:45 +0100)]
Tidy up NetworkError.

2 years agoC++11 tidying.
Carl Hetherington [Sat, 18 Dec 2021 14:10:14 +0000 (15:10 +0100)]
C++11 tidying.

2 years agoCleanup: remove unnecessary parameter to PlayerVideo::force().
Carl Hetherington [Sat, 18 Dec 2021 14:10:10 +0000 (15:10 +0100)]
Cleanup: remove unnecessary parameter to PlayerVideo::force().

2 years agoMove make_dcp() out of Film (#2132).
Carl Hetherington [Sat, 18 Dec 2021 13:23:50 +0000 (14:23 +0100)]
Move make_dcp() out of Film (#2132).

2 years agoAdd more filenames to content properties (#2120).
Carl Hetherington [Sat, 18 Dec 2021 11:05:40 +0000 (12:05 +0100)]
Add more filenames to content properties (#2120).

2 years agoFix inexplicable change to dylib paths with new VM.
Carl Hetherington [Fri, 17 Dec 2021 21:36:44 +0000 (22:36 +0100)]
Fix inexplicable change to dylib paths with new VM.

After re-creating the macOS build VM, suddenly liblwext4 ends
up linked as @rpath/liblwext4.dylib which breaks the DoM make_dmg
script.  I can only guess this is due to me installing a newer
CMake.

2 years agoAdd missing library search path for macOS tests.
Carl Hetherington [Tue, 14 Dec 2021 08:48:42 +0000 (09:48 +0100)]
Add missing library search path for macOS tests.

2 years agoMake sure translators give email addresses.
Carl Hetherington [Mon, 13 Dec 2021 00:00:56 +0000 (01:00 +0100)]
Make sure translators give email addresses.

2 years agoThrow a more appropriate exception.
Carl Hetherington [Mon, 13 Dec 2021 00:00:45 +0000 (01:00 +0100)]
Throw a more appropriate exception.

2 years agoExtend NetworkError to take a detail parameter.
Carl Hetherington [Mon, 13 Dec 2021 00:00:37 +0000 (01:00 +0100)]
Extend NetworkError to take a detail parameter.

2 years agoC++11 tidying.
Carl Hetherington [Mon, 13 Dec 2021 00:00:23 +0000 (01:00 +0100)]
C++11 tidying.

2 years agoManual tweak.
Carl Hetherington [Sun, 12 Dec 2021 23:29:55 +0000 (00:29 +0100)]
Manual tweak.

2 years agoAllow notification from disk writer jobs (#2143).
Carl Hetherington [Sat, 4 Dec 2021 23:25:23 +0000 (00:25 +0100)]
Allow notification from disk writer jobs (#2143).

2 years agoUse a virtual method rather than a set of nasty dynamic casts.
Carl Hetherington [Sat, 4 Dec 2021 23:24:56 +0000 (00:24 +0100)]
Use a virtual method rather than a set of nasty dynamic casts.

2 years agoSet up {m,c,a}times on copied files (#2145).
Carl Hetherington [Sun, 5 Dec 2021 00:14:52 +0000 (01:14 +0100)]
Set up {m,c,a}times on copied files (#2145).

2 years agoAdd setcap command to "normal" waf-based install.
Carl Hetherington [Sun, 5 Dec 2021 19:21:30 +0000 (20:21 +0100)]
Add setcap command to "normal" waf-based install.

2 years agoPort make_dummy_files to Python3 and improve it in various ways.
Carl Hetherington [Thu, 2 Dec 2021 19:18:54 +0000 (20:18 +0100)]
Port make_dummy_files to Python3 and improve it in various ways.

2 years agoFix possible incorrect eye mapping with 3D-alternate sources.
Carl Hetherington [Thu, 2 Dec 2021 19:16:02 +0000 (20:16 +0100)]
Fix possible incorrect eye mapping with 3D-alternate sources.

2 years agoFix -t parameter to possibly be a float.
Carl Hetherington [Wed, 1 Dec 2021 23:30:59 +0000 (00:30 +0100)]
Fix -t parameter to possibly be a float.

2 years agoTweaks to examine.py
Carl Hetherington [Tue, 30 Nov 2021 08:45:21 +0000 (09:45 +0100)]
Tweaks to examine.py

2 years agoBe a little more careful to handle exceptions from boost::filesystem::file_size
Carl Hetherington [Mon, 29 Nov 2021 23:00:17 +0000 (00:00 +0100)]
Be a little more careful to handle exceptions from boost::filesystem::file_size

There has been a report of file_size throwing an exception and
crashing DCP-o-matic, but I haven't been able to reproduce it yet
(possibly related to there being missing content files).

2 years agoWe must make empty sections for content with missing files.
Carl Hetherington [Mon, 29 Nov 2021 22:33:21 +0000 (23:33 +0100)]
We must make empty sections for content with missing files.

Fixes full audio buffers with no video in projects with
image content (no audio) that have missing files.

2 years agoAdd --gain option to dcpomatic_create.
Carl Hetherington [Sun, 28 Nov 2021 19:00:09 +0000 (20:00 +0100)]
Add --gain option to dcpomatic_create.

2 years agoAdd --channel option to dcpomatic_create.
Carl Hetherington [Sun, 28 Nov 2021 18:36:06 +0000 (19:36 +0100)]
Add --channel option to dcpomatic_create.

2 years agoTidying.
Carl Hetherington [Sun, 28 Nov 2021 18:35:48 +0000 (19:35 +0100)]
Tidying.

2 years agoAdd a comment.
Carl Hetherington [Sun, 28 Nov 2021 18:35:01 +0000 (19:35 +0100)]
Add a comment.

2 years agoGet config_dir and output_dir more directly.
Carl Hetherington [Sun, 28 Nov 2021 16:17:30 +0000 (17:17 +0100)]
Get config_dir and output_dir more directly.

2 years agoCatch exceptions from RtAudio::startStream() in all cases.
Carl Hetherington [Sun, 28 Nov 2021 21:00:21 +0000 (22:00 +0100)]
Catch exceptions from RtAudio::startStream() in all cases.

2 years agoFix some truncated headings.
Carl Hetherington [Sun, 28 Nov 2021 20:41:06 +0000 (21:41 +0100)]
Fix some truncated headings.

2 years agoSmall C++11 cleanups.
Carl Hetherington [Sun, 28 Nov 2021 09:40:42 +0000 (10:40 +0100)]
Small C++11 cleanups.

2 years agoRearrange checking (and re-examining) content.
Carl Hetherington [Sun, 28 Nov 2021 09:39:03 +0000 (10:39 +0100)]
Rearrange checking (and re-examining) content.

Most importantly, checking of content for changes before making
a DCP is now done in the TranscodeJob (rather than being in a
separate job).  This makes things a little neater and also makes
the batch converter less confusing when you add a job whose content
has changed.

2 years agoSimplify and fix job scheduler, especially with respect to the priority system.
Carl Hetherington [Tue, 23 Nov 2021 23:16:15 +0000 (00:16 +0100)]
Simplify and fix job scheduler, especially with respect to the priority system.

2 years agoExtract part of the content change job to Content.
Carl Hetherington [Sat, 27 Nov 2021 00:04:37 +0000 (01:04 +0100)]
Extract part of the content change job to Content.

2 years agoFill in zeros if a part of a timecode is entered.
Carl Hetherington [Mon, 22 Nov 2021 19:47:14 +0000 (20:47 +0100)]
Fill in zeros if a part of a timecode is entered.

It looks better if zeros are added elsewhere when you, for example,
put a number into the seconds box and click "set".

2 years agoFix failure to remove markers when the checkbox is unticked.
Carl Hetherington [Mon, 22 Nov 2021 19:46:59 +0000 (20:46 +0100)]
Fix failure to remove markers when the checkbox is unticked.

2 years agoDon't import luminance of 0 from 2.14.x metadata files (part of #2130).
Carl Hetherington [Mon, 22 Nov 2021 09:52:52 +0000 (10:52 +0100)]
Don't import luminance of 0 from 2.14.x metadata files (part of #2130).

2 years agoDon't allow luminance metadata below 0.1 in the GUI (part of #2130).
Carl Hetherington [Mon, 22 Nov 2021 09:22:09 +0000 (10:22 +0100)]
Don't allow luminance metadata below 0.1 in the GUI (part of #2130).

2 years agoFix incorrect scaling of the simple view with hidpi screens (#2128).
Carl Hetherington [Sat, 20 Nov 2021 21:36:06 +0000 (22:36 +0100)]
Fix incorrect scaling of the simple view with hidpi screens (#2128).

2 years agoExtract dpi_scale_factor() to a function.
Carl Hetherington [Sat, 20 Nov 2021 21:35:48 +0000 (22:35 +0100)]
Extract dpi_scale_factor() to a function.

2 years agoDon't fail to send a problem report if there's no ffprobe.log
Carl Hetherington [Tue, 16 Nov 2021 21:21:49 +0000 (22:21 +0100)]
Don't fail to send a problem report if there's no ffprobe.log

2 years agoSupporters update.
Carl Hetherington [Sun, 14 Nov 2021 15:48:07 +0000 (16:48 +0100)]
Supporters update.

2 years agoWith the upgrade to wxWidgets 3.1.5 it seems that the .mo file is renamed.
Carl Hetherington [Sun, 14 Nov 2021 08:18:03 +0000 (09:18 +0100)]
With the upgrade to wxWidgets 3.1.5 it seems that the .mo file is renamed.

2 years agoFix the build for older macOS.
Carl Hetherington [Sun, 14 Nov 2021 07:54:44 +0000 (08:54 +0100)]
Fix the build for older macOS.

2 years agoMissing include.
Carl Hetherington [Sat, 13 Nov 2021 23:55:43 +0000 (00:55 +0100)]
Missing include.

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