summaryrefslogtreecommitdiff
path: root/src/lib
AgeCommit message (Collapse)Author
2024-05-31Make the DCP-encode counting dependent on variant.Carl Hetherington
2024-05-31Fix incorrect default _show_report_a_problem.Carl Hetherington
2024-05-30Render subtitles using show_in_cairo_context() instead of ↵Carl Hetherington
add_to_cairo_context(). This helps with #2813 and should fix #2474. We started using add_to_cairo_context() again in 72c3a5f0f32f553a1f8abee2494f31d29b976383 because the rendering looked better. However colour changes within lines cannot easily be rendered using add_to_cairo_context() it seems, as the text is just added as a path and then you can stroke/fill it with a single colour. I hope that this change, which reverts 72c3a5 but also adds some calls to enable hinting and use better anti-aliasing, looks OK. I looked at some white-on-black subs close-up and the hinting seems to help.
2024-05-29Merge remote-tracking branch 'origin/main' into v2.17.xCarl Hetherington
2024-05-29Bump SERVER_LINK_VERSION since we changed the name of some metadata.Carl Hetherington
2024-05-29Use territory details from template.Carl Hetherington
2024-05-29Get chain, facility, studio and distributor from template.Carl Hetherington
2024-05-29Remove default Interop/SMPTE setting.Carl Hetherington
2024-05-29Remove default video bit rate settings.Carl Hetherington
2024-05-29Remove default DCP audio channel setting.Carl Hetherington
2024-05-29Remove default DCP content type setting.Carl Hetherington
2024-05-26Fix build with newer libsub.Carl Hetherington
2024-05-25Improve save-template dialog and always use a default template.Carl Hetherington
2024-05-25Use std::vector for Config::templates().Carl Hetherington
2024-05-25Cleanup: make method private.Carl Hetherington
2024-05-24Read 16-bit audio DCPs correctly.Carl Hetherington
As far as I can tell they are totally non-standard, but apparently the IMS3000 plays them so I guess we should too.
2024-05-21Fix stream length for DCP content (#2688).Carl Hetherington
2024-05-19Don't make _stream_states for unmapped audio, otherwise we wait for contentCarl Hetherington
which will never arrive.
2024-05-19Add and use Content::has_mapped_audio().Carl Hetherington
2024-05-19Merge remote-tracking branch 'origin/main' into v2.17.xCarl Hetherington
2024-05-19Another old libxml API instance.Carl Hetherington
2024-05-19Fix old libxml API use from main.Carl Hetherington
2024-05-17Emit no audio from DCPs if none is mappedv2.16.85Carl Hetherington
This makes DCP content behave the same as FFmpeg.
2024-05-17Make sure we don't say some content has audio if none will be emitted.Carl Hetherington
In the FFmpeg (and shortly DCP) case we don't emit any audio if none is mapped, so we must take this into account in the player.
2024-05-16Merge branch 'main' into v2.17.xCarl Hetherington
2024-05-15Update DCP encoder progress on all passe()es, not just when audio is emitted.Carl Hetherington
2024-05-15Get DCP transcode progress from the player (#2804).Carl Hetherington
2024-05-14Fix warning cause by previous libdcp bump.Carl Hetherington
2024-05-13Fix case where both XML and sqlite3 files are present, and config.xml still ↵Carl Hetherington
refers to the XML. Then we would leave the config.xml pointing at the XML, and everything after that assumes that cinemas_file is sqlite3. Instead we always set the cinemas file to the sqlite3 version, and convert if it it wasn't there before.
2024-05-13Don't bother decoding audio if none of it is mapped (#2809).Carl Hetherington
On a test adding subs from an MKV to an existing DCP this reduces the processing time from ~2h to ~1m because it doesn't resample the audio from the whole of the MKV, only to discard it.
2024-05-11Stop using video directory and hard-linking (#2756).Carl Hetherington
Instead store details of a previously-created asset in the film's metadata and then look there for potential video files to re-use.
2024-05-09Fix history trimming.Carl Hetherington
2024-05-08Merge remote-tracking branch 'origin/main' into v2.17.xCarl Hetherington
2024-05-08Merge branch 'main' into v2.17.xCarl Hetherington
2024-05-08Work around deadlock when destroying J2KEncoder with a full writer queue ↵v2.16.83Carl Hetherington
(#2784). This feels like a hack, but I can't think of a nicer way to do it. The interruption disable makes sense because when we destroy encoder threads during a DCP encode (because a remote server goes away, for example) we don't want any frames to be lost due to the encode thread being interrupted between taking the frame off the queue and sending it to the writer. When we're destroying the encoder we don't care about this, but I can't see how you'd differentiate. Maybe the encoder queue could have two lists: to-do and in-progress; the encoder thread atomically moves a frame from to-do to in-progress, but then how do you know when the in-progress ones are orphaned and need to be re-added to the main queue. You could make the writer return saying "no" if the queue is full (rather than blocking and waiting for the queue to empty) but that seems wasteful as then the frame would be re-encoded.
2024-05-08Add some missing includes.Carl Hetherington
2024-05-06Use sqlite for cinema and DKDM recipient lists.Carl Hetherington
2024-05-02Updated cs_CZ translation from Tomáš Begeni.Carl Hetherington
2024-05-01Merge branch 'main' into v2.17.xCarl Hetherington
2024-04-29Fix silent stereo mixdown exports when the project audio channel count is > 6.Carl Hetherington
This became much more of a problem when we started defaulting to 8 channels in projects.
2024-04-29Cleanup a few verbose asio-related calls.Carl Hetherington
2024-04-26Allow branding of "report a problem" dialog.Carl Hetherington
2024-04-26Splash behaviour does not need to be branded after all.Carl Hetherington
2024-04-26Allow customisation of error report email address.Carl Hetherington
2024-04-24Restore time zone to Cinema and improve UI to use it (#2473).Carl Hetherington
2024-04-23Revert "Tweak how lzma is linked."Carl Hetherington
This reverts commit 604a5f9343eebfa0108a19bb6b8ec60bc81f4819. I don't know why I did this, and it breaks the mac-old (10.8) target as the lzma.5.dylib is not present on those machines.
2024-04-22Don't emit video until film's end if we are seeking.Carl Hetherington
Otherwise if we seek to the frame just before the end of the DCP we'll call emit_video_until() with _next_video unset, causing that method to emit video for the whole film. The point of this emit_video_until() call is only to pad a space between the end of the video content and the end of the film.
2024-04-22Report video range from MPEG2 DCPs correctly.Carl Hetherington
2024-04-22Use mpeg2 prefix for MPEG2 video asset filenames.Carl Hetherington
2024-04-22Disable some hints when encoding to MPEG2.Carl Hetherington