dcpomatic.git
7 years agoBump libsub for asdcplib header changes.
Carl Hetherington [Fri, 1 Jul 2016 15:27:57 +0000 (16:27 +0100)]
Bump libsub for asdcplib header changes.

7 years agoBump libdcp for asdcp headers changes.
Carl Hetherington [Fri, 1 Jul 2016 11:33:11 +0000 (12:33 +0100)]
Bump libdcp for asdcp headers changes.

7 years agoFix SRT tests, and abstract out checking of XML subtitles.
Carl Hetherington [Thu, 30 Jun 2016 12:38:21 +0000 (13:38 +0100)]
Fix SRT tests, and abstract out checking of XML subtitles.

7 years agoMake the preview respond to changes in subtitle line spacing.
Carl Hetherington [Wed, 29 Jun 2016 23:20:49 +0000 (00:20 +0100)]
Make the preview respond to changes in subtitle line spacing.

7 years agoFirst go at making the line spacing do something.
Carl Hetherington [Sat, 28 May 2016 23:42:55 +0000 (00:42 +0100)]
First go at making the line spacing do something.

7 years agoAdd UI to manage line spacing on subtitles.
Carl Hetherington [Sat, 28 May 2016 20:22:13 +0000 (21:22 +0100)]
Add UI to manage line spacing on subtitles.

7 years agoAdd line-spacing property to SubtitleContent.
Carl Hetherington [Sat, 28 May 2016 17:45:33 +0000 (18:45 +0100)]
Add line-spacing property to SubtitleContent.

7 years agoAdd go-to-position dialogue when clicking on preview timecode.
Carl Hetherington [Fri, 1 Jul 2016 00:03:29 +0000 (01:03 +0100)]
Add go-to-position dialogue when clicking on preview timecode.

7 years agoMake nudge buttons nudge further with modifiers (shift/control/shift+control).
Carl Hetherington [Thu, 30 Jun 2016 22:15:31 +0000 (23:15 +0100)]
Make nudge buttons nudge further with modifiers (shift/control/shift+control).

7 years agoRe-examine joined content.
Carl Hetherington [Thu, 30 Jun 2016 21:37:03 +0000 (22:37 +0100)]
Re-examine joined content.

7 years agoBig speed-up to content joining.
Carl Hetherington [Thu, 30 Jun 2016 21:23:08 +0000 (22:23 +0100)]
Big speed-up to content joining.

7 years agoFix for crash(es) when joining content.
Carl Hetherington [Thu, 30 Jun 2016 21:15:43 +0000 (22:15 +0100)]
Fix for crash(es) when joining content.

7 years agoUpdated nl_NL translation from Rob van Nieuwkerk.
Carl Hetherington [Wed, 29 Jun 2016 22:35:58 +0000 (23:35 +0100)]
Updated nl_NL translation from Rob van Nieuwkerk.

7 years agoCase fix to match tool name.
Carl Hetherington [Wed, 29 Jun 2016 22:33:52 +0000 (23:33 +0100)]
Case fix to match tool name.

7 years agoSpeculative fix for #891.
Carl Hetherington [Wed, 29 Jun 2016 21:57:28 +0000 (22:57 +0100)]
Speculative fix for #891.

7 years agopot/merge.
Carl Hetherington [Wed, 29 Jun 2016 21:04:12 +0000 (22:04 +0100)]
pot/merge.

7 years agoTypo.
Carl Hetherington [Wed, 29 Jun 2016 21:02:25 +0000 (22:02 +0100)]
Typo.

