summaryrefslogtreecommitdiff
path: root/src/tools/dcpomatic_cli.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-02-19 23:22:31 +0100
committerCarl Hetherington <cth@carlh.net>2024-02-19 23:22:31 +0100
commit51dda295b5bd63e6635ae17786e4657c41a3678a (patch)
tree77e57cb29e188d3b66f9d60c11b5ed6176ad4c93 /src/tools/dcpomatic_cli.cc
parent8af709285d056476933dbfaf63c9b2121fbd4ce8 (diff)
parentf23b9491dcd25d02f7966f39dfdbb0ad998aa5ad (diff)
Merge tag 'v2.16.77' into v2.17.x
Diffstat (limited to 'src/tools/dcpomatic_cli.cc')
-rw-r--r--src/tools/dcpomatic_cli.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_cli.cc b/src/tools/dcpomatic_cli.cc
index c335db616..9cb3c832a 100644
--- a/src/tools/dcpomatic_cli.cc
+++ b/src/tools/dcpomatic_cli.cc
@@ -94,12 +94,13 @@ 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";
for (auto c: film->content()) {
cout << "\n"
- << c->path(0) << "\n"
+ << c->path(0).string() << "\n"
<< "\tat " << c->position().seconds ()
<< " length " << c->full_length(film).seconds ()
<< " start trim " << c->trim_start().seconds ()