summaryrefslogtreecommitdiff
path: root/src/lib/writer.cc
AgeCommit message (Collapse)Author
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
2016-05-29Move transcode progress updating.Carl Hetherington
Do this in the transcoder rather than the writer so that it updates even if video is being referenced.
2016-05-25No-op; fix GPL address and use the explicit-program-name version.Carl Hetherington
2016-02-21Don't write duplicate <LoadFont> nodes into subtitle files.Carl Hetherington
2015-12-21Increase number of frames stored in memory before write (#748).Carl Hetherington
2015-12-18Stop double-calculation of hashes.Carl Hetherington
2015-12-06Add some more debugging.Carl Hetherington
2015-12-04Use libdcp's compress_j2k; move Data into libdcp.Carl Hetherington
2015-11-30I think it's ok and less crash-prone to check joinable() ratherCarl Hetherington
than asserting it; I have seen traces which suggest the assert might be triggering. In an ideal world we would track down why that's happening.
2015-11-27Fix reel that subtitles are put in when they are exactly on a reel boundary.Carl Hetherington
2015-10-22Move quite a lot of stuff out of Writer into a new classCarl Hetherington
ReelWriter, which hopefully cleans things up a bit.
2015-10-22Remove ref_write mechanism and instead maintain state for eachCarl Hetherington
reel being written so that we don't need to keep track of frames that are being referenced.
2015-10-22Various multi-reel fixes.Carl Hetherington
* _video_frames_enqueued -> _position * some int -> Frame replacements * Call Writer::ref_write when there is nothing to encode / write for one frame. * Assume Encoder::encode is called once per output video frame. * Possibly correct some off-by-1 overlap bugs. * Don't reset _last_written on FAKE write as I believe there is no need.
2015-10-12Rename split-by-video content slightly; fix referencing to multi-reel DCPs.Carl Hetherington
2015-10-12Fix merge.Carl Hetherington