diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-02-18 00:32:37 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-02-18 00:32:37 +0100 |
| commit | 145177aeee61de5a893b3c58beefc9d840674213 (patch) | |
| tree | 250f2a8e966d6a05e41a473f7c3d18965d990b32 | |
| parent | 30282fee32b9f2e9441bc9e4f821dd950d184ed0 (diff) | |
Add film duration to --dump output (#1702).
| -rw-r--r-- | src/tools/dcpomatic_cli.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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> 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"; |
