summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_content.cc
AgeCommit message (Collapse)Author
2025-05-11Cleanup: use constexpr for content and player properties.Carl Hetherington
Also fix a clash between the ATMOS and player properties.
2025-01-20Pass tolerant flag into Content::examine() and the ExamineContentJob.Carl Hetherington
Along the way this helps to fix #2942.
2025-01-05Bump libdcp for raw_convert changes.Carl Hetherington
raw_convert<string> is gone, so here we use fmt::{to_string,format} instead. Other raw_converts now use fast_float.
2024-09-18Fix thinko in relative path change.Carl Hetherington
We have to canonicalise relative paths with respect to the film's directory on load, otherwise we try to use the relative path and it's interpreted against the current working directory. This unfortunately requires the film's directory to be piped into quite a lot of new places.
2024-08-17Add option to use relative content paths (#2856).Carl Hetherington
2024-04-21Extract all uses of DCP-o-matic name to allow branding.Carl Hetherington
2024-03-29Merge remote-tracking branch 'origin/main' into v2.17.xCarl Hetherington
2024-03-29Fix video scaling when the video needs rotation (#2791).Carl Hetherington
2024-03-20Remove all use of add_child() from xmlpp.Carl Hetherington
2024-02-21Make DCPExaminer::size() optional and deal with the consequences.v2.16.78Carl Hetherington
This means we can fix the case of a VF having no known size in a nice way, in turn fixing problems caused by the fix to #2775.
2023-12-12Add a premultiply filter to sources with an alpha channel (#2681).Carl Hetherington
2023-11-20Cleanup: handle Filter objects by value rather than by reference.Carl Hetherington
2022-12-10Extract constants.hCarl Hetherington
2022-11-26Noisy change to get film into AudioContent::modify_trim_start().Carl Hetherington
2022-10-21Fix colour range property for subsampled sources (#2357).Carl Hetherington
2022-07-11Fix font_id errors with files decoded by FFmpeg which have subtitles.Carl Hetherington
I'm not sure if this goes far enough - it seems impossible to find all the font IDs used in a FFmpeg file without scanning it. I don't know if (for example) SSA-format font IDs make it through to DoM when decoded by FFmpeg.
2022-04-08Guess video range better when importing 2.14.x projects (#2227).Carl Hetherington
2021-09-19Fix failure to open v2.14.x documents with invalid or empty subtitle ↵Carl Hetherington
languages (#2085).
2021-04-07Assorted C++11/formatting cleanups.Carl Hetherington
2021-01-31Use enum class for Film::Property.Carl Hetherington
2021-01-31More enum class additions.Carl Hetherington
2021-01-08c++ tidying.Carl Hetherington
2021-01-07BOOST_FOREACH.Carl Hetherington
2021-01-07std::shared_ptrCarl Hetherington
2020-11-23Remove swaroop variant.Carl Hetherington
2020-11-16Fix limited value ranges in properties.Carl Hetherington
2020-08-02Detect soft 2:3 pulldown (telecine) files and decode them at 23.976.Carl Hetherington
DVD rips from NTSC DVDs are sometimes (always?) encoded using soft 2:3 pulldown. The video frames are actually 23.976 but FFmpeg detects them as 29.97. With the current approach of the video decoder ignoring most PTSs and assuming a constant frame rate it is vital that the file contains the number of frames per second that the detected frame rate predicts. This fixes large sync errors with NTSC DVD rips (#1790).
2019-06-09swaroop: support validity periods in ecinema KDMs.Carl Hetherington
2019-05-14Non-swaroop build fixes.v2.15.4Carl Hetherington
2019-05-14swaroop: fix incorrect start times with encrypted MP4 content.attic/swaroop-v2.15.xCarl Hetherington
2019-05-13swaroop: basics of encrypted MP4 playback.Carl Hetherington
2019-05-10Put Time types in dcpomatic namespace.Carl Hetherington
2019-02-01Fix crash when importing a file called subs.srt.txt.Carl Hetherington
2018-12-12Fix content properties (#1428).Carl Hetherington
2018-11-23Remove required Film from content examine.Carl Hetherington
2018-11-23Move make_default into AudioMapping.Carl Hetherington
2018-11-21Tidy and fix logging.Carl Hetherington
2018-11-21Add and use new FrameRateChange constructors.Carl Hetherington
2018-11-21Take Film pointer out of Content.Carl Hetherington
2018-10-31swaroop: beginning of encrypted MP4 / .ecinema.v2.13.65Carl Hetherington
2018-10-19Add decryption support.v2.13.63Carl Hetherington
2018-08-20Make ContentChange into a generic ChangeSignaller and use it for Filmv2.13.44Carl Hetherington
changes, since we setup_pieces() in response to at least one of these and hence we must know before it happens so we can suspend the butler and player.
2018-08-14More fixes for errors / crashes / misbehaviour with content changesCarl Hetherington
and the butler. Here we signal both before and after a change in content. Before, the player disables itself so that any pass()/seek() will be no-ops. After, the player rebuilds its pieces and the butler re-seeks to get back to where it was before the change.
2018-07-23Introduce the idea of unknown original subtitle type to clean up the GUI a bit.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-22Display only required tabs, including subs / ccap.Carl Hetherington
2018-07-21Fix join for new caption stuff.Carl Hetherington
2018-07-21Revert "Remove join function; the code is long and I don't think anybody"Carl Hetherington
It turns out Carsten uses it :) This reverts commit bd5e8b83a3a18787241982efdae809d4db21f65d.
2018-07-21Basics of multiple captions per content so that DCPContent canCarl Hetherington
hold subs and closed captions.