summaryrefslogtreecommitdiff
path: root/src/lib/film.cc
AgeCommit message (Collapse)Author
2025-05-13Allow hyphens as part of the "name" part of the ISDCF name.Carl Hetherington
2025-05-11Use case for property checks now that it's possible.Carl Hetherington
This would have prevented the bug fixed in 6bbf7dee.
2025-05-08Add Film::possible_reel_types().Carl Hetherington
2025-05-08Add Film::reels_for_type().Carl Hetherington
2025-05-08Use the more in-keeping name string_to_video_encoding().Carl Hetherington
2025-03-24Basic support for variable-Z 3D subtitles.Carl Hetherington
2025-03-05Cleanup: use std::any_of instead of a find_if.Carl Hetherington
2025-01-25White space: film.{cc,h} font.{cc,h}Carl Hetherington
2025-01-20Fix typo accomodate -> accommodate.Carl Hetherington
2025-01-20Remove the strange tolerant flag in Film.Carl Hetherington
Instead, we now pass it in directly to Content::examine() and the Player.
2025-01-20Pass tolerant flag into Content::examine() and the ExamineContentJob.Carl Hetherington
Along the way this helps to fix #2942.
2025-01-14Extract dcpomatic::film::is_vf().Carl Hetherington
2025-01-12Write OCAP/CCAP into ISDCF names in a hopefully more correct fashion.v2.18.4Carl Hetherington
2025-01-12Fix fl indication in ISDCF name.Carl Hetherington
Maybe I missed it, or maybe it changed, but apparently 3.5fl is supposed to be written as 35fl in the name.
2025-01-12Cleanup: rename some variables.Carl Hetherington
2025-01-12Rename closed_caption_languages() -> closed_text_languages().Carl Hetherington
Also make it return closed captions as well as closed subtitles.
2025-01-12Rename subtitle_languages() -> open_text_languages().Carl Hetherington
Also make it return open captions as well as open subtitles (#2941).
2025-01-05Bump libdcp for raw_convert changes.Carl Hetherington
raw_convert<string> is gone, so here we use fmt::{to_string,format} instead. Other raw_converts now use fast_float.
2025-01-01Restrict name part of ISDCF name more (#2920).Carl Hetherington
This disallows + and . from the name part of an ISDCF name. I'm not 100% convinced about +, but . seems reasonable. This also fixes the case where you do "copy as name" with a name that should be transliterated, and the non-transliterated characters re-appear.
2024-12-26Give ownership of info files to ReelWriters (#2912).v2.18.2Carl Hetherington
The motivation here is to stop a pattern where we create a file, close it, and then re-open it (many times) as I think there are problems on Windows when a virus scanner sees the new file, opens it for checking, and then we can't re-open it. This also makes things a fair bit simpler, as a lock is removed and we don't try to differentiate read/write cases by opening the file in different ways; it's now always writeable.
2024-12-04Don't give an alarming error when there is no assets.xml.Carl Hetherington
2024-11-30Fix mis-handling of reels with Atmos content (#2901).v2.17.26Carl Hetherington
We must have reel boundaries at least on Atmos content boundaries as I don't know for sure how to insert silence into an Atmos stream.
2024-11-29Tidy-up/fix Atmos frame rate checks.Carl Hetherington
2024-10-05Rename XML tags Fade{In,Out} to VideoFade{In,Out}.Carl Hetherington
2024-09-18Fix thinko in relative path change.Carl Hetherington
We have to canonicalise relative paths with respect to the film's directory on load, otherwise we try to use the relative path and it's interpreted against the current working directory. This unfortunately requires the film's directory to be piped into quite a lot of new places.
2024-09-13Merge remote-tracking branch 'origin/main' into v2.17.xCarl Hetherington
2024-09-03Fix a few places where we should use dcp::File::open_error()Carl Hetherington
to get a more accurate error number on Windows.
2024-09-03Support closed subtitles and open captions.Carl Hetherington
2024-08-17Add option to use relative content paths (#2856).Carl Hetherington
2024-08-14Fix a couple of causes of films being marked dirty straight after loading.Carl Hetherington
2024-06-23Remove some unused using statements and a blank line.Carl Hetherington
2024-06-04Make sure MPEG2 encodes are always 2K (#2819).Carl Hetherington
2024-05-29Use territory details from template.Carl Hetherington
2024-05-29Get chain, facility, studio and distributor from template.Carl Hetherington
2024-05-25Improve save-template dialog and always use a default template.Carl Hetherington
2024-05-19Fix old libxml API use from main.Carl Hetherington
2024-05-11Stop using video directory and hard-linking (#2756).Carl Hetherington
Instead store details of a previously-created asset in the film's metadata and then look there for potential video files to re-use.
2024-04-22Allow specification of video bit rate separately for J2K and MPEG2.Carl Hetherington
2024-04-22Alert user when fixing settings for MPEG2.Carl Hetherington
2024-04-22Support encoding of MPEG2 DCPs.Carl Hetherington
2024-04-21Rename j2k_bandwidth -> video_bit_rate.Carl Hetherington
2024-04-21Rename Encoder -> FilmEncoder, and subclasses.Carl Hetherington
2024-04-21Extract all uses of DCP-o-matic name to allow branding.Carl Hetherington
2024-03-20Remove all use of add_child() from xmlpp.Carl Hetherington
2024-03-12Add new interface for setting reel breaks (#2678).2678-reel-breakCarl Hetherington
2024-03-12Add custom reels option to Film.Carl Hetherington
2024-03-12Use std::vector and emplace_back(), lengthen variable name.Carl Hetherington
2024-02-22Merge tag 'v2.16.78' into v2.17.xv2.17.12Carl Hetherington
2024-02-21Make DCPExaminer::size() optional and deal with the consequences.v2.16.78Carl Hetherington
This means we can fix the case of a VF having no known size in a nice way, in turn fixing problems caused by the fix to #2775.
2024-01-28Remember whether Content or DCP is selected in a new ui.xml state file.Carl Hetherington