summaryrefslogtreecommitdiff
path: root/src/lib/reel_writer.cc
AgeCommit message (Collapse)Author
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
2021-01-20Bump libdcp for better verification, and make API adjustments.Carl Hetherington
2021-01-07BOOST_FOREACH.Carl Hetherington
2021-01-07std::shared_ptrCarl Hetherington
2020-12-22Pass fonts from content around as FontData.Carl Hetherington
i.e. as a block of memory rather than a file. Also, get the fonts from the decoder rather than the content. Together, these changes allow us to use fonts from SMPTE DCPs added as content. Before, fonts would be messed up in those cases (#1885).
2020-12-22Fix crash on working out hints for content with subtitles.Carl Hetherington
Probably introduced in cadca6e4f8c1d844f1b5fb9375023e627c674fa9
2020-12-08In a DCP with any subs/ccaps, make sure every reel has them (#1340).Carl Hetherington
2020-12-08Factor out empty_text_asset() method.Carl Hetherington
2020-12-08Write subtitles and closed captions to a test DCP in the hints thread,Carl Hetherington
then check the result for Bv2.1 violations (part of #1800).
2020-12-08Make Writer take an output DCP path rather than getting it from theCarl Hetherington
film itself.
2020-12-08Use a weak_ptr<Film> in ReelWriter.Carl Hetherington
2020-12-08Split create_reel() up into some separate bits.Carl Hetherington
2020-12-06Remove a pointless parameter that the callee can calculate.Carl Hetherington
2020-11-21Subtitle language test updates.Carl Hetherington
2020-11-20Don't try to set empty languages on CCAP tracks.Carl Hetherington
2020-11-20Use a LanguageTag for closed caption tracks.Carl Hetherington
2020-11-20Subtitle language handling tweaks; write multiple subtitle languagesCarl Hetherington
to SMPTE extended metadata.
2020-11-20Fix potential crash if maybe_add_text() fails.Carl Hetherington
2020-11-20Store subtitle language(s) in Film, and allow setup of thoseCarl Hetherington
languages from the Interop/SMPTE metadata dialogues.
2020-11-20Always add FFOC and LFOC markers (#1805).Carl Hetherington
2020-11-02Pass around JPEG2000 data as a shared_ptr and hence avoid a copyCarl Hetherington
of 4MB of data for every JPEG2000 frame we decode.
2020-11-02Replace dcp::Data with dcp::ArrayDataCarl Hetherington
2020-10-21macOS / new boost build fixes.v2.15.104Carl Hetherington
2020-09-23Add audio language configuration and pass it to libdcp.Carl Hetherington
2020-08-25Move the code to find Liberation into util.cc.Carl Hetherington
2020-07-15Fix warning.Carl Hetherington
2020-07-11Use new channel 14 ATMOS sync creation code in libdcp,Carl Hetherington
and force films containing ATMOS to have 14 audio channels and be SMPTE.
2020-06-19Make Atmos content work more like other content. Now its MXFsv2.15.82Carl Hetherington
are re-written, meaning that they can be encrypted. This (along with the libdcp update) also fixes assorted Atmos bugs.
2020-06-17Allow more complete control over the libdcp/DCP-o-matic metadata written to ↵Carl Hetherington
various places.
2020-04-19Add _last_written to Writer, containing the last written frame and eyesCarl Hetherington
to each reel. This is updated when things are popped off the queue, with _state_mutex_held, and used in preference to the ones in ReelWriter which were previously being updated during the time the _state_mutex lock is unlocked in the body of Writer::thread(). This was not thread safe (thanks, valgrind!)
2019-11-06Remove duplicate log introduced by previos.Carl Hetherington
2019-11-06More logging when finding assets to put in reels.Carl Hetherington
2019-10-31Make separate reels for parts of the timeline with no video whenCarl Hetherington
we are in REEL_TYPE_BY_VIDEO_CONTENT mode. This fixes VF creation with gaps. Also the implementation of Film::reels() is cleaner now.
2019-10-26Avoid unnecessary re-writes of video assets if they are staying the same ↵v2.15.26Carl Hetherington
(#1638). This is particularly useful as it avoids the hard-link-breaking copy step which is necessary if you're going to re-write the video asset with new IDs.
2019-10-21Copy with progress updates when we might copy long files (#1574).Carl Hetherington
2019-10-09Fix cross-thread access to info files. May help with #1618.Carl Hetherington
2019-09-29Improve OpenFileError so that it doesn't say "opening for read"v2.15.20Carl Hetherington
in one case where it should say "opening for read/write". Also add some unit tests for ReelWriter.
2019-06-27Fix incorrect timing of PNG subtitles in second and subsequent reels.Carl Hetherington
2019-05-10Put Time types in dcpomatic namespace.Carl Hetherington