summaryrefslogtreecommitdiff
path: root/src/lib/reel_writer.cc
AgeCommit message (Collapse)Author
2026-02-08Fix a few unwrapped boost::filesystem calls that had crept in.Carl Hetherington
2025-12-31Use copy_in_bits to allow progress reporting when copying a big asset.Carl Hetherington
2025-12-29Remove pointless if.Carl Hetherington
2025-11-05Allow specification of which parts of the DCP to encrypt (#3099).Carl Hetherington
2025-07-10Remove compose.hpp includes.Carl Hetherington
sed -i "/include.*compose.hpp/d;" src/lib/*.cc src/wx/*.cc src/wx/*.h src/tools/*.cc src/lib/*.h test/*.cc
2025-07-10Replace String::compose with fmt.Carl Hetherington
sed -i "/Plural-Forms/n;/%100/n;/scanf/n;s/%[123456789]/{}/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/tools/*.cc src/lib/po/*.po src/wx/po/*.po src/tools/po/*.po test/*.cc sed -i "s/String::compose */fmt::format/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/tools/*.cc test/*.cc
2025-07-10Convert some paths to string.Carl Hetherington
2025-07-01White space: player_video.{cc,h} reel_writer.{cc,h} maths_util.{cc,h} ↵Carl Hetherington
upmixer_{a,b}.{cc,h} upload_job.{cc,h}
2025-04-12Add an assert.Carl Hetherington
2025-03-24Basic support for variable-Z 3D subtitles.Carl Hetherington
2025-01-15Fix missing language tag in open captions.v2.18.5Carl Hetherington
2025-01-14Put film_util methods in a namespace.Carl Hetherington
2025-01-12Rename subtitle_languages() -> open_text_languages().Carl Hetherington
Also make it return open captions as well as open subtitles (#2941).
2025-01-12Put open captions into subtitles and closed subtitles into captions.Carl Hetherington
We could write them separately (libdcp supports this, AFAIK) but the Deluxe guidelines suggest not to use ClosedSubtitle or MainCaption.
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.
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-09-03Adapt to some libdcp class renaming to allow open captions/closed subtitles.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-22Support encoding of MPEG2 DCPs.Carl Hetherington
2024-04-21Extract frame info read/write to new class.Carl Hetherington
2024-04-21Rename classes to follow preparatory renames in libdcp.Carl Hetherington
2023-11-20Improve progress reporting of digest calculations (might help with #2643).Carl Hetherington
2023-11-17Pass through <Ruby> tags in subtitles (#2635) (GH#23).Carl Hetherington
2023-10-16Replace a slightly tortured lambda with a loop.Carl Hetherington
2023-10-09Use dcp::filesystem to wrap filesystem calls and fix_long_pathCarl Hetherington
anything that is passed to read_file() from libcxml. This should fix #2623 and other similar problems.
2023-08-06Go back to respecting the user's choice for the number of audio channels in ↵Carl Hetherington
the MXF.
2023-06-30Add channel_is_mapped().Carl Hetherington
2023-06-05Give filler subtitle reels <LoadFont> nodes in SMPTE (#2547).Carl Hetherington
2023-06-04Fix missing subtitle language in CPL on auto-created empty subtitle assets ↵Carl Hetherington
(#2548).
2023-05-29Don't write Markers to interop CPLs (#2537).Carl Hetherington
2023-05-12Only add fonts to assets when they are required.Carl Hetherington
2023-05-12Handle fonts for ccaps coming from DCP content (#2525).Carl Hetherington
Not dealing with them calls all sort of chaos as described in the bug report.
2023-04-05Don't add fonts to SMPTE closed caption MXFs (#2505).Carl Hetherington
2023-03-29Write the correct MCA subdescriptors depending on active channels.Carl Hetherington
2023-03-29Always make 16-channel MXFs.Carl Hetherington
2023-03-03Add option to limit DCP output to the "Bv2.0 profile" (#2470).v2.16.45Carl Hetherington
I'm far from convinced about the point/sense of all these "profiles" (rather than just implementing or at least tolerating the standard) but lots of people are having problems with "QC" processes failing their DCPs with complaints related to MCASubDescriptors. It seems to make sense to have an option to turn them off - at least for now, until either the "QC" situation settles down or any bugs in DCP-o-matic are found and fixed.
2023-02-27Support the 2014 version of SMPTE 428-7 in render_text.cc and use itCarl Hetherington
when placing subtitles (e.g. SRT). Also default to outputting 2014-era alignment.
2023-01-16Write dummy subtitles also to empty Interop reels (#2421).Carl Hetherington
2022-11-21Fix subtitle vertical position (#2367).Carl Hetherington
Previously we would not account for the differences in what vertical position means between Interop and SMPTE. For interop, vertical position is the distance from the reference point to the text baseline, whereas for SMPTE it is the distance from the reference point to the top/middle/bottom of the subtitle (depending on the reference). This caused differences between the preview and the DCP for some cases (notably, using SRT/SSA and making Interop DCPs, or converting Interop DCP subs to SMPTE, or vice versa).
2022-11-03Bump libdcp for subtitle Z-position fixes (#2356).Carl Hetherington
2022-09-27Use EnumIndexedVector in ReelWriter.Carl Hetherington
2022-09-15Fix some spelling mistakes (mostly in comments).Carl Hetherington
2022-07-14Fix build.Carl Hetherington
2022-07-14More error message improvements.Carl Hetherington
2022-07-14Log a couple of errors more thoroughly.Carl Hetherington
2022-06-07Rearrange subtitle font management.Carl Hetherington
With this change each subtitle coming out of the player has a reference to a dcpomatic::Font that belongs to the TextContent. This hopefully solves a few problems which all basically stemmed from the fact that previously the decoders/player were deciding what the font ID in the output DCP would be - they can't do that properly.
2022-06-07Fix incorrect extension on interop subtitle files (#2270).Carl Hetherington
2022-06-03Make subtitle asset filename obey custom settings (#2260).Carl Hetherington
2022-05-05Use dcp::File in DCP-o-matic (#2231).Carl Hetherington
2022-04-29Move Image::as_png() out to image_as_png().Carl Hetherington