From 145177aeee61de5a893b3c58beefc9d840674213 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 18 Feb 2024 00:32:37 +0100 Subject: [PATCH] Add film duration to --dump output (#1702). --- src/tools/dcpomatic_cli.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/dcpomatic_cli.cc b/src/tools/dcpomatic_cli.cc index 308b11506..c07f39add 100644 --- a/src/tools/dcpomatic_cli.cc +++ b/src/tools/dcpomatic_cli.cc @@ -91,6 +91,7 @@ print_dump (shared_ptr film) cout << film->dcp_name (true) << "\n" << film->container()->container_nickname() << " at " << ((film->resolution() == Resolution::TWO_K) ? "2K" : "4K") << "\n" << (film->j2k_bandwidth() / 1000000) << "Mbit/s" << "\n" + << "Duration " << (film->length().timecode(film->video_frame_rate())) << "\n" << "Output " << film->video_frame_rate() << "fps " << (film->three_d() ? "3D" : "2D") << " " << (film->audio_frame_rate() / 1000) << "kHz\n" << (film->interop() ? "Inter-Op" : "SMPTE") << " " << (film->encrypted() ? "encrypted" : "unencrypted") << "\n"; -- 2.30.2