summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-11-05 14:30:11 +0000
committerCarl Hetherington <cth@carlh.net>2014-11-05 14:31:07 +0000
commitd895a27e81d0aa333bb011f39093b79c35171156 (patch)
tree1eafe1e9724c9d1c8c2dd24d8443623fc2780696 /src
parentf4c001bc77d482e4448f4e719db4a64f389daf91 (diff)
Hint on no audio and high JPEG2000 bit rates.
(cherry picked from commit 9c85b502b50f02c9468e5c7bc08348677b50ec5e)
Diffstat (limited to 'src')
-rw-r--r--src/wx/hints_dialog.cc12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/wx/hints_dialog.cc b/src/wx/hints_dialog.cc
index 74ac05508..e064984b2 100644
--- a/src/wx/hints_dialog.cc
+++ b/src/wx/hints_dialog.cc
@@ -71,9 +71,13 @@ HintsDialog::film_changed ()
_text->WriteText (_("Your DCP has an odd number of audio channels. This is very likely to cause problems on playback."));
_text->Newline ();
} else if (film->audio_channels() < 6) {
- hint = true;
_text->WriteText (_("Your DCP has fewer than 6 audio channels. This may cause problems on some projectors."));
_text->Newline ();
+ } else if (film->audio_channels() == 0) {
+ /* Carsten Kurz reckons having no audio can be a problem */
+ hint = true;
+ _text->WriteText (_("Your DCP has no audio channels. This is likely to cause problems on playback."));
+ _text->Newline ();
}
ContentList content = film->content ();
@@ -109,6 +113,12 @@ HintsDialog::film_changed ()
_text->Newline ();
}
+ if (film->j2k_bandwidth() >= 245000000) {
+ hint = true;
+ _text->WriteText (_("A few projectors have problems playing back very high bit-rate DCPs. It is a good idea to drop the JPEG2000 bandwidth down to about 200Mbit/s; this is unlikely to have any visible effect on the image."));
+ _text->Newline ();
+ }
+
int vob = 0;
for (ContentList::const_iterator i = content.begin(); i != content.end(); ++i) {
if (boost::algorithm::starts_with ((*i)->path(0).filename().string(), "VTS_")) {