7 years agoTweak content properties layout (#895).
Carl Hetherington [Wed, 29 Jun 2016 20:26:18 +0000 (21:26 +0100)]
Tweak content properties layout (#895).

7 years agoSmall tweaks to times in progress reports.
Carl Hetherington [Wed, 29 Jun 2016 15:46:30 +0000 (16:46 +0100)]
Small tweaks to times in progress reports.

7 years agoIncrease frequency of progres updates on long jobs (#900).
Carl Hetherington [Wed, 29 Jun 2016 15:33:50 +0000 (16:33 +0100)]
Increase frequency of progres updates on long jobs (#900).

7 years agoAdd another hack script.
Carl Hetherington [Wed, 29 Jun 2016 15:09:02 +0000 (16:09 +0100)]
Add another hack script.

7 years agoFix handling of incorrectly-recognised JPEG2000 files.
Carl Hetherington [Wed, 29 Jun 2016 15:01:14 +0000 (16:01 +0100)]
Fix handling of incorrectly-recognised JPEG2000 files.

Previously we asked libdcp whether an imported J2K file was
RGB or XYZ.  The answer it gives is sometimes wrong, for reasons
that are not clear (either the files are not marked correctly,
or openjpeg is not parsing whatever metadata correctly).

However it seems that, in general, we use the user's specified
colour conversion to decide what to do with an image, rather than
asking the image what should be done to it.

Hence it makes more sense to assume that if a user specifies no
colour conversion for a J2K file then the file is XYZ.

With preview, the colour conversion from XYZ back to RGB is done
by FFmpeg, so we have to set the pixel format correctly on the
Image that comes back from J2KImageProxy.  Now we get that pixel
format from the configured colourspace conversion rather than
from openjpeg's guess as to the file's colourspace.

It's a bit ugly that the only thing we ask the file about is whether
or not it is in YUV (which governs whether or not FFmpeg applies
the user's configured YUV-to-RGB conversion).  Everything else is
decided by the configured conversion.

I think there's still some uglyness in here that I can't put my
finger on.

7 years agoDoc drawing tweaks.
Carl Hetherington [Wed, 29 Jun 2016 14:13:12 +0000 (15:13 +0100)]
Doc drawing tweaks.

7 years agoFix pango markup when rendering subtitles.
Carl Hetherington [Mon, 27 Jun 2016 23:34:24 +0000 (00:34 +0100)]
Fix pango markup when rendering subtitles.

7 years agoAdd tester.
Carl Hetherington [Sat, 25 Jun 2016 22:51:24 +0000 (23:51 +0100)]
Add tester.

7 years agoBump version
Carl Hetherington [Fri, 24 Jun 2016 14:17:04 +0000 (15:17 +0100)]
Bump version

7 years agoBump version v2.8.14
Carl Hetherington [Fri, 24 Jun 2016 14:17:04 +0000 (15:17 +0100)]
Bump version

7 years agoAnother fix for new file dialog sizing when using DirPickerCtrl.
Carl Hetherington [Fri, 24 Jun 2016 14:03:41 +0000 (15:03 +0100)]
Another fix for new file dialog sizing when using DirPickerCtrl.

7 years agoUpdate test/data.
Carl Hetherington [Fri, 24 Jun 2016 13:41:36 +0000 (14:41 +0100)]
Update test/data.

7 years agoBump libsub for fix to missing last subs line.
Carl Hetherington [Fri, 24 Jun 2016 12:30:36 +0000 (13:30 +0100)]
Bump libsub for fix to missing last subs line.

7 years agoSupport for underlined subtitles.
Carl Hetherington [Fri, 24 Jun 2016 12:22:02 +0000 (13:22 +0100)]
Support for underlined subtitles.

7 years agoRemove bad fuzzy translation.
Carl Hetherington [Fri, 24 Jun 2016 11:34:46 +0000 (12:34 +0100)]
Remove bad fuzzy translation.

7 years agoFix confused checks for Image/GraphicsMagick in wscript. Add missing InitializeMagic...
Carl Hetherington [Fri, 24 Jun 2016 10:51:42 +0000 (11:51 +0100)]
Fix confused checks for Image/GraphicsMagick in wscript.  Add missing InitializeMagick() call, fixing crash on loading still images.

7 years agoBump version
Carl Hetherington [Wed, 22 Jun 2016 20:30:53 +0000 (21:30 +0100)]
Bump version

7 years agoBump version v2.8.13
Carl Hetherington [Wed, 22 Jun 2016 20:30:53 +0000 (21:30 +0100)]
Bump version

7 years agoBump libdcp1 for small optimisation.
Carl Hetherington [Wed, 22 Jun 2016 01:04:29 +0000 (02:04 +0100)]
Bump libdcp1 for small optimisation.

7 years agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Carl Hetherington [Wed, 22 Jun 2016 00:53:30 +0000 (01:53 +0100)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic

7 years agoDon't bother decoding referenced DCP video if the player will ignore it.
Carl Hetherington [Wed, 22 Jun 2016 00:53:18 +0000 (01:53 +0100)]
Don't bother decoding referenced DCP video if the player will ignore it.

7 years agoSet AudioDecoder::fast a different way.
Carl Hetherington [Wed, 22 Jun 2016 00:47:28 +0000 (01:47 +0100)]
Set AudioDecoder::fast a different way.

7 years agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Carl Hetherington [Wed, 22 Jun 2016 00:19:33 +0000 (01:19 +0100)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic

7 years agoOptimization for the referenced video case.
Carl Hetherington [Wed, 22 Jun 2016 00:15:45 +0000 (01:15 +0100)]
Optimization for the referenced video case.

With referenced video from a DCP decoder, no video will ever
be fetched from the decoder.  Hence the code to discard given video
will be activated after _decoded builds up to the magic size.

Before this commit the code would attempt to fill with black up to
given frame N (with N very large) from the last frame in _decoded when
_decoded had been trimmed.  This would result in exponential growth
in execution time for the VideoDecoder::give() path.

7 years agoA couple of small optimisations.
Carl Hetherington [Wed, 22 Jun 2016 00:10:47 +0000 (01:10 +0100)]
A couple of small optimisations.

7 years agoMake our own DirPicker wider in the new file dialog (#902).
Carl Hetherington [Tue, 21 Jun 2016 22:50:39 +0000 (23:50 +0100)]
Make our own DirPicker wider in the new file dialog (#902).

7 years agoRevert "Use make_shared<>."
Carl Hetherington [Tue, 21 Jun 2016 22:08:53 +0000 (23:08 +0100)]
Revert "Use make_shared<>."

Support for this seems to vary wildly across DoM's build
targets.  Stuff that builds on 16.04 won't build on 14.04,
for example.  Seems to not be worth the hassle now.

This reverts commit 5a5324ed3a381a86dfe0a6e3932c1d58fdcd596f.

7 years agoRevert "Revert make_shared<> change which breaks build on some platforms; don't know...
Carl Hetherington [Tue, 21 Jun 2016 22:08:44 +0000 (23:08 +0100)]
Revert "Revert make_shared<> change which breaks build on some platforms; don't know why yet."

This reverts commit eb3f28f4e614455a4d070d5fa2caaa24b9d9139c.

7 years agoRevert "Odd const fix."
Carl Hetherington [Tue, 21 Jun 2016 22:08:36 +0000 (23:08 +0100)]
Revert "Odd const fix."

This reverts commit b4f9d2e2c287848623c6dc59d8768c1d5fae15f0.

7 years agoOdd const fix.
Carl Hetherington [Tue, 21 Jun 2016 08:57:30 +0000 (09:57 +0100)]
Odd const fix.

7 years agoRevert make_shared<> change which breaks build on some platforms; don't know why...
Carl Hetherington [Tue, 21 Jun 2016 00:36:09 +0000 (01:36 +0100)]
Revert make_shared<> change which breaks build on some platforms; don't know why yet.

7 years agoUse make_shared<>.
Carl Hetherington [Tue, 21 Jun 2016 00:14:06 +0000 (01:14 +0100)]
Use make_shared<>.

7 years agoBump libsub for .ass file fixes.
Carl Hetherington [Mon, 20 Jun 2016 21:49:38 +0000 (22:49 +0100)]
Bump libsub for .ass file fixes.

7 years agoPass .ass files to SSAReader.
Carl Hetherington [Mon, 20 Jun 2016 21:41:39 +0000 (22:41 +0100)]
Pass .ass files to SSAReader.

7 years agoFix crash when no video is being encoded.
Carl Hetherington [Mon, 20 Jun 2016 21:41:31 +0000 (22:41 +0100)]
Fix crash when no video is being encoded.

7 years agoBump libsub for SSA fixes.
Carl Hetherington [Mon, 20 Jun 2016 21:22:19 +0000 (22:22 +0100)]
Bump libsub for SSA fixes.

7 years agoUpdated nl_NL translation from Rob van Nieuwkerk.
Carl Hetherington [Mon, 20 Jun 2016 19:47:23 +0000 (20:47 +0100)]
Updated nl_NL translation from Rob van Nieuwkerk.

7 years agoFix missing code to display italic / bold font names.
Carl Hetherington [Mon, 20 Jun 2016 18:28:03 +0000 (19:28 +0100)]
Fix missing code to display italic / bold font names.

7 years agoBump libsub for space/tab fix.
Carl Hetherington [Mon, 20 Jun 2016 17:58:47 +0000 (18:58 +0100)]
Bump libsub for space/tab fix.

7 years agoHand-apply one pt_BR translation from Mx.
Carl Hetherington [Mon, 20 Jun 2016 17:57:55 +0000 (18:57 +0100)]
Hand-apply one pt_BR translation from Mx.

7 years agopot/merge.
Carl Hetherington [Mon, 20 Jun 2016 16:33:08 +0000 (17:33 +0100)]
pot/merge.

7 years agoUpdated pt_BR translation from Max M. Fuhlendorf.
Carl Hetherington [Mon, 20 Jun 2016 16:32:57 +0000 (17:32 +0100)]
Updated pt_BR translation from Max M. Fuhlendorf.

7 years agoAdd another translator.
Carl Hetherington [Mon, 20 Jun 2016 16:32:50 +0000 (17:32 +0100)]
Add another translator.

7 years agopot/merge.
Carl Hetherington [Mon, 20 Jun 2016 16:29:21 +0000 (17:29 +0100)]
pot/merge.

7 years agoChangeLog.
Carl Hetherington [Mon, 20 Jun 2016 16:29:09 +0000 (17:29 +0100)]
ChangeLog.

7 years agoMerge branch 'fix-encoder-threading' of ssh://git.carlh.net/home/carl/git/dcpomatic...
Carl Hetherington [Mon, 20 Jun 2016 16:16:20 +0000 (17:16 +0100)]
Merge branch 'fix-encoder-threading' of ssh://git.carlh.net/home/carl/git/dcpomatic into fix-encoder-threading

7 years agoFix encoder thread interruption.
Carl Hetherington [Mon, 20 Jun 2016 16:15:07 +0000 (17:15 +0100)]
Fix encoder thread interruption.

When an encoder thread is interrupted we just want it silently
to stop, so catch boost::thread_interrupted separately and don't
pass it on.

I believe the interruption of jobs and subsequent catch of
boost::thread_interrupted will still work as that's the job thread
rather than the encoder threads.

7 years agoFix another case where an exception could be thrown from a destructor.
Carl Hetherington [Mon, 20 Jun 2016 16:06:58 +0000 (17:06 +0100)]
Fix another case where an exception could be thrown from a destructor.

7 years agoEncoder shutdown fixes.
Carl Hetherington [Mon, 20 Jun 2016 14:02:15 +0000 (15:02 +0100)]
Encoder shutdown fixes.

Two fixes here; prevent the servers-list-changed callback being
called when Encoder is being destroyed, and stop ~Encoder throwing
exceptions.

I'm not sure if the catch (...) in ~Encoder will hide problems
that we should be handling, but I think by the time ~Encoder
is happening we'll already have seen any exceptions that we
need to report.

7 years agoBump version
Carl Hetherington [Sun, 19 Jun 2016 21:17:51 +0000 (22:17 +0100)]
Bump version

7 years agoBump version v2.8.12
Carl Hetherington [Sun, 19 Jun 2016 21:17:51 +0000 (22:17 +0100)]
Bump version

7 years agoRender bold subtitles correctly in preview / burn-in.
Carl Hetherington [Sun, 19 Jun 2016 21:11:25 +0000 (22:11 +0100)]
Render bold subtitles correctly in preview / burn-in.

7 years agoBump libsub for fixes to SSA/ASS parsing.
Carl Hetherington [Sun, 19 Jun 2016 20:58:47 +0000 (21:58 +0100)]
Bump libsub for fixes to SSA/ASS parsing.

7 years agoUpdated pt_BR translation from Max M. Fuhlendorf.
Carl Hetherington [Sun, 19 Jun 2016 20:23:48 +0000 (21:23 +0100)]
Updated pt_BR translation from Max M. Fuhlendorf.

7 years agoBump version
Carl Hetherington [Sun, 19 Jun 2016 20:10:23 +0000 (21:10 +0100)]
Bump version

7 years agoBump version v2.8.11
Carl Hetherington [Sun, 19 Jun 2016 20:10:23 +0000 (21:10 +0100)]
Bump version

7 years agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Carl Hetherington [Sun, 19 Jun 2016 20:10:06 +0000 (21:10 +0100)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic

7 years agoMissing Windows dependency.
Carl Hetherington [Sun, 19 Jun 2016 20:08:47 +0000 (21:08 +0100)]
Missing Windows dependency.

7 years agoBump version
Carl Hetherington [Sat, 18 Jun 2016 23:43:52 +0000 (00:43 +0100)]
Bump version

7 years agoBump version v2.8.10
Carl Hetherington [Sat, 18 Jun 2016 23:43:52 +0000 (00:43 +0100)]
Bump version

7 years agoParse .ass files using the text subtitle code.
Carl Hetherington [Sat, 18 Jun 2016 22:53:02 +0000 (23:53 +0100)]
Parse .ass files using the text subtitle code.

7 years agoFix special cscript build for Windows XP.
Carl Hetherington [Sat, 18 Jun 2016 21:21:43 +0000 (22:21 +0100)]
Fix special cscript build for Windows XP.

7 years agoSupporter.
Carl Hetherington [Sat, 18 Jun 2016 20:09:58 +0000 (21:09 +0100)]
Supporter.

7 years agoTry to fix 64-bit centos link of nettle.
Carl Hetherington [Fri, 17 Jun 2016 23:47:49 +0000 (00:47 +0100)]
Try to fix 64-bit centos link of nettle.

7 years agoUse wx_to_std and std_to_wx for now.
Carl Hetherington [Fri, 17 Jun 2016 23:02:22 +0000 (00:02 +0100)]
Use wx_to_std and std_to_wx for now.

7 years agoAdd preference for the default number of DCP channels (#897).
Carl Hetherington [Fri, 17 Jun 2016 22:22:06 +0000 (23:22 +0100)]
Add preference for the default number of DCP channels (#897).

7 years agoMissing virtual destructor.
Carl Hetherington [Fri, 17 Jun 2016 15:49:05 +0000 (16:49 +0100)]
Missing virtual destructor.

7 years agoFix typo in previous.
Carl Hetherington [Thu, 16 Jun 2016 21:15:16 +0000 (22:15 +0100)]
Fix typo in previous.

7 years agoSupporter.
Carl Hetherington [Thu, 16 Jun 2016 20:51:35 +0000 (21:51 +0100)]
Supporter.

7 years agoIgnore any hidden files when looking for images.
Carl Hetherington [Thu, 16 Jun 2016 00:02:10 +0000 (01:02 +0100)]
Ignore any hidden files when looking for images.

We used to do ._* and .DS_Store but there has been a report of
.com.apple.timemachine.supported.

7 years agoPotential fix for crash on loading a new film after starting an audio analysis.
Carl Hetherington [Wed, 15 Jun 2016 23:51:15 +0000 (00:51 +0100)]
Potential fix for crash on loading a new film after starting an audio analysis.

7 years agoRemove seconds from KDM time period specification (#819).
Carl Hetherington [Wed, 15 Jun 2016 23:46:26 +0000 (00:46 +0100)]
Remove seconds from KDM time period specification (#819).

7 years agoBump libdcp for dep fix.
Carl Hetherington [Wed, 15 Jun 2016 21:41:19 +0000 (22:41 +0100)]
Bump libdcp for dep fix.

7 years agoBump libdcp for the return of OpenJPEG 1.5.x.
Carl Hetherington [Tue, 14 Jun 2016 20:49:05 +0000 (21:49 +0100)]
Bump libdcp for the return of OpenJPEG 1.5.x.

7 years agoBasic guessing of audio channels from filenames (#393).
Carl Hetherington [Tue, 14 Jun 2016 14:51:03 +0000 (15:51 +0100)]
Basic guessing of audio channels from filenames (#393).

7 years agoClean up of 3D->2D conversion.
Carl Hetherington [Tue, 14 Jun 2016 14:07:58 +0000 (15:07 +0100)]
Clean up of 3D->2D conversion.

It makes slightly more sense to discard 2D in the Transcoder
rather than the Encoder.  Unfortunately this requires quite
invasive changes, mainly to remove Encoder::_position and instead
derive this information from the PlayerVideo that is being handled.
This is also nicer than before, I think.

A notable change is that in player.cc; using time rather than
content_video_to_dcp().  This means we are assuming that the decoder
returns video at the time we ask it to, rather than checking
what it has returned.  I can't think of a problem with this (yet).

7 years agoBump cscript for libdcp whitespace/tab fix.
Carl Hetherington [Tue, 14 Jun 2016 13:10:13 +0000 (14:10 +0100)]
Bump cscript for libdcp whitespace/tab fix.

7 years agoUpdate for state file version change.
Carl Hetherington [Tue, 14 Jun 2016 12:43:43 +0000 (13:43 +0100)]
Update for state file version change.

7 years agoDiscard right-eye images when using 3D sources to make 2D DCPs.
Carl Hetherington [Tue, 14 Jun 2016 11:58:57 +0000 (12:58 +0100)]
Discard right-eye images when using 3D sources to make 2D DCPs.

7 years agoUse edit rate not frame rate for displaying rate of DCPs.
Carl Hetherington [Tue, 14 Jun 2016 11:35:20 +0000 (12:35 +0100)]
Use edit rate not frame rate for displaying rate of DCPs.

7 years agoFix subtle bug with 3D and add a explicit to stop it happening again.
Carl Hetherington [Tue, 14 Jun 2016 11:21:40 +0000 (12:21 +0100)]
Fix subtle bug with 3D and add a explicit to stop it happening again.

7 years agoSet correct video frame type when importing DCPs (part of #806).
Carl Hetherington [Tue, 14 Jun 2016 11:11:50 +0000 (12:11 +0100)]
Set correct video frame type when importing DCPs (part of #806).

7 years agoFix some confusion with filling and VideoFrame.
Carl Hetherington [Tue, 14 Jun 2016 11:10:59 +0000 (12:10 +0100)]
Fix some confusion with filling and VideoFrame.