summaryrefslogtreecommitdiff
path: root/src/lib/reel_writer.cc
AgeCommit message (Collapse)Author
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
2019-05-10Update for libdcp API changes.Carl Hetherington
2019-05-10Basics of marker writing (part of #782).Carl Hetherington
2019-03-29Set CCAP language tag correctly.Carl Hetherington
2019-01-27Remove specification of italic/bold fonts (#1451); synthesis will be used ↵v2.13.110Carl Hetherington
instead.
2019-01-06Don't write <Language> tags to SMPTE subs unless we know the language,Carl Hetherington
as "Unknown" is an invalid value and <Language> is optional in SMPTE.
2018-12-23Be a bit more careful with fwrite.Carl Hetherington
2018-12-19Be more careful with fread in various places.v2.13.88Carl Hetherington
2018-11-21Tidy and fix logging.Carl Hetherington
2018-08-29Write annotation text and language to CCAP nodes correctly.Carl Hetherington
2018-08-29Basics of splitting CCAP streams into different assets.Carl Hetherington
2018-08-23Rename some caption -> text.Carl Hetherington
2018-08-22White space.Carl Hetherington
2018-08-04Some subtitle renaming.Carl Hetherington
2018-07-23Tidy up after mass rename.Carl Hetherington
2018-07-23More automated renaming.Carl Hetherington
ActiveCaptions -> ActiveText BitmapCaption -> BitmapText ContentCaption -> ContentText ContentTextCaption -> ContentStringText TextCaptionFileContent -> StringTextFileContent TextCaptionFileDecoder -> StringTextFileDecoder TextCaptionFile -> StringTextFile TextCaption -> StringText PlayerCaption -> PlayerText CaptionContent -> TextContent CaptionDecoder -> TextDecoder CaptionPanel -> TextPanel CaptionView -> TextView CaptionAppearanceDialog -> SubtitleAppearanceDialog CaptionType -> TextType
2018-07-19Untested writing of CCAP.Carl Hetherington
2018-07-19White space.Carl Hetherington
2018-07-19Clean up after previous commit.Carl Hetherington
2018-07-19Reword again: Text -> Caption and Plain -> Text.Carl Hetherington
sed -i "s/ActiveText/ActiveCaptions/g" src/lib/*.{cc,h} sed -i "s/active_text.h/active_captions.h/g" src/lib/*.{cc,h} sed -i "s/active_text.cc/active_captions.cc/g" src/lib/wscript mv src/lib/active_text.cc src/lib/active_captions.cc mv src/lib/active_text.h src/lib/active_captions.h sed -i "s/PlainTextFileContent/TextCaptionFileContent/g" src/lib/*.{cc,h} src/wx/*.cc sed -i "s/PlainTextFile/TextCaptionFile/g" src/lib/*.{cc,h} src/wx/*.cc sed -i "s/plain_text_file_content/text_caption_file_content/g" src/lib/*.{cc,h} src/lib/wscript src/wx/*.{cc,h} test/*.cc mv src/lib/plain_text_file_content.cc src/lib/text_caption_file_content.cc mv src/lib/plain_text_file_content.h src/lib/text_caption_file_content.h sed -i "s/PlainTextFileDecoder/TextCaptionFileDecoder/g" src/lib/*.{cc,h} sed -i "s/plain_text_file_decoder/text_caption_file_decoder/g" src/lib/*.{cc,h} src/lib/wscript src/wx/*.{cc,h} mv src/lib/plain_text_file_decoder.cc src/lib/text_caption_file_decoder.cc mv src/lib/plain_text_file_decoder.h src/lib/text_caption_file_decoder.h sed -i "s/PlayerText/PlayerCaption/g" src/lib/*.{cc,h} sed -i "s/player_text.cc/player_caption.cc/g" src/lib/wscript sed -i "s/player_text.h/player_caption.h/g" src/lib/*.{cc,h} mv src/lib/player_text.cc src/lib/player_caption.cc mv src/lib/player_text.h src/lib/player_caption.h sed -i "s/ContentPlainText/ContentTextCaption/g" src/lib/*.{cc,h} src/wx/*.{cc,h} sed -i "s/ContentBitmapText/ContentBitmapCaption/g" src/lib/*.{cc,h} src/wx/*.{cc,h} sed -i "s/PlainText/TextCaption/g" src/lib/*.{cc,h} test/*.cc sed -i "s/plain_text.h/text_caption.h/g" src/lib/*.{cc,h} mv src/lib/plain_text.h src/lib/text_caption.h
2018-07-19Get types into ReelWriter.Carl Hetherington
2018-07-19Finish PlayerSubtitles -> PlayerText and SubtitleString -> PlainText.Carl Hetherington
2018-07-19More renaming.Carl Hetherington
sed -i "s/emit_text/emit_plain/g" src/lib/*.cc src/lib/*.h sed -i "s/emit_image_start/emit_bitmap_start/g" src/lib/*.cc src/lib/*.h sed -i "s/emit_text_start/emit_plain_start/g" src/lib/*.cc src/lib/*.h sed -i "s/render_subtitles/render_text/g" src/lib/*.cc src/lib/*.h src/lib/wscript test/*.cc sed -i "s/ImageStart/BitmapStart/g" src/lib/*.cc src/lib/*.h sed -i "s/TextStart/PlainStart/g" src/lib/*.cc src/lib/*.h test/*.cc src/wx/*.cc sed -i "s/ImageSubtitle/BitmapText/g" src/lib/*.cc src/lib/*.h sed -i "s/text_subtitle/plain_text/g" src/lib/*.cc src/lib/*.h src/lib/wscript src/wx/*.cc src/wx/*.h test/*.cc sed -i "s/image_subtitle/bitmap_text/g" src/lib/*.cc src/lib/*.h mv src/lib/render_subtitles.cc src/lib/render_text.cc mv src/lib/render_subtitles.h src/lib/render_text.h mv src/lib/text_subtitle.cc src/lib/plain_text.cc mv src/lib/text_subtitle.h src/lib/plain_text.h
2018-07-08Write image subs to DCPs.Carl Hetherington
2018-07-08Fix build with shared_ptr dcp::Subtitle and subclasses.Carl Hetherington