Hint on no audio and high JPEG2000 bit rates.
authorCarl Hetherington <cth@carlh.net>
Wed, 5 Nov 2014 14:30:11 +0000 (14:30 +0000)
committerCarl Hetherington <cth@carlh.net>
Wed, 5 Nov 2014 14:31:07 +0000 (14:31 +0000)
(cherry picked from commit 9c85b502b50f02c9468e5c7bc08348677b50ec5e)

src/wx/hints_dialog.cc

index 74ac055082461c7897b58a0248e35785f9451858..e064984b2c49268e33d226ec601fa001106298a7 100644 (file)
@@ -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_")) {