check_subtitle_languages();
check_audio_language();
check_8_or_16_audio_channels();
+ check_video_alpha();
scan_content(film);
}
}
+
+void
+Hints::check_video_alpha()
+{
+ for (auto content: film()->content()) {
+ if (content->video && content->video->has_alpha()) {
+ hint(fmt::format(
+ _("Some of your video content contains an alpha channel, and {} cannot be "
+ "certain how to process it. Check that your video looks correct in the "
+ "preview, and if not try enabling or disabling the 'premultiply' video filter "
+ "in the content Advanced Settings dialogue box."),
+ variant::dcpomatic()));
+ }
+ }
+}
+
void closed_caption(PlayerText text, dcpomatic::DCPTimePeriod period);
void open_subtitle(PlayerText text, dcpomatic::DCPTimePeriod period);
-
void check_certificates();
void check_interop();
void check_video_encoding();
void check_subtitle_languages();
void check_audio_language();
void check_8_or_16_audio_channels();
+ void check_video_alpha();
boost::thread _thread;
/** This is used to make a partial DCP containing only the subtitles and closed captions that