From 40b121277ed3f1a572602f9e28c872ce861774b1 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 12 Sep 2016 19:52:34 +0100 Subject: [PATCH] Add a hint about non-flat/scope containers after hearing from Gerhard Gruber that one cinema could not use a DCP in a 4:3 container. --- src/lib/hints.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/lib/hints.cc b/src/lib/hints.cc index d196b7ddb..b410252bd 100644 --- a/src/lib/hints.cc +++ b/src/lib/hints.cc @@ -85,14 +85,20 @@ get_hints (shared_ptr film) } } - if (scope && !flat_or_narrower && film->container()->id() == "185") { + string const film_container = film->container()->id(); + + if (scope && !flat_or_narrower && film_container == "185") { hints.push_back (_("All of your content is in Scope (2.39:1) but your DCP's container is Flat (1.85:1). This will letter-box your content inside a Flat (1.85:1) frame. You may prefer to set your DCP's container to Scope (2.39:1) in the \"DCP\" tab.")); } - if (!scope && flat_or_narrower && film->container()->id() == "239") { + if (!scope && flat_or_narrower && film_container == "239") { hints.push_back (_("All of your content is at 1.85:1 or narrower but your DCP's container is Scope (2.39:1). This will pillar-box your content inside a Flat (1.85:1) frame. You may prefer to set your DCP's container to Flat (1.85:1) in the \"DCP\" tab.")); } + if (film_container != "185" && film_container != "239" && film_container != "full-frame") { + hints.push_back (_("Your DCP uses an unusual container ratio. This may cause problems on some projectors. If possible, use Flat or Scope for the DCP container ratio")); + } + if (film->video_frame_rate() != 24 && film->video_frame_rate() != 48) { hints.push_back (String::compose (_("Your DCP frame rate (%1 fps) may cause problems in a few (mostly older) projectors. Use 24 or 48 frames per second to be on the safe side."), film->video_frame_rate())); } -- 2.30.2