summaryrefslogtreecommitdiff
path: root/src/lib/writer.cc
AgeCommit message (Collapse)Author
2019-04-02Extract subtitle language from text content rather than ISDCFMetadata (part ↵Carl Hetherington
of #1516).
2018-12-23Be a bit more careful with fwrite.Carl Hetherington
2018-11-21Tidy and fix logging.Carl Hetherington
2018-09-02White space.Carl Hetherington
2018-08-29Add some asserts.Carl Hetherington
2018-08-29Basics of splitting CCAP streams into different assets.Carl Hetherington
2018-08-23More caption -> text.Carl Hetherington
2018-07-24Tweak debug message.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-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-19Partial conversion of PlayerSubtitles -> PlayerText and SubtitleString -> ↵Carl Hetherington
PlainText.
2018-07-08Write image subs to DCPs.Carl Hetherington
2018-07-06Missing wakeups of the writer thread when we are waiting for it do something.v2.13.34Carl Hetherington
2018-06-09Another writer deadlock fix.Carl Hetherington
2018-06-07Assorted fixes to queue management.Carl Hetherington
2018-06-07Check that we're not about to deadlock if the queue is full and we can't ↵Carl Hetherington
repeat-write.
2018-06-05Don't allow the queue to get too big with REPEAT frames otherwisev2.13.26Carl Hetherington
there's a long delay at the end of the job while they are written. We must still write FULL frames even if the queue is long (we only stop doing that if the queue has too many FULL frames i.e. too much memory consumption). With this commit we stop writing REPEAT/FAKE frames when the queue gets long and assume there will always be a sequence image for writing and hence the main writer thread will reduce the queue given time.
2018-05-15Fix failure to skip through more than one empty reel when looking for a reel ↵Carl Hetherington
to put subtitles in.
2018-04-19Add unit test to trigger #1275 and an assert to prevent the segfault.Carl Hetherington
2018-03-07Don't fake-write encrypted video frames as the asset ID is somehow (?)Carl Hetherington
embedded in the HMAC (#1232).
2018-02-16Name threads on Linux.Carl Hetherington
2017-12-29Do split buffers over reel boundaries correctly.Carl Hetherington
2017-12-29Previously the code did not account for referenced audio, so farCarl Hetherington
as I can see. It decided which reel to write new audio to based on how many frames had been written to the current reel; this makes no sense for referred reels for which the player will emit no audio. This code looks at the audio timestamp instead.
2017-10-05Add configuration option to set writer's maximum frames in memory.Carl Hetherington
2017-06-29Offer only flat/scope/full-frame as container choices and differentiateCarl Hetherington
the names from the UI for content ratios.
2017-06-15Fix crash when finding DCP size with Interop subs.Carl Hetherington
2017-06-11Fix incorrect audio MXFs when writing multiple reels.Carl Hetherington
2017-06-08Add size and audio/subtitle languages to contact sheet.Carl Hetherington
2017-05-09Simple cover sheet support (#1039).Carl Hetherington
2017-04-27Distinguish master DoM encode threads count from the server count.Carl Hetherington
2017-04-19Fix audio when it spans reel boundaries.Carl Hetherington
2017-04-19Fix pull timing; fix units of ReelWriter::total_written_audio_frames.Carl Hetherington
2017-04-19Attempt to tidy up internal APIs slightly.Carl Hetherington
2017-04-19Implement subtitles.Carl Hetherington
2017-04-05More detailed error with an invalid signer chain.Carl Hetherington
2017-04-03Confirm overwrite of existing DCP when creating a new one.Carl Hetherington
2017-02-12Use CPL annotation text for ASSETMAP and PKL (#1048).Carl Hetherington
2017-01-29Better debug log message.Carl Hetherington
2016-10-24Build fix.Carl Hetherington
2016-10-24Fix broken digest progress reporting (#977).Carl Hetherington
2016-08-12Remove all use of stringstream in an attempt to fixCarl Hetherington
the suspected thread-unsafe crash bugs on OS X.
2016-08-04Different configuration of filename format for assets / metadata (since ↵Carl Hetherington
CPL/PKL files don't refer to reels).
2016-07-31Allow configuration of MXF/XML filenames (part of #710).Carl Hetherington
2016-07-29Add reel index/count to DCP filename format.Carl Hetherington
2016-07-29Basics of custom DCP filename components.Carl Hetherington
2016-07-27Do parallel digest calculation when there are multiple reels (#855).Carl Hetherington
2016-06-13Rename MD5Digester -> Digester.Carl Hetherington