summaryrefslogtreecommitdiff
path: root/src/lib/encode_cli.cc
AgeCommit message (Collapse)Author
2025-09-02Untested conversion to num/den DCPTime.arbitrary-hzCarl Hetherington
Summary of required changes: Replace ::from_frames with a constructor that takes num/den. Provide and use member to_debug_string() instead of to_string(). Provide and use member to_serializable_string() and string constructor instead of fmt::to_string on .get() and number constructor. Provide and use content_time() member instead of ContentTime constructor from DCPTime. Use frames_round(96000) instead of get() when comparing times to see if they are "close enough". Provide and use DCPTime(x, FrameRateChange) constructor when converting from ContentTime. Use .seconds() when calculating proportions or sometimes when dividing by HZ. Provide and use operator bool(). Pass explicit 96000 denominator in a lot of places. Add member max() and use it instead of static max() Change BOOST_CHECK_EQUAL to BOOST_CHECK Provide operator/ and use it instead of .get() / 2.
2025-07-10Replace String::compose with fmt.Carl Hetherington
sed -i "/Plural-Forms/n;/%100/n;/scanf/n;s/%[123456789]/{}/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/tools/*.cc src/lib/po/*.po src/wx/po/*.po src/tools/po/*.po test/*.cc sed -i "s/String::compose */fmt::format/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/tools/*.cc test/*.cc
2025-06-17Pass Ratio around as an object rather than a pointer.Carl Hetherington
2025-03-08Allow configuration of Grok GPU index.Carl Hetherington
2025-03-08Add list-gpus command to dcpomatic2_cli.Carl Hetherington
2025-03-08Support some more grok configuration in the dcpomatic2_cli.Carl Hetherington
2025-03-08Allow configuration of Grok licence via dcpomatic2_cli (#2981).Carl Hetherington
2025-03-08Further help clarification.Carl Hetherington
2025-03-08Tweak help to suggest that the film is really a command parameter.Carl Hetherington
2025-03-08Make --dump into a command.Carl Hetherington
2025-03-08Make --list-servers into a command.Carl Hetherington
2025-03-08Preparation for offering command in the encode CLI.Carl Hetherington
2025-03-08Add a basic test of the encode CLI.Carl Hetherington
2025-03-08Remove unnecessary new line.Carl Hetherington
2025-03-05Create SignalManager in the front end, not the tested part.Carl Hetherington
Otherwise the wrong SignalManager gets used for some tests (after an encode_cli test) which causes problems.
2025-03-03Fix some erroneous exit() commands in the new encode CLI.Carl Hetherington
2025-03-03Fix use of program_name in encode CLI.Carl Hetherington
2025-03-03Tidy up by using a shared_ptr.Carl Hetherington
2025-03-02Move CLI encoder to a vaguely-testable method.Carl Hetherington