, audio_delay (0)
, still_duration (10)
, with_subtitles (false)
+ , subtitle_offset (0)
+ , subtitle_scale (1)
, length (0)
, audio_channels (0)
, audio_sample_rate (0)
void read_metadata (std::string, std::string);
Size cropped_size (Size) const;
-
int dcp_length () const;
+ std::string dci_name () const;
/** Complete path to directory containing the film metadata;
must not be relative.
/** Duration to make still-sourced films (in seconds) */
int still_duration;
bool with_subtitles;
+ /** y offset for placing subtitles, in source pixels; +ve is further down
+ the frame, -ve is further up.
+ */
+ int subtitle_offset;
+ float subtitle_scale;
+
+ /* DCI naming stuff */
+ std::string dci_name_prefix;
+ std::string audio_language;
+ std::string subtitle_language;
+ std::string territory;
+ std::string rating;
+ std::string studio;
+ std::string facility;
+ std::string package_type;
/* Data which is cached to speed things up */