summaryrefslogtreecommitdiff
path: root/src/lib/reel_writer.cc
AgeCommit message (Collapse)Author
2023-12-05Account for split branch in libdcp.splitCarl 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
2022-04-21Tidying.Carl Hetherington
2022-03-25Bump libdcp for fix to remove erroneous <EntryPoint> and <Duration> markers ↵Carl Hetherington
from <MainMarkers> (#2215).
2021-10-17Basic and slightly inaccurate support for <Space> in subtitles (#2103).v2.15.170Carl Hetherington
Adding horizontal space to a Pango layout is hard, and I think this change probably gets it slightly wrong, but it's a step in the right direction.
2021-08-12White space.Carl Hetherington
2021-08-12Add comment.Carl Hetherington
2021-08-12Don't write empty <Text> nodes in subtitles/closed captions.Carl Hetherington
2021-06-01Put audio language back in the Film.Carl Hetherington
It feels neat to have audio language in the audio tab, to match the subtitle language in the subtitle tab. It also avoids the potential confusion of there being an audio language setting in the DCP metadata but no subtitle language setting. However: - I am yet to find a need to describe multiple audio languages in the same DCP (all previous users of Film::audio_languages() were just taking the first language off the list). - As Carsten points out it's fiddly to have to set the audio language for 5 separate-channel WAV files, for example (you wouldn't actually have had to do this, but it would have felt like you did). I think subtitle language remains neater where it is (per-content) as there is this additional subtitle language metadata and it makes much more sense (and is much more likely) that there are multiple subtitle languages in a DCP than it does multiple audio languages.
2021-05-01C++11 tidying.Carl Hetherington
2021-04-21Make digest calculations interruptible.Carl Hetherington
2021-04-12Bump libdcp for some API improvements.Carl Hetherington
2021-04-09Make DCP text track language properly optional and ignore bad values on ↵Carl Hetherington
imported DCPs (#1950).
2021-04-06Remove out-of-date Film::_audio_language.Carl Hetherington
2021-03-31Put subtitle language back into content from the film (#1930).Carl Hetherington
This also adds the main/additional language flag. Of all the considerations about how to specify subtitle language, the most important seems to be that the language specification happens for the content where the language is; i.e. in the content text tab.
2021-03-26Bump libdcp for MCA tag fixes.Carl Hetherington
2021-03-20Tidy up HMSF handling in a few places.Carl Hetherington
2021-03-16Split subtitles at reel boundaries (#1918).Carl Hetherington
2021-03-15Use period when adding text subs, like we do with image ones.Carl Hetherington
2021-02-23Don't create empty SMPTE subtitles files with empty <SubtitleList>Carl Hetherington
Files like this fail validation against the XSD. Perhaps the XSD is wrong; for now though, create an empty 1-second-long subtitle in such files.
2021-01-31More enum class additions.Carl Hetherington
2021-01-21Adapt for libdcp use of enum class.Carl Hetherington