1 <?xml version="1.0" encoding="utf-8"?>
3 <!ENTITY % sgml.features "IGNORE">
4 <!ENTITY % xml.features "INCLUDE">
5 <!ENTITY % dbcent PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.5//EN"
6 "/usr/share/xml/docbook/schema/dtd/4.5/dbcentx.mod">
8 <!ENTITY % extensions SYSTEM "extensions.ent">
11 <book xmlns="http://docbook.org/ns/docbook" xmlns:mml="http://www.w3.org/1998/Math/MathML" version="5.0" xml:lang="en">
14 <title>DCP-o-matic users' manual</title>
15 <author><firstname>Carl</firstname><surname>Hetherington</surname></author>
18 <chapter xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="en">
19 <title>Introduction</title>
22 Hello, and welcome to DCP-o-matic!
25 <!-- ============================================================== -->
27 <title>What is DCP-o-matic?</title>
30 DCP-o-matic is a program to generate <ulink
31 url="http://en.wikipedia.org/wiki/Digital_Cinema_Package">Digital
32 Cinema Packages</ulink> (DCPs) from almost any video, audio and/or
33 subtitle source files. The resulting DCPs will play on modern digital
40 <!-- ============================================================== -->
42 <title>Licence</title>
45 DCP-o-matic is free and open-source and is licensed under the <ulink
46 url="http://www.gnu.org/licenses/old-licenses/gpl-2.0.html">GNU
53 <!-- ============================================================== -->
55 <title>Acknowledgements</title>
58 This manual uses icons from the <ulink url="http://tango.freedesktop.org/">Tango Desktop Project</ulink>, with thanks.
65 <!-- ============================================================== -->
66 <chapter xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="en">
67 <title>Installation</title>
70 <!-- ============================================================== -->
72 <title>Windows</title>
75 To install DCP-o-matic on Windows, download the installer from
76 <ulink url="http://dcpomatic.com/">http://dcpomatic.com/</ulink>
77 and double-click it. Click through the installer wizard, and
78 DCP-o-matic will be installed onto your machine.
82 If you are using a 32-bit version of Windows, you will need the 32-bit
83 installer. For 64-bit Windows, either installer will work, but I
84 suggest you used the 64-bit version as it will allow DCP-o-matic to
85 use more memory. You may find that DCP-o-matic crashes if you run
86 many parallel encoding threads (more than 4) on the 32-bit
93 <!-- ============================================================== -->
95 <title>Mac OS X</title>
98 DCP-o-matic will run on Mac OS X version 10.6 (Snow Leopard) and
99 higher. To install it, download the <code>.dmg</code> from <ulink
100 url="http://dcpomatic.com/">http://dcpomatic.com/</ulink> and double
101 click to open it. Then drag the DCP-o-matic icon to your
102 <guilabel>Applications</guilabel> folder or wherever else you would
108 <!-- ============================================================== -->
110 <title>Debian or Ubuntu Linux</title>
113 You can install DCP-o-matic on:
117 <listitem>Debian 7 (‘wheezy’)</listitem>
118 <listitem>Debian 8 (‘jessie’)</listitem>
119 <listitem>Debian unstable (‘sid’)</listitem>
120 <listitem>Ubuntu 12.04 (‘Precise Pangolin’)</listitem>
121 <listitem>Ubuntu 14.04 (‘Trusty Tahr’)</listitem>
122 <listitem>Ubuntu 15.04 (‘Vivid Vervet’)</listitem>
123 <listitem>Ubuntu 15.10 (‘Wily Werewolf’)</listitem>
127 using <code>.deb</code> packages: download the appropriate package
128 from <ulink url="http://dcpomatic.com/">http://dcpomatic.com/</ulink>
129 and double-click it. Debian or Ubuntu will install the necessary bits and
130 pieces and set DCP-o-matic up for you.
133 <!-- ============================================================== -->
136 <!-- ============================================================== -->
138 <title>Fedora Linux</title>
140 <para>There are <code>.rpm</code> packages for Fedora 22 and 23 on
141 <ulink url="http://dcpomatic.com/">http://dcpomatic.com/</ulink>
144 <!-- ============================================================== -->
147 <!-- ============================================================== -->
149 <title>Centos Linux</title>
150 <para>There are <code>.rpm</code> packages for Centos 6.5 and 7 on
151 <ulink url="http://dcpomatic.com/">http://dcpomatic.com/</ulink>
154 <!-- ============================================================== -->
157 <!-- ============================================================== -->
159 <title>Arch Linux</title>
161 Packages for Arch Linux are available from <ulink
162 url="https://aur.archlinux.org/packages/dcpomatic/">https://aur.archlinux.org/packages/dcpomatic/</ulink>,
163 thanks to Stefan Karner.
168 <!-- ============================================================== -->
170 <title>Other Linux distributions</title>
173 Installation on other Linux systems (for which no packages are
174 available) is quite hard; you will have to compile it from source. If
175 you are using distribution for which no packages are available, do let
176 me know by <ulink url="mailto:carl@dcpomatic.com">email</ulink> and I
177 will look into providing packages on the website.
181 The following dependencies are required:
183 <listitem><ulink url="http://ffmpeg.org/">FFmpeg</ulink></listitem>
184 <listitem><ulink url="http://www.mega-nerd.com/libsndfile/">libsndfile</ulink></listitem>
185 <listitem><ulink url="http://www.mega-nerd.com/SRC/">libsamplerate</ulink></listitem>
186 <listitem><ulink url="http://www.openssl.org/">OpenSSL</ulink></listitem>
187 <listitem><ulink url="http://www.openjpeg.org/">libopenjpeg</ulink></listitem>
188 <listitem><ulink url="http://www.imagemagick.org/script/index.php">ImageMagick</ulink></listitem>
189 <listitem><ulink url="http://www.boost.org/">Boost</ulink></listitem>
190 <listitem><ulink url="http://www.libssh.org/">libssh</ulink></listitem>
191 <listitem><ulink url="http://www.gtk.org/">GTK (on Linux)</ulink></listitem>
192 <listitem><ulink url="http://www.wxwidgets.org/">wxWidgets</ulink></listitem>
193 <listitem><ulink url="http://libxmlplusplus.sourceforge.net/">libxml++</ulink></listitem>
194 <listitem><ulink url="http://www.aleksey.com/xmlsec/">xmlsec</ulink></listitem>
195 <listitem><ulink url="http://curl.haxx.se/">curl</ulink></listitem>
196 <listitem><ulink url="http://www.nih.at/libzip/">libzip</ulink></listitem>
197 <listitem><ulink url="http://carlh.net/libdcp/">libdcp</ulink></listitem>
198 <listitem><ulink url="http://carlh.net/libsub/">libsub</ulink></listitem>
199 <listitem><ulink url="http://carlh.net/libcxml/">libcxml</ulink></listitem>
200 <listitem><ulink url="http://site.icu-project.org">libicu</ulink></listitem>
205 Once you have installed the development packages for the dependencies,
206 download the source code from <ulink
207 url="http://dcpomatic.com/">http://dcpomatic.com/</ulink>,
208 unpack it and run the following commands from inside the source
219 With any luck, this will build and install DCP-o-matic on your system. To run it, enter:
234 <!-- ============================================================== -->
235 <chapter xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="en">
236 <title>Creating a video DCP</title>
239 In this chapter we will see how to create a video DCP using
240 DCP-o-matic. We will gloss over the details and look at the basics.
244 <title>Creating a new film</title>
247 Let's make a very simple DCP to see how DCP-o-matic works. First, we
248 need some content. Download the low-resolution trailer for the open
249 movie <ulink url="http://sintel.org/">Sintel</ulink> from <ulink
250 url="http://ftp.nluug.nl/ftp/graphics/blender/apricot/trailer/Sintel_Trailer1.480p.DivX_Plus_HD.mkv">their
251 website</ulink>. Generally, of course, one would want to use the
252 highest-resolution material available, but for this test we will use
253 the low-resolution version to save everyone's bandwidth bills.
257 Now, start DCP-o-matic and its window will open. First, we will
258 create a new ‘film’. A ‘film’ is how DCP-o-matic refers to
259 some pieces of content, along with some settings, which we will make into
260 a DCP. DCP-o-matic stores its data in a folder on your disk while it
261 creates the DCP. You can create a new film by selecting
262 <guilabel>New</guilabel> from the <guilabel>File</guilabel> menu, as
263 shown in <xref linkend="fig-file-new"/>.
266 <figure id="fig-file-new">
267 <title>Creating a new film</title>
270 <imagedata fileref="screenshots/file-new&scs;"/>
276 This will open a dialogue box for the new film, as shown in <xref
277 linkend="fig-video-new-film"/>.
280 <figure id="fig-video-new-film">
281 <title>Dialogue box for creating a new film</title>
284 <imagedata fileref="screenshots/video-new-film&scs;"/>
290 In this dialogue box you can choose a name for the film. This will be
291 used to name the folder to store its data in, and also as the initial
292 name for the DCP itself. You can also choose whereabouts you want to create
293 the film. In the example from the figure, DCP-o-matic will create a
294 folder called ‘DCP Test’ inside my home folder (carl) into which it
295 will write its working files.
301 <!-- ============================================================== -->
303 <title>Adding content</title>
306 The next step is to add the content that you want to use. DCP-o-matic
307 can make DCPs from multiple pieces of content, but in this simple
308 example we will just use a single piece. Click the <guilabel>Add
309 file(s)...</guilabel> button, as shown in <xref
310 linkend="fig-add-file"/>, and a file chooser will open for you to
311 select the content file to use, as shown in <xref
312 linkend="fig-video-select-content-file"/>.
315 <figure id="fig-add-file">
316 <title>Adding content files</title>
319 <imagedata fileref="screenshots/add-file&scs;"/>
324 <figure id="fig-video-select-content-file">
325 <title>Selecting a video content file</title>
328 <imagedata fileref="screenshots/video-select-content-file&scs;"/>
334 Select your content file and click <guilabel>Open</guilabel>. In this
335 case we are using the Sintel trailer that we downloaded earlier.
339 When you do this, DCP-o-matic will take a look at your file. After a
340 short while (when the progress bar at the bottom right of the window
341 has finished), you can look through your content using the slider to
342 the right of the window, as shown in <xref linkend="fig-examine-content"/>.
345 <figure id="fig-examine-content">
346 <title>Examining the content</title>
349 <imagedata fileref="screenshots/examine-content&scs;"/>
355 Dragging the slider will move through your video. You can also click
356 the <guilabel>Play</guilabel> button to play the content back. <emphasis>Note
357 that there will be no sound</emphasis>, and playback might not be entirely
358 accurate (it may be slightly slower or faster than it should be, for
359 example). This player is really only intended for brief inspection of
360 content; if you need to check it more thoroughly, use another player
362 url="http://projects.gnome.org/totem/index.html">Totem</ulink>, <ulink
363 url="http://www.mplayerhq.hu/design7/news.html">mplayer</ulink> or
364 <ulink url="http://www.videolan.org/vlc/index.html">VLC</ulink>.
372 <!-- ============================================================== -->
374 <title>Making the DCP</title>
376 <para>In most cases, some adjustments would be made to DCP-o-matic's
377 settings once the content has been added. For our simple test,
378 however, the default values will suffice, so we can go straight onto
379 making the DCP.</para>
382 Choose <guilabel>Make DCP</guilabel> from the
383 <guilabel>Jobs</guilabel> menu. DCP-o-matic will encode your DCP.
384 This may take some time (many hours in some cases). While the job is
385 in progress, DCP-o-matic will update you on how it is getting on with
386 the progress bar in the bottom of its window, as shown in <xref
387 linkend="fig-making-dcp"/>.
390 <figure id="fig-making-dcp">
391 <title>Making the DCP</title>
394 <imagedata scale="50" fileref="screenshots/making-dcp&scs;"/>
400 When it has finished, the DCP will end up on your disk inside the
401 film's folder. You can then copy this to a projector via a USB
402 stick, hard-drive or network connection. See <xref
403 linkend="ch-files"/> for details about the files that DCP-o-matic creates.
407 Alternatively, if you have a projector or Theatre Management System
408 (TMS) that is accessible via SCP across your network, you can upload
409 the content directly from DCP-o-matic. See the <xref
410 linkend="sec-prefs-tms" endterm="sec-prefs-tms-short"/> in <xref linkend="sec-prefs-tms"/>.
417 <!-- ============================================================== -->
418 <chapter xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="en">
419 <title>Creating a still-image DCP</title>
422 DCP-o-matic can also be used to create DCPs of one or more still images, perhaps
423 for an advertisement or an on-screen announcement. This chapter shows you
428 As with video DCPs, the first step is to create a new
429 ‘Film’; select <guilabel>New</guilabel> from the
430 <guilabel>File</guilabel> menu and the new film dialogue will open as
431 shown in <xref linkend="fig-still-new-film"/>.
434 <figure id="fig-still-new-film">
435 <title>Dialogue box for creating a new film</title>
438 <imagedata fileref="screenshots/still-new-film&scs;"/>
444 Enter a name and click <guilabel>OK</guilabel>. Now we need to add
445 the content. As before, click <guilabel>Add file(s)...</guilabel>.
446 For our example, we will add a single image file, as shown in <xref
447 linkend="fig-still-select-content-file"/>.
450 <figure id="fig-still-select-content-file">
451 <title>Selecting a still content file</title>
454 <imagedata fileref="screenshots/still-select-content-file&scs;"/>
460 As with video DCPs, most of the default settings will be fine for a
461 simple test. The one thing that you might wish to change is the
462 length of the still. Select the <guilabel>Timing</guilabel> tab and
463 you will see a <guilabel>Play length</guilabel> setting, as shown in <xref
464 linkend="fig-timing-tab"/>.
467 <figure id="fig-timing-tab">
468 <title>The timing tab</title>
471 <imagedata fileref="screenshots/timing-tab&scs;"/>
477 This length is a ‘timecode’: it consists of four numbers.
478 The first is hours, the second minutes, the third seconds, and the
479 fourth frames. Enter the duration that you want and then click <guilabel>Set</guilabel>.
483 Finally, as with video, you can choose <guilabel>Make DCP</guilabel>
484 from the <guilabel>Jobs</guilabel> menu to create your DCP. This will
485 be much quicker than creating a video DCP, as DCP-o-matic only needs
486 to encode a single frame which it can then repeat.
492 <!-- ============================================================== -->
493 <chapter xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="en">
494 <title>Manipulating existing DCPs</title>
497 Frequently DCP-o-matic is used to take content in formats such as MP4
498 and convert it to JPEG2000 for a DCP. Alternatively, it can be used
499 to take existing DCPs and modify them in various ways.
503 <title>Importing a DCP into DCP-o-matic</title>
506 If you want to do something to an existing DCP the first step is to
507 import it. Click <guilabel>Add folder...</guilabel> and select your
508 DCP's folder. It will be added to the DCP-o-matic project. If the
509 DCP is unencrypted you can preview it in the normal way, though
510 playback will be very slow as decoding of DCPs is almost as
511 computationally intensive as encoding them.
518 <title>Decrypting encrypted DCPs</title>
521 DCPs can be encrypted (see <xref linkend="ch-encryption"/> for
522 details). If you import an encrypted DCP you will need a key, in the
523 form of a Key Delivery Message (KDM), to decrypt it.
527 KDMs must be prepared by the organisation which created the DCP. They
528 contain the keys to decrypt the DCP wrapped up in such a way that only
529 the intended recipient can read them. You will need to provide the
530 organisation with a certificate which identifies your copy of
531 DCP-o-matic and allows them to create a KDM for you.
535 To get DCP-o-matic's decryption certificate, open the Preferences
536 dialogue (see <xref linkend="ch-preferences"/>) and go to the
537 <guilabel>Keys</guilabel> tab. Click the <guilabel>Export DCP
538 decryption certificate...</guilabel> button at the bottom of this tab
539 and save the certificate. Send this certificate to the DCP creators
540 and they can create a KDM to allow DCP-o-matic to decrypt their DCP.
544 Once you have your KDM, right-click the DCP's name in DCP-o-matic and
545 choose <guilabel>Add KDM...</guilabel>. Specify your KDM and (all
546 being well) the DCP will be decrypted and become available for preview.
553 <title>Making a DCP from a DCP</title>
556 In many ways, using DCPs as <emphasis>content</emphasis> in
557 DCP-o-matic is the same as using any other content. There are a few
558 things to note, though.
563 <title>Re-use of existing data</title>
566 Where possible DCP-o-matic will re-use existing JPEG2000-compressed
567 data from DCP content without modification. This has the advantage
568 that creation of the new DCP will be quick, as the time-consuming
569 JPEG2000 encoding is not necessary.
573 DCP-o-matic can do this if you avoid changes to the following content
578 <listitem>Crop</listitem>
579 <listitem>Scaling</listitem>
580 <listitem>Subtitle burn-in</listitem>
581 <listitem>Fades</listitem>
582 <listitem>Colour conversion</listitem>
586 If you do change any of these settings on a piece of DCP content
587 DCP-o-matic will decode and then re-encode the JPEG2000 data.
594 <title>Making overlay files</title>
597 With its default settings, DCP-o-matic will take any data from DCP
598 content and copy it into the DCP that it creates. See <xref linkend="fig-dcp-copy"/>.
601 <figure id="fig-dcp-copy">
602 <title>Creating a new DCP by copying an existing one</title>
603 <mediaobject><imageobject><imagedata scale="100" fileref="diagrams/dcp-copy&dia;"/></imageobject></mediaobject>
607 This can be inefficient in some cases. Consider, for example, a film
608 which has ten different translations for which the subtitles are
609 different but video and audio are the same. If the video and audio
610 content takes up, say, 100Gb this means that the set of DCPs for every
611 translation would be about 1Tb with a lot of duplicated data.
615 The DCP format has a solution to this problem. One DCP can refer to
616 the ‘assets’ (picture, sound or subtitle) of another DCP.
617 For our translation example this means that we could have a
618 ‘base’ DCP (often called the OV or Original Version)
619 containing video, audio and one set of subtitles and then any number
620 of overlay DCPs (often called VF or Version Files) which refer to the
621 base version and replace the original subtitles with their own. <xref
622 linkend="fig-dcp-refer"/> shows this principle for one of our
623 translations. The DCP that we make refers to the original content
624 DCP's video and audio rather than containing a copy.
627 <figure id="fig-dcp-refer">
628 <title>Creating a new DCP by referring to an existing one</title>
629 <mediaobject><imageobject><imagedata scale="100" fileref="diagrams/dcp-refer&dia;"/></imageobject></mediaobject>
633 To play back the subtitled DCP the projectionist ingests both the base
634 (OV) DCP and the overlay (VF) DCP, then plays the VF one.
644 <!-- ============================================================== -->
647 <!-- ============================================================== -->
648 <chapter xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="en">
649 <title>Content settings</title>
652 The previous chapters showed DCP generation using the default
653 settings. DCP-o-matic offers a range of features to adjust the
654 content that goes into your DCP, and this chapter describes those
659 <title>Adding and removing content</title>
662 At the top of the <guilabel>Content</guilabel> tab is a list of the
663 content that will go into our DCP. There can be as many pieces of
664 content as you like, and they can be of the following types:
668 <listitem>Movie — a file containing some video, probably some
669 audio and possibly some embedded subtitles; for example, a MOV, MP4 or VOB.
672 <listitem>Sound — a file containing one or more channels of
673 audio; for example, a WAV or AIFF file.
676 <listitem>Still image — a file containing a single still image; for
677 example, a JPEG, PNG or TIFF file.
680 <listitem>Moving image — a directory containing many still
681 images which should be treated as the frames of a video.
684 <listitem>Subtitle — a file containing subtitle which will be
685 superimposed on the image of the DCP. These can be
686 <guilabel>.srt</guilabel> or <guilabel>.xml</guilabel>
689 <listitem>DCP — an existing DCP.</listitem>
693 To add one or more movie, sound, still-image or subtitle files, select
694 <guilabel>Add file(s)...</guilabel> and choose them from the selector.
698 To add a directory (folder) of images or a DCP, choose <guilabel>Add
699 folder...</guilabel> and choose the directory from the selector. If
700 you select a folder of images DCP-o-matic will open a small dialogue
701 box where you can enter the frame rate that the image sequence should
706 You can remove a piece of content by clicking on its name and then
707 clicking the <guilabel>Remove</guilabel> button.
712 <!-- ============================================================== -->
714 <title>Adding existing DCPs</title>
716 <para>Adding existing DCPs to a DCP-o-matic film is a little different
717 to adding other types of content. Most content has to be converted to
718 JPEG2000, the compression scheme used by DCPs, which is a very
719 time-consuming process. Existing DCPs are already in JPEG2000 format
720 so do not require conversion. This means that, provided no settings
721 such as crop are used on the DCP content, picture and sound data will
722 be passed from existing to new DCP unaltered.
725 <para>Encrypted DCPs that are added as content will require a KDM
726 targeted at DCP-o-matic so that DCP-o-matic can decrypt them. You
727 should ask the creator of the imported DCP to provide a KDM for
728 DCP-o-matic's decryption certificate, which can be obtained by
729 clicking <guilabel>Export DCP decryption certificate...</guilabel>
730 from the <guilabel>Keys</guilabel> tab of the
731 <guilabel>Preferences</guilabel> dialog (see <xref
732 linkend="sec-prefs-keys"/>).
737 <!-- ============================================================== -->
739 <title>Content Properties</title>
742 Below the content list are the controls to set content properties. To
743 adjust the properties for a piece of content, click its name in the
744 content list. The content property controls will then become active
745 for that piece of content.
749 If you want to change the properties for multiple pieces of content at
750 the same time, select the content in the list by clicking the first
751 piece then clicking the other pieces with <keycap>shift</keycap> key
752 held down. Note that not all settings can be changed in this way.
756 The content properties are split up into four sections:
757 <guilabel>Video</guilabel>, <guilabel>Audio</guilabel>,
758 <guilabel>Subtitles</guilabel> and <guilabel>Timing</guilabel>. Not
759 all of these sections will be active for all content types. The controls
760 in each section are described below.
766 <!-- ============================================================== -->
771 The <guilabel>Video</guilabel> tab controls properties of the image, as shown in <xref linkend="fig-video-tab"/>.
774 <figure id="fig-video-tab">
775 <title>Video settings tab</title>
778 <imagedata fileref="screenshots/video-tab&scs;"/>
784 <!-- ============================================================== -->
786 <title>Image type</title>
789 The first option on this tab is the ‘type’ of the video.
790 This specifies how DCP-o-matic should interpret the video's image.
791 <guilabel>2D</guilabel> is the default; this just takes the video
792 image as a standard 2D frame. The <guilabel>3D
793 left/right</guilabel> option tells DCP-o-matic to interpret the frame as a
794 left-right pair, as shown in <xref linkend="fig-3d-left-right"/>.
797 <figure id="fig-3d-left-right">
798 <title>3D left/right image type</title>
801 <imagedata scale="100" fileref="diagrams/3d-left-right&dia;"/>
807 Alternatively the <guilabel>3D top/bottom</guilabel> option tells
808 DCP-o-matic to see the frame as a top-bottom pair, as shown in <xref
809 linkend="fig-3d-top-bottom"/>.
812 <figure id="fig-3d-top-bottom">
813 <title>3D top/bottom image type</title>
816 <imagedata scale="100" fileref="diagrams/3d-top-bottom&dia;"/>
822 Another option is <guilabel>3D alternate</guilabel> which takes the
823 first frame of the content as for the left eye, the second for the
824 right eye, the third for the left, and so on. Finally, you can
825 specify <guilabel>3D left only</guilabel> or <guilabel>3D right
826 only</guilabel> if this content contains only the the left or right
827 eye images. This is useful when you have the left and right eye image
828 sets in different files; you can specify one content as <guilabel>3D
829 left only</guilabel> and another as <guilabel>3D right only</guilabel>
830 and DCP-o-matic will pick up the appropriate frames from each.
836 <!-- ============================================================== -->
838 <title>Filtering</title>
841 The ‘filters’ settings allow you to apply various video
842 filters to the image. These may be useful to try to improve
843 poor-quality sources like DVDs. You can set up the filters by clicking the
844 <guilabel>Edit</guilabel> button next to the filters entry in the
845 setup area of the DCP-o-matic window; this opens the filters selector
846 as shown in <xref linkend="fig-filters"/>.
849 <figure id="fig-filters">
850 <title>Filters selector</title>
853 <imagedata fileref="screenshots/filters&scs;"/>
859 After changing the filters setup, you will need to regenerate the DCP
860 to see the effect on the cinema screen. The preview in DCP-o-matic
861 will update itself whenever filters are changed, though of course this
862 image is much smaller and of lower resolution than a projected image!
868 <!-- ============================================================== -->
870 <title>Colour conversion</title>
873 The <guilabel>Colour conversion</guilabel> setting specifies what
874 colour transforms and gamma correction DCP-o-matic will use when
875 converting the selected content into the XYZ colourspace for the DCP.
879 The easiest way to select the required conversion is to choose one of
880 DCP-o-matic's presets. DCP-o-matic knows how to convert from four
881 common colourspaces: sRGB, Rec. 601, Rec. 709 and P3. If you do not
882 know which preset you should use, refer to the suggestions in <xref
883 linkend="tab-colour-conversion"/>.
886 <table id="tab-colour-conversion">
887 <title>Suggested colour conversion settings</title>
888 <tgroup cols='2' align='left' colsep='1' rowsep='1'>
889 <colspec colwidth='1*'/>
890 <colspec colwidth='5*'/>
893 <entry>sRGB</entry><entry>Still images in RGB, e.g. photographs</entry>.
896 <entry>Rec. 601</entry><entry>Standard-definition content (fewer than about 1000 pixels across) including DVD rips.</entry>
899 <entry>Rec. 709</entry><entry>High-definition content including Blu-Ray rips.</entry>
902 <entry>P3</entry><entry>Content explicitly graded to P3.</entry>
909 For other required colour conversions, and if you know what you are
910 doing, you can choose <guilabel>Custom</guilabel> which will open the full
911 colour conversion editing dialogue box:
914 <figure id="fig-colour-conversion">
915 <title>Dialogue box for custom colour conversion</title>
918 <imagedata fileref="screenshots/colour-conversion&scs;"/>
924 Alternatively, choose <guilabel>None</guilabel> if your source files
925 are already in the XYZ colour space and require no conversion.
929 DCP-o-matic's colour conversion processes are discussed in much more
930 detail in a separate document <ulink
931 url="http://dcpomatic.com/manual/colour.pdf">colour.pdf</ulink>.
936 <!-- ============================================================== -->
938 <title>Other settings</title>
941 The <guilabel>crop</guilabel> settings can be used to crop your content,
942 which can be used to remove black borders from round the edges of DVD
943 images, for example. The specified number of pixels will be trimmed
944 from each edge, and the content image in the right of the window will
945 be updated to show the effect of the crop.
949 The <guilabel>fade in</guilabel> and <guilabel>fade out</guilabel>
950 settings can be used to apply linear fades into and out of a piece of
951 content. Specify the time for each, clicking <guilabel>Set</guilabel>
952 after making any changes.
956 The <guilabel>Scale to</guilabel> option governs the shape that
957 DCP-o-matic will scale the content's image into. Select the aspect
958 ratio that your content should be presented in.
963 <!-- ============================================================== -->
965 <title>Video description</title>
968 At the bottom of the video tab is a short description of what will
969 happen to your video with the current settings. In the example of
970 <xref linkend="fig-video-tab"/>, DCP-o-matic is telling you that the
971 video file is 1920x1080 pixels and it has square pixels (a pixel
972 aspect ratio of 1.00) hence its display aspect ratio is 1.78:1. Since
973 the controls specify ‘16.9’ for the ratio, DCP-o-matic
974 does not scale the image but pads it to the DCP's container ratio of
975 1.85:1. For a 2K DCP this is 1998x1080 pixels.
979 This description also gives the frame rate of the content and what
980 will happen to it when it is played at the DCP's frame rate. See
981 <xref linkend="ch-frame-rates"/> for details of DCP-o-matic's
982 frame-rate conversion.
990 <!-- ============================================================== -->
995 The <guilabel>Audio</guilabel> tab controls properties of the image, as shown in <xref linkend="fig-audio-tab"/>.
998 <figure id="fig-audio-tab">
999 <title>Audio settings tab</title>
1002 <imagedata fileref="screenshots/audio-tab&scs;"/>
1008 <!-- ============================================================== -->
1010 <title>The audio map</title>
1013 The section at the bottom of the audio tab is the ‘audio
1014 map’. This governs how sound from the content will be arranged
1019 Down the left-hand side of the map is the list of audio channels in
1020 the currently-selected piece of content. These are labelled with two
1021 numbers; the first is the stream index within the content and the
1022 second is the channel number within that stream. Some content will
1023 have different streams for different languages or audio mixes. Along
1024 the top is each channel in the DCP. A green box means that the
1025 corresponding content channel will be copied into the corresponding
1030 When content channels are copied into DCP channels they can be done
1031 with variable gain. If, for example, you want to copy a channel
1032 as-is, you can set a gain of 0dB. Alternatively, if you want to mix
1033 two channels into one, you may want to use a gain of -6dB on each one
1034 to prevent clipping when the two channels are added.
1038 The green boxes of the audio mapping view tell you (very roughly) how
1039 much gain is applied to each channel. A full-height box means 0dB
1040 (i.e. unity) gain. Any less height indicates lower gain.
1044 To map one channel to another with 0dB gain, click in the empty box
1045 and it will turn green to reflect the mapping. A second click will
1046 turn the mapping back off. To set some other gain, right-click on the
1047 box to open the gain menu. This allows you to set
1048 <guilabel>Off</guilabel> (no mapping or negative infinity gain),
1049 <guilabel>Full</guilabel> (0dB gain), -6dB gain or
1050 <guilabel>Edit</guilabel> which allows you to set the required gain
1055 Consider, for example, the case in <xref linkend="fig-audio-map-eg1"/>.
1058 <figure id="fig-audio-map-eg1">
1059 <title>Audio map example 1</title>
1062 <imagedata fileref="screenshots/audio-map-eg1&scs;"/>
1068 Here, we have two channels in the source which are mapped to left and
1069 right, respectively, in the DCP. The full green boxes show that the
1070 mapping is at unity gain (0dB) in each case. Imagine that we modify
1071 the settings to those shown in <xref linkend="fig-audio-map-eg2"/>
1074 <figure id="fig-audio-map-eg2">
1075 <title>Audio map example 2</title>
1078 <imagedata fileref="screenshots/audio-map-eg2&scs;"/>
1084 We now have the content's streams mapped to left and right and also
1085 mixed together and placed in the DCP's centre channel. The smaller
1086 green boxes on the centre mappings show that those channels are added
1087 with some non-unity gain; you can see by hovering the mouse pointer
1088 over those boxes that the gain for content channels 1 and 2 is -6dB
1089 when being sent to the centre channel and 0dB when being sent to left
1093 <figure id="fig-audio-map-eg3">
1094 <title>Audio map example 3</title>
1097 <imagedata fileref="screenshots/audio-map-eg3&scs;"/>
1103 As a final example, the map in <xref linkend="fig-audio-map-eg3"/>
1104 shows the mapping of a 5.1 source into a 5.1 DCP.
1110 <!-- ============================================================== -->
1112 <title>Other controls</title>
1115 ‘Audio Gain’ is used to alter the volume of the
1116 soundtrack. The specified gain (in dB) will be applied to each sound
1117 channel of your content before it is written to the DCP.
1121 If you use a sound processor that DCP-o-matic knows about, it can help
1122 you calculate changes in gain that you should apply. Say, for
1123 example, that you make a test DCP and find that you have to run it at
1124 volume 5 instead of volume 7 to get a good sound level in the screen.
1125 If this is the case, click the <guilabel>Calculate...</guilabel>
1126 button next to the audio gain entry, and the dialogue box in <xref
1127 linkend="fig-calculate-audio-gain"/> will open.
1130 <figure id="fig-calculate-audio-gain">
1131 <title>Calculating audio gain</title>
1134 <imagedata fileref="screenshots/calculate-audio-gain&scs;"/>
1140 For our example, put 5 in the first box and 7 in the second and click
1141 <guilabel>OK</guilabel>. DCP-o-matic will calculate the audio gain
1142 that it should apply to make this happen. Then you can re-make the
1143 DCP (this will be reasonably fast, as the video data will already have
1144 been done) and it should play back at the correct volume with 7 on
1145 your sound-rack fader.
1149 Current versions of DCP-o-matic only know about the Dolby CP650 and
1150 CP750. If you use a different sound processor, and know the gain
1151 curve of its volume control, <ulink url="mailto:carl@dcpomatic.com">get in
1156 <guilabel>Audio Delay</guilabel> is used to adjust the synchronisation
1157 between audio and video. A positive delay will move the audio later
1158 with respect to the video, and a negative delay will move it earlier.
1165 <!-- ============================================================== -->
1167 <title>Subtitles</title>
1170 The subtitles tab contains settings related to subtitles in your
1171 content, as shown in <xref linkend="fig-subtitles-tab"/>.
1174 <figure id="fig-subtitles-tab">
1175 <title>Subtitle settings tab</title>
1178 <imagedata fileref="screenshots/subtitles-tab&scs;"/>
1184 DCP-o-matic will extract subtitles from the content, if present, and
1185 they can be ‘burnt into’ the DCP (that is, they are
1186 included in the image and not overlaid by the projector) or included
1187 as a separate subtitle ‘asset’ within your DCP (in which
1188 case the projector overlays them onto the image on playback). The
1189 difference between these two arrangements is illustrated by <xref
1190 linkend="fig-burn-in"/> and <xref linkend="fig-discrete"/>
1193 <figure id="fig-burn-in">
1194 <title>Burnt-in subtitles</title>
1197 <imagedata scale="100" fileref="diagrams/burn-in&dia;"/>
1202 <figure id="fig-discrete">
1203 <title>Separate subtitles</title>
1206 <imagedata scale="100" fileref="diagrams/discrete&dia;"/>
1212 The advantage of separate subtitles is that the same video content can
1213 be used for DCPs in many different languages. This means that only a
1214 small text file needs to be changed for each target language, rather
1215 than a large video file. It also means that the time-consuming video
1216 encoding need only be done once for the project rather than once for
1221 Note that subtitles come in two types: text and bitmap. Text
1222 subtitles are expressed as plain text and can be either burnt into the
1223 image or included as a separate subtitle asset within the DCP. Bitmap
1224 subtitles, on the other hand, are expressed as pre-rendered bitmaps.
1225 They cannot (yet) be added to the DCP as a separate asset and must be
1226 burnt into the image.
1230 Select the <guilabel>Use Subtitles</guilabel> check-box to enable
1235 Select the <guilabel>Burn subtitles into image</guilabel> check-box to
1236 burn these subtitles into the image; if this is not ticked the
1237 subtitles will be included separately in the DCP to be rendered by the
1242 The <guilabel>X Offset</guilabel> and <guilabel>Y Offset</guilabel>
1243 controls move the subtitles around within the image. The offsets are
1244 expressed as a percentage of the video frame size; 100% X offset is
1245 the entire width of the frame, and 100% Y offset is the entire height.
1246 Hence, to move the subtitles down by half the frame height you would
1247 use a Y offset of 50%.
1251 The <guilabel>X Scale</guilabel> and <guilabel>Y Scale</guilabel>
1252 controls scale the subtitles. Scale values of 1 make the subtitles
1253 the same size (relative to the size of the image) as they are on the
1254 original. Values lower than 1 make them smaller, and values higher
1255 make them larger. You can stretch the subtitles in either direction
1256 by specifying different values for X and Y scale. Subtitles from DVD
1257 and Blu Ray sources are frequently larger (relative to the video
1258 frame) than those typically used for DCP, so it is often useful to
1259 scale such subtitles down using these controls.
1263 The <guilabel>Stream</guilabel> control changes the subtitle stream
1264 that is used when the content has more than one.
1270 <!-- ============================================================== -->
1272 <title>Timing</title>
1275 The timing tab contains settings related to the timing of your
1276 content, as shown in <xref linkend="fig-timing-tab-detail"/>.
1279 <figure id="fig-timing-tab-detail">
1280 <title>Timing settings tab</title>
1283 <imagedata fileref="screenshots/timing-tab&scs;"/>
1289 Most of the timing tab's entries are <emphasis>time-codes</emphasis>.
1290 These are expressed as four numbers, as shown in <xref
1291 linkend="fig-timecode"/>.
1294 <figure id="fig-timecode">
1295 <title>Timecode</title>
1298 <imagedata scale="100" fileref="diagrams/timecode&dia;"/>
1304 <guilabel>Position</guilabel> is the time at which this piece of
1305 content should start within the DCP. In most cases, this will be
1306 <code>0:0:0:0</code> to make the content start at the beginning of the
1311 <guilabel>Full length</guilabel> is the length of the piece of
1312 content. This can only be set for still-image content: for video or
1313 sound content, it is fixed by the nature of the content file. If
1314 still-image content is being used you can set the length for which it
1315 should be displayed using this control.
1319 <guilabel>Trim from start</guilabel> specifies the amount that should be trimmed from the start of the content.
1323 <guilabel>Trim from end</guilabel> specifies the amount that should be trimmed from the end of the content.
1327 <guilabel>Play length</guilabel> indicates how long this piece of
1328 content will be once the trims have been applied. This will be equal
1329 to the full length minus <guilabel>trim-from-start</guilabel> and minus <guilabel>trim-from-end</guilabel>.
1333 <guilabel>Video frame rate</guilabel> specifies the frame rate for
1334 still-image content. It can also be used to override the detected
1335 frame rate of other content if DCP-o-matic has got it wrong.
1339 Each timecode control has a <guilabel>Set</guilabel> which you should
1340 click when you have entered a new value for a timecode. The
1341 <guilabel>Set</guilabel> button will make DCP-o-matic take account of
1342 any changes to the corresponding timecode.
1348 <!-- ============================================================== -->
1350 <title>Video processing pipeline</title>
1353 This section gives a little more detail about how DCP-o-matic process
1354 video as it takes it from a source and puts it into a DCP.
1358 Consider, as a somewhat over-the-top example, that we have a 720 x 576
1359 image which is letterboxed with 36 black pixels each at the top and
1360 bottom, and the video content within the letterbox should be presented
1361 in the DCP at ratio of 2.39:1 within a 1.85:1 frame (such as might
1362 happen with a trailer). The source image is shown in <xref
1363 linkend="fig-pipeline1"/>.
1366 <figure id="fig-pipeline1">
1367 <title>Example image to demonstrate video processing</title>
1370 <imagedata scale="100" fileref="diagrams/pipeline1&dia;"/>
1376 DCP-o-matic runs through the following steps when preparing an image for a DCP:
1380 <listitem>Crop</listitem>
1381 <listitem>Scale</listitem>
1382 <listitem>Place in container</listitem>
1386 First, some amount of the image can be cropped. This is almost always
1387 used to remove black borders (letterboxing and/or pillarboxing) around
1392 In our example image, we would use 36 pixels of crop from the top and
1393 bottom. This would give the new image shown in <xref
1394 linkend="fig-pipeline2"/>.
1397 <figure id="fig-pipeline2">
1398 <title>Example image after cropping</title>
1401 <imagedata scale="100" fileref="diagrams/pipeline2&dia;"/>
1407 The next step is to scale the image. Since this content should be
1408 presented in a 2.39:1 aspect ratio inside a 1.85:1 DCP we would select
1409 <guilabel>Scope</guilabel> from the <guilabel>Scale to</guilabel>
1410 option in the <guilabel>Video</guilabel> tab and
1411 <guilabel>Flat</guilabel> from the <guilabel>Container</guilabel>
1412 option in the <guilabel>DCP</guilabel> tab.
1415 <para>The <guilabel>Scale to</guilabel> option should always be set to
1416 the aspect ratio at which the content should be seen. The
1417 <guilabel>Container</guilabel> option should be set to the preset that
1418 you want to use on the projector. Of course, these two settings will
1423 Given the scaling and container information, DCP-o-matic will look at
1424 the DCP's container size, and then scale the source image up until one
1425 or both of its dimensions (width, height or both) fits the size of the
1426 container, all the while preserving the desired aspect ratio.
1430 In our example here, the DCP's container is specified as 1.85:1 (so
1431 that the DCP will play back correctly using the projector's
1432 ‘Flat’ preset). At 2K, 1.85:1 is 1998 pixels by 1080.
1433 Scaling the source up whilst preserving its 1.85:1 aspect ratio will
1434 result in the image hitting the sides of the container first, at a
1435 size of 1998 x 836. This gives us a new version of the image as shown
1436 in <xref linkend="fig-pipeline3"/>.
1439 <figure id="fig-pipeline3">
1440 <title>Example image after cropping and scaling</title>
1443 <imagedata scale="100" fileref="diagrams/pipeline3&dia;"/>
1449 The final step is to place the image into the DCP. In this case,
1450 since we have a 2.39:1 image that should be presented as a 1.85:1 DCP,
1451 we have set the <guilabel>container</guilabel> in the
1452 <guilabel>DCP</guilabel> tab to be Scope. Since the content has been
1453 scaled to 1998 x 836, and a Flat container is 1998 x 1080, there will
1454 be some black bars at the top and bottom of the image. DCP-o-matic
1455 shares out this black equally, as shown in <xref
1456 linkend="fig-pipeline3"/>.
1459 <figure id="fig-pipeline4">
1460 <title>Example image in the DCP</title>
1463 <imagedata scale="100" fileref="diagrams/pipeline4&dia;"/>
1472 <chapter xml:id="ch-dcp" xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="en">
1473 <title>DCP settings</title>
1476 This chapter describes the settings that apply to the whole DCP. The
1477 controls for these settings are in the <guilabel>DCP</guilabel> tab of
1478 the main window, as shown in <xref linkend="fig-dcp-tab"/>.
1481 <figure id="fig-dcp-tab">
1482 <title>DCP settings tab</title>
1485 <imagedata fileref="screenshots/dcp-tab&scs;"/>
1491 The first thing here is the name. This is generally set to the title
1492 of the film that is being encoded. If <guilabel>Use ISDCF
1493 name</guilabel> is not ticked, the name that you specify will be used
1494 as-is for the name of the DCP. If <guilabel>Use ISDCF name</guilabel>
1495 is ticked, the name that you enter will be used as part of a
1496 ISDCF-compliant name.
1500 Underneath the name field is a preview of the name that the DCP will
1501 get. To use a ISDCF-compliant name, tick the <guilabel>Use ISDCF
1502 name</guilabel> check-box. The ISDCF name will be composed using details
1503 of your content's soundtrack, the current date and other things that
1504 can be specified in the ISDCF name details dialogue box, which you can
1505 open by clicking on the <guilabel>Details</guilabel> button.
1509 If you want to take the ISDCF-compliant name that DCP-o-matic
1510 generates and modify it, click <guilabel>Copy as name</guilabel> and
1511 the ISDCF name will be copied into the <guilabel>Name</guilabel> box.
1512 You can then edit it as you wish. The DCP name should not matter (in
1513 that it should not affect how the DCP ingests or plays) but
1514 projectionists will appreciate it if you use the standard naming
1515 scheme as it makes it easier to identify details of the content.
1519 The <guilabel>Content Type</guilabel> option can be
1520 ‘feature’, ‘trailer’ or whatever; select the
1521 required type from the drop-down list. On some projection systems
1522 this will affect where your content appears in the projector's server
1523 user interface, so take care to select an appropriate type.
1527 The <guilabel>Signed</guilabel> check-box sets whether or not the DCP
1528 is signed. This is rarely important; if in doubt, tick it.
1532 The <guilabel>Encrypted</guilabel> check-box will set whether the DCP
1533 should be encrypted or not. If this is ticked, the DCP will require a
1534 KDM to play back. Encryption is discussed in <xref
1535 linkend="ch-encryption"/>.
1539 If you use encryption DCP-o-matic will generate a random encryption
1540 key for you. To specify your own key, click the
1541 <guilabel>Edit..</guilabel> button next to the key.
1545 The <guilabel>Reels</guilabel> and <guilabel>Reel length</guilabel>
1546 controls specify how the DCP will be split up into
1547 ‘reels’. See <xref linkend="sec-reels"/> below.
1551 The <guilabel>Standard</guilabel> option specifies which of the two
1552 DCP standards DCP-o-matic should use. If in doubt, use SMPTE (the
1553 more modern of the two).
1557 At the bottom of the DCP tab are a further two tabs, one each to
1558 contain the settings for the DCP's video and audio parts.
1562 The <guilabel>Container</guilabel> option sets the ratio of the image
1563 in the DCP. If this ratio is different to the ratio used for any
1564 content, DCP-o-matic will pad the content with black. In simple cases
1565 this should be set to the same ratio as that for the the primary piece
1566 of video content. Alternatively, you might want to pillarbox a small
1567 format into a Flat container: in this case, select the small format
1568 for the content's ratio and ‘Flat’ for the DCP.
1572 The <guilabel>Frame Rate</guilabel> control sets the frame rate of
1573 your DCP. This can be a little tricky to get right. Ideally, you
1574 want it to be the same as the video content that you are using. If it
1575 is not the same, DCP-o-matic must resort to some tricks to alter your
1576 content to fit the specified frame rate. Frame rates are discussed in
1577 more detail in <xref linkend="ch-frame-rates"/>.
1581 The <guilabel>Use best</guilabel> button sets the DCP video frame rate
1582 to what DCP-o-matic thinks is the best given the content that you have
1587 The <guilabel>3D</guilabel> button will set your DCP to 3D mode if it
1588 is checked. A 3D DCP will then be created, and any 2D content will be
1589 made 3D compatible by repeating the same frame for both left and right
1590 eyes. A 3D DCP can be played back on many 3D systems (e.g. Dolby 3D,
1591 Real-D etc.) but not on a 2D system.
1595 The <guilabel>Resolution</guilabel> tab allows you to choose the
1596 resolution for your DCP. Use 2K unless you have content that is of
1597 high enough resolution to be worth presenting in 4K.
1601 The <guilabel>JPEG2000 bandwidth</guilabel>; setting changes how big
1602 the final image files used within the DCP will be. Larger numbers
1603 will give better quality, but correspondingly larger DCPs. The
1604 bandwidth can be between 50 and 250 megabits per second (Mbit/s).
1605 Most commercial DCPs use bit rates between 75 and 125 MBit/s.
1609 The <guilabel>Audio Channels</guilabel> control sets the number of
1610 audio channels that the DCP will have. If the DCP has any channels
1611 for which there is no content audio they will be replaced by silence.
1612 You can only set an even number of channels here, since that is
1613 required by the DCI standard. If you want an odd number of channels,
1614 set the DCP channel count to one greater than you need and the
1615 unused channel will be filled with silence.
1619 The <guilabel>Processor</guilabel> control allows you to select a
1620 process to apply to the audio before it goes into the DCP. Two processes are currently provided:
1624 <listitem>Mid-side decode — this will take a L/R
1625 stereo input and extract the common part (corresponding to the
1626 ‘Mid’ in a mid-side signal) into the DCP's centre channel.
1627 The remaining L/R parts will be kept in the L/R channels of the DCP.
1628 This may be useful to make near-field L/R mixes more compatible with
1629 cinema audio systems.</listitem>
1630 <listitem>Stereo to 5.1 up-mixer A — this will take a stereo input and up-mix it to ‘fake’ 5.1. The input L/R are treated as follows:
1632 <listitem>DCP L is input L bandpass-filtered between 1.9kHz and 4.8kHz.</listitem>
1633 <listitem>DCP R is input R bandpass-filtered between 1.9kHz and 4.8kHz.</listitem>
1634 <listitem>DCP C is input L mixed with input R, taken down by 3dB and then bandpass-filtered between 150Hz and 1.9kHz.</listitem>
1635 <listitem>DCP Lfe is input L mixed with input R, taken down by 3dB and then bandpass-filtered between 20Hz and 150Hz.</listitem>
1636 <listitem>DCP Ls is input L bandpass-filtered between 4.8kHz and 20kHz.</listitem>
1637 <listitem>DCP Rs is input R bandpass-filtered between 4.8kHz and 20kHz.</listitem>
1640 This upmixing algorithm is due to Gérald Maruccia.
1643 <listitem>Stereo to 5.1 up-mixer B — this uses a different approach:
1645 <listitem>DCP L is input L.</listitem>
1646 <listitem>DCP R is input R.</listitem>
1647 <listitem>DCP C is input L + input R taken down by 3dB.</listitem>
1648 <listitem>DCP Lfe is DCP C bandpass filtered between 20Hz and 150Hz.</listitem>
1649 <listitem>DCP Ls and Rs are input L - input R with a 20ms delay.</listitem>
1654 <!-- ============================================================== -->
1655 <section xml:id="sec-reels">
1656 <title>Reels</title>
1659 A ‘reel’ in a DCP is a subsection of the DCP, in the same
1660 way as a 35mm reel is a section of a film. A DCP can be split up into
1661 any number of reels and the joins (the equivalent to 35mm splices)
1662 between the reels are seamless.
1666 There is no reason why you can't just use a single reel for the whole
1667 of your DCP, as there is no limit on their length. Many people choose
1672 There are, however, some possible advantages of splitting things up
1678 The picture, sound and subtitle data of the DCP will be
1679 split up into more smaller files on disk, rather than fewer larger
1680 files. This can be useful if the DCP is to be transferred on storage
1681 that have file size limits. The FAT32 filesystem, for example, can
1682 only hold files smaller than 4Gb. A 6Gb DCP with a single reel could
1683 not be transferred using a FAT32-formatted disk. If that DCP were
1684 split up into two 3Gb reels it could be transferred.
1687 It is easier to re-use DCP components if they are in reels. Consider,
1688 for example, a film company who wants to put a 5 second ident onto the
1689 beginning of DCPs that they distribute. If they receive a feature
1690 film DCP they can modify it to add their ident as a separate reel.
1691 This is easier than attaching the picture data in the DCP.
1696 DCP-o-matic offers three options for setting up the reels in your DCP:
1697 single reel, split by video content or custom.
1701 <guilabel>Single reel</guilabel>, as its name suggests, keeps the whole DCP as one reel.
1702 This is a perfectly good option if you have no particular reason to
1707 <guilabel>Split by video content</guilabel> puts each piece of source
1708 video content in its own reel, as shown in <xref linkend="fig-reels-by-video"/>.
1711 <figure id="fig-reels-by-video">
1712 <title>Making reels using split by video content</title>
1713 <mediaobject><imageobject><imagedata scale="100" fileref="diagrams/reels-by-video&dia;"/></imageobject></mediaobject>
1717 Here we have three video files (<code>ident.mp4</code>,
1718 <code>feature.ts</code> and <code>cred.mov</code>). With
1719 <guilabel>split by video content</guilabel> DCP-o-matic makes a new
1720 reel to hold each video file.
1724 <guilabel>Custom</guilabel> splits reels by the size of the files that
1725 will make up their video content. With <guilabel>Custom</guilabel>
1726 you must specify a reel length in Gb. Then no file in the DCP will be larger than this reel length.
1732 <!-- ============================================================== -->
1734 <title>Show audio</title>
1737 The <guilabel>Show Audio</guilabel> button will instruct DCP-o-matic
1738 to examine the audio in your content and plot a graph of its level
1739 over time. This can be useful for getting a rough idea of how loud
1740 the sound will be in the cinema auditorium. A typical plot is shown
1741 in <xref linkend="fig-audio-plot"/>
1744 <figure id="fig-audio-plot">
1745 <title>Audio plot</title>
1748 <imagedata fileref="screenshots/audio-plot&scs;"/>
1754 The plot gives the audio level (vertical axis, in dB) with time
1755 (horizontal axis). 0dB represents full scale, so if there is anything
1756 near this you are in danger of clipping the projector's audio outputs.
1760 There are two plot types: the peak level and the RMS, which can be
1761 shown or hidden using the check-boxes on the right hand side of the
1766 The channel check-boxes will show or hide the plot(s) for
1767 the corresponding channels in the DCP.
1771 The smoothing slider applies a variable degree of temporal smoothing
1772 to the plots, which can make them easier to read in some cases.
1776 Obviously the audio plot is no substitute for listening in an
1777 auditorium, but it can be useful to get levels in the right rough area.
1784 <chapter xml:id="ch-encryption" xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="en">
1785 <title>Encryption</title>
1788 It is not required that DCPs be encrypted, but they can be. This
1789 chapter discusses the basic principles of DCP encryption, and how
1790 DCP-o-matic can create encrypted DCPs and KDMs for them.
1794 <!-- ============================================================== -->
1796 <title>Basics</title>
1799 DCPs can be encrypted. This means that the picture and sound data are
1800 encoded in such a way that only cinemas ‘approved’ by the
1801 DCP's creators can read them. In particular, this means copies of the
1802 DCP can be distributed by insecure means: if an ne'er-do-well called
1803 Mallory obtains a hard drive containing an encrypted DCP, there is no
1804 way that he can play it. Only those cinemas who receive a correct key
1805 delivery message (KDM) can play the DCP.
1809 <!-- ============================================================== -->
1811 <title>How it works (in a nutshell)</title>
1814 This section attempts to summarise how DCP encryption works. You can
1815 skip it if you like. You may need some knowledge of encryption
1816 methods to understand it.
1820 We suppose that we are trying to send a DCP to
1821 Alice's cinema without a troublemaker called Mallory being able to
1826 There are two main families of encryption techniques. The first,
1827 symmetric-key encryption, allows us to encode some data using some
1828 numeric key. After encoding, no-one can decode the data unless they
1833 The first step in a DCP encryption is to encode its data with some key
1834 using symmetric-key encryption. The encrypted DCP can then be sent
1835 anywhere, safe in the knowledge that even if Mallory got hold of a
1836 copy, he could not decrypt it.
1840 Alice, however, needs to know the key so she can play the DCP in her
1841 cinema. A simple approach might be for us to send Alice the key.
1842 However, if Mallory can intercept the DCP, he might also be able to
1843 intercept our communication of the key to Alice. Furthermore, if Alice
1844 happened to know Mallory, she could just send him a copy of the key.
1848 The clever bit in the process requires the use of public-key
1849 encryption. With this technique we can encrypt a block of data using
1850 some ‘public’ key. That data can then only be decrypted
1851 using a corresponding private key which is
1852 <emphasis>different</emphasis> to the public key. The private and
1853 public keys form a pair which are related mathematically, but it is
1854 extremely hard (or rather, virtually impossible) to derive the private
1855 key from the public key.
1859 Public-key encryption allows us to distribute the DCP's key to Alice
1860 securely. The manufacturer of Alice's projector generates a public
1861 and private key. They hide the private key deep inside the bowels of
1862 the projector (inside an integrated circuit) where no-one can read it.
1863 They then make the public key available to anyone who is interested.
1867 We take our DCP's symmetric key and encrypt it using the public key of
1868 Alice's projector. We send the result to Alice over email (using a
1869 format called a Key Delivery Message, or KDM). Her projector then
1870 decrypts our message using its private key, yielding the magic
1871 symmetric key which can decrypt the DCP.
1875 If is fine if Mallory intercepts our email to Alice, since the only
1876 key which can decrypt the message is the private key buried inside
1877 Alice's projector. The projector manufacturer is very careful that
1878 no-one ever finds out what this key is. Our DCP is secure: only Alice
1879 can play it back, since only her projector knows the key (even Alice
1887 <!-- ============================================================== -->
1889 <title>Encryption using DCP-o-matic</title>
1892 There are two steps to distributing an encrypted DCP. First, the
1893 DCP's data must be encrypted, and secondly KDMs must be generated for
1894 those cinemas that are allowed to play the DCP.
1898 The first part is simple: ticking the <guilabel>Encrypted</guilabel>
1899 box in the <guilabel>DCP</guilabel> tab of DCP-o-matic will encrypt
1900 the DCP using a random key that DCP-o-matic generates. The key will
1901 be written to the film's metadata file, which should be kept
1906 A DCP that is generated with the <guilabel>Encrypted</guilabel> box
1907 ticked will not play on any projector as-is (it will be marked as
1908 ‘locked’, or whatever the projector manufacturer's term
1913 The second part is to generate KDMs for the cinemas that you wish to
1914 allow to play your DCP. This is done using the <guilabel>Make
1915 KDMs</guilabel> option on the <guilabel>Jobs</guilabel> menu. This
1916 will open the KDM dialogue box, as shown in <xref linkend="fig-kdm"/>.
1919 <figure id="fig-kdm">
1920 <title>KDM dialog</title>
1923 <imagedata fileref="screenshots/kdm&scs;"/>
1929 In order to generate KDMs for a particular projector, you need to know
1930 its <emphasis>certificate</emphasis>. These are usually made
1931 available by the projector manufacturers as text files with a
1932 <code>.pem</code> extension.
1936 DCP-o-matic can store these certificates to make life easier. It
1937 stores details of cinemas and screens within those cinemas. Each
1938 screen has a certificate for its projector. DCP-o-matic can generate
1939 KDMs for any screens that it knows about.
1943 To add a cinema, click <guilabel>Add Cinema...</guilabel>. This opens
1944 a dialogue box into which you can enter the cinema's name, and
1945 optionally an email address. This email address can be used to
1946 get DCP-o-matic to deliver KDMs via email.
1950 Once you have added a cinema, select it by clicking on its name, then
1951 click <guilabel>Add Screen...</guilabel>. The resulting dialogue
1952 allows you to enter a name for the screen and load in its certificate
1953 from a file. The certificate should be in SHA256 PEM format.
1957 Alternatively, certificates for projection systems made by some
1958 manufacturers can be downloaded from databases provided by the
1959 manufacturer. Currently this is supported for Doremi and Dolby
1960 equipment. If you are targeting a screen with equipment by one of
1961 these manufacturers you can select Doremi or Dolby from the
1962 <guilabel>Server manufacturer</guilabel> selection and then click
1963 <guilabel>Download</guilabel>. In the next dialogue box, enter
1964 details of the screen and click <guilabel>Download</guilabel> and, all
1965 being well, the certificate will be fetched.
1969 Using the download system you will need to know the serial number of
1970 the media server in use in the screen. Most cinema projection or
1971 technical departments will know these serial numbers.
1975 Note that the reliability of the manufacturers' certificate databases
1976 cannot be guaranteed. It is vital that KDMs are tested by the
1977 destination cinema will in advance of show time to identify any
1982 Once you have set up all the screens that you need KDMs for, select
1983 the CPL that you want to create the KDM for. You can use the
1984 drop-down list to select the CPLs in the current film project, or load
1985 a CPL from somewhere else. Select the cinemas and/or screens that you
1986 want KDMs for and fill in the start and end dates and times.
1990 You must also select the type of KDM that you want to generate. If in
1991 doubt, use <guilabel>Modified Transitional 1</guilabel>.
1995 Finally, choose what you want to do with the KDMs. They can be
1996 written to disk, to a location that you can specify by clicking
1997 <guilabel>Browse</guilabel>. Alternatively, if you choose
1998 <guilabel>Send by email</guilabel> the KDMs will be zipped up and
1999 emailed to the appropriate cinema email addresses. Click OK to
2009 <!-- ============================================================== -->
2010 <chapter xml:id="ch-preferences" xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="en">
2011 <title>Preferences</title>
2014 DCP-o-matic provides a few preferences which can be used to modify its
2015 behaviour. This chapter explains those options.
2019 <!-- ============================================================== -->
2021 <title>The preferences dialogue</title>
2024 The preferences dialogue is opened by choosing
2025 <guilabel>Preferences...</guilabel> from the <guilabel>Edit</guilabel>
2026 menu. The dialogue is split into seven tabs.
2029 <!-- ============================================================== -->
2031 <title>General</title>
2034 The general tab is shown in <xref linkend="fig-prefs-general"/>.
2037 <figure id="fig-prefs-general">
2038 <title>General preferences</title>
2041 <imagedata fileref="screenshots/prefs-general&scs;"/>
2047 <!-- ============================================================== -->
2049 <title>Language</title>
2052 If you tick the <guilabel>Set Language</guilabel> checkbox and choose
2053 a language from the list, that language will be used for DCP-o-matic.
2054 You will need to restart DCP-o-matic to see the new language.
2058 The translations for DCP-o-matic have been contributed by helpful
2059 users. If your language is not on the last, head to <ulink
2060 url="http://dcpomatic.com/i18n.php">the DCP-o-matic website</ulink> to
2061 read about how to contribute a translation.
2066 <!-- ============================================================== -->
2068 <title>Threads</title>
2071 When DCP-o-matic is encoding DCPs it can use multiple parallel threads
2072 to speed things up. Set this value to the number of threads
2073 DCP-o-matic should use. This should normally be the number of
2074 processors (or processor cores) in your machine. DCP-o-matic will try
2075 to set this up correctly when you run it for the first time.
2080 <!-- ============================================================== -->
2082 <title>Updates</title>
2085 The <guilabel>Check for updates on startup</guilabel> option, if
2086 enabled, will tell DCP-o-matic to check on <ulink
2087 url="http://dcpomatic.com/">dcpomatic.com</ulink> to see if there any
2088 newer versions of DCP-o-matic then the one you are running. If so, a
2089 dialogue box will open with a link to download the new version.
2094 The <guilabel>Check for testing updates as well as stable
2095 ones</guilabel> option will also check for test updates as well as
2096 those that are formally ‘released’. This is useful if you
2097 like to live on the bleeding edge!
2101 <!-- ============================================================== -->
2103 <title>Issuer and creator</title>
2106 With these controls you can set the issuer and creator strings that
2107 will be put into the DCPs which you create.
2113 <!-- ============================================================== -->
2115 <title>Defaults</title>
2118 The defaults tab is shown in <xref linkend="fig-prefs-defaults"/>.
2121 <figure id="fig-prefs-defaults">
2122 <title>Defaults preferences</title>
2125 <imagedata fileref="screenshots/prefs-defaults&scs;"/>
2131 The options in this tab simply allow you to set up default values for
2132 various properties of new films.
2137 <!-- ============================================================== -->
2139 <title>Servers</title>
2142 The servers tab is shown in <xref linkend="fig-prefs-servers"/>.
2145 <figure id="fig-prefs-servers">
2146 <title>Servers preferences</title>
2149 <imagedata fileref="screenshots/prefs-servers&scs;"/>
2155 If <guilabel>Use all servers</guilabel> is ticked DCP-o-matic will
2156 locate encoding servers automatically (see <xref
2157 linkend="ch-servers"/>).
2161 Instead of this (or in addition) servers can be specified explicitly.
2162 To add a server, click <guilabel>Add...</guilabel> and enter the host
2163 name or IP address of the server to use.
2169 <!-- ============================================================== -->
2170 <section xml:id="sec-prefs-keys">
2174 The Keys tab (shown in <xref linkend="fig-prefs-keys"/>) holds options
2175 related to the keys and certificates used in some parts of DCP
2179 <figure id="fig-prefs-keys">
2180 <title>Keys preferences</title>
2183 <imagedata fileref="screenshots/prefs-keys&scs;"/>
2189 At the top of the tab is the chain of certificates that will be used
2190 to sign DCPs and KDMs. DCP-o-matic creates a random chain when you
2191 first run it and if you are happy to use this chain you can ignore the
2192 preferences. Otherwise, you can add or remove certificates from the
2193 chain using the <guilabel>Add...</guilabel> and
2194 <guilabel>Remove</guilabel> buttons.
2198 If you want DCP-o-matic to re-create the certificate chain (using new,
2199 random certificates) click <guilabel>Re-make
2200 certificates...</guilabel> and specify your organisation and common
2201 names in the dialogue box that opens.
2205 Underneath the certificate chain is the private key that corresponds
2206 to the leaf certificate in the chain. You can specify your own
2207 private key by clicking <guilabel>Load...</guilabel>. You must do
2208 this if you change the leaf certificate, so that the leaf private key
2209 corresponds to the public key held in the leaf certificate.
2213 Underneath the details of the certificate chain and private key for
2214 signing of DCPs and KDMs is a second chain and key which is used by
2215 DCP-o-matic when you import an encrypted DCP as a piece of content.
2216 The leaf certificate of this chain contains the public key that should
2217 be used when targeting a KDM at DCP-o-matic.
2221 If you want to import an encrypted DCP you will need to give the
2222 decryption certificate to the distributor of the DCP so that they can
2223 generate a DKDM for you. You can save this certificate to disk by
2224 clicking <guilabel>Export DCP decryption certificate</guilabel>. As
2225 with the signing chain, DCP-o-matic will create a certificate chain
2226 and private key for you. You can also choose to load your own
2227 certificates and key or re-make the chain and key with new, random
2233 <!-- ============================================================== -->
2234 <section xml:id="sec-prefs-tms">
2236 <titleabbrev xml:id="sec-prefs-tms-short">TMS preferences</titleabbrev>
2239 The TMS tab (shown in <xref linkend="fig-prefs-tms"/>) gives some
2240 options for specifying details about your theatre management system
2241 (TMS). If you do this, and your TMS accepts SSH or FTP connections,
2242 you can upload DCPs directly from DCP-o-matic to the TMS using the
2243 <guilabel>Send DCP to TMS</guilabel> option in the
2244 <guilabel>Jobs</guilabel> menu.
2247 <figure id="fig-prefs-tms">
2248 <title>TMS preferences</title>
2251 <imagedata fileref="screenshots/prefs-tms&scs;"/>
2257 <guilabel>Protocol</guilabel> should be set to SCP or FTP as
2258 appropriate for your TMS. We know that the Arts Alliance Media (AAM)
2259 and the Doremi ranges uses SCP connections, and that Dolby's TMSs use
2260 FTP. Do let us know if you use any other type of TMS with the
2261 <guilabel>Send DCP to TMS</guilabel> feature.
2265 <guilabel>TMS IP address</guilabel> should be set to the IP address of
2266 your TMS, <guilabel>TMS target path</guilabel> to the place that DCPs
2267 should be uploaded to (which will be relative to the home directory of
2268 the SSH or FTP user). Finally, the user name and password are the
2269 credentials required to log into the TMS via SSH or FTP.
2273 Note that for this to work on Doremi servers you will need to set the
2274 <code>PasswordAuthentication</code> option in your server's
2275 <code>sshd_config</code> to <code>yes</code>.
2281 <!-- ============================================================== -->
2283 <title>KDM email</title>
2286 The KDM email is shown in <xref linkend="fig-prefs-kdm-email"/>.
2289 <figure id="fig-prefs-kdm-email">
2290 <title>KDM email preferences</title>
2293 <imagedata fileref="screenshots/prefs-kdm-email&scs;"/>
2299 This is a template for the email that is used to send KDMs out to
2300 cinemas. You can change it to say whatever you like. A few
2301 ‘magic’ strings will be replaced by information from the
2302 KDM that is being sent:
2306 <title>‘Magic’ KDM strings</title>
2307 <tgroup cols='2' align='left' colsep='1' rowsep='1'>
2310 <entry><code>$CPL_NAME</code></entry><entry>DCP title</entry>
2313 <entry><code>$CINEMA_NAME</code></entry><entry>Cinema name</entry>
2316 <entry><code>$SCREENS</code></entry><entry>Name of screen or screens that KDMs are being generated for</entry>
2319 <entry><code>$START_TIME</code></entry><entry>The time from which the KDMs are valid</entry>
2322 <entry><code>$END_TIME</code></entry><entry>The time until which the KDMs are valid</entry>
2329 The <guilabel>Reset to default text</guilabel> will replace the current KDM email with DCP-o-matic's default.
2335 <!-- ============================================================== -->
2336 <section xml:id="sec-prefs-advanced">
2337 <title>Advanced</title>
2338 <titleabbrev xml:id="sec-prefs-advanced-short">Advanced preferences</titleabbrev>
2341 The advanced preferences are shown in <xref linkend="fig-prefs-advanced"/>.
2344 <figure id="fig-prefs-advanced">
2345 <title>Advanced preferences</title>
2348 <imagedata fileref="screenshots/prefs-advanced&scs;"/>
2354 <guilabel>Maximum JPEG2000 bandwidth</guilabel> specifies the maximum
2355 bit-rate of JPEG2000 that DCP-o-matic will allow you to create. You
2356 are advised to leave this at 250Mbit/s in normal use for maximum DCP
2361 <guilabel>Allow any DCP frame rate</guilabel> removes the limits on
2362 the DCP video frame rates that DCP-o-matic will create. This may be
2363 useful for experimentation. Again, you are strongly advised to leave
2364 this unticked for normal use.
2368 <guilabel>Only servers encode</guilabel> makes DCP-o-matic encode
2369 JPEG2000 data only on encoding servers and not on the host. We
2370 suggest you leave this un-ticked unless you have a good reason to do otherwise.
2374 The four checkboxes labelled <guilabel>Log</guilabel> control what
2375 sort of messages DCP-o-matic writes to its log file when creating a
2376 DCP. It is useful to leave <guilabel>General</guilabel>,
2377 <guilabel>Warnings</guilabel> and <guilabel>Errors</guilabel> ticked
2378 as this makes the log files useful for tracking down bugs.
2382 The <guilabel>Timing</guilabel> checkbox will enable extra log entries
2383 to allow developers to investigate and optimize the speed of
2384 DCP-o-matic. It will significantly increase the size of the log files
2385 that are generated, so in normal use it is best to leave this
2393 <chapter xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="en" xml:id="ch-frame-rates">
2394 <title>Frame rates</title>
2397 In an ideal world, a DCP would be created using content at the same
2398 video frame and audio sampling rates as the DCP. This is not,
2399 however, always possible.
2403 <!-- ============================================================== -->
2405 <title>DCP frame rate limitations</title>
2408 There are some limitations to video and audio frame rates in DCPs. This is
2409 complicated by the fact that not all projectors will play DCPs at the
2410 same frame rates. It is possible to create a DCP which one projector will
2411 play fine, but another (of a different type) will refuse to play, or
2412 even refuse to ingest.
2416 <!-- ============================================================== -->
2418 <title>Guaranteed rates</title>
2421 The only rates that are (pretty much) guaranteed to work on all DCI
2422 projectors are 24 frames per second (fps) for video and 48kHz or 96kHz
2423 for audio. If you are sending your DCPs to unknown places it wise to
2424 consider using these rates if at all possible.
2430 <!-- ============================================================== -->
2432 <title>Other often-supported rates</title>
2434 Many projectors now in the wild support additional video frame rates:
2440 <!-- ============================================================== -->
2442 <title>Adapting content to fit the DCP rate</title>
2445 DCP-o-matic has a few tricks to allow you to use content that is not
2446 in one of the ‘approved’ rates.
2450 Audio is easy: DCP-o-matic can resample to 48kHz from any source rate
2451 with minimal loss in quality.
2455 Video rate conversion is harder. DCP-o-matic's basic strategy to deal
2456 with a non-supported content rate is to run it at the wrong speed, and
2457 to adjust the audio to keep it in sync.
2460 <para>Let us consider the example of a 25fps source for which you want
2461 to create a 24fps DCP. DCP-o-matic will put the frames from the
2462 source directly into the DCP without modification, but will tell the
2463 projector to play them back at 24fps. This means that the DCP's video
2464 will run slightly slower than the original.
2468 If DCP-o-matic did nothing else, the result of this would be that the
2469 audio would be running at the original speed with the video running
2470 slowly. Hence the audio would drift slowly out of sync. To avoid
2471 this, DCP-o-matic also resamples the audio such that the projector
2472 will play it too slow by the same amount. Hence it will sound
2473 slightly different but will remain in sync with the video.
2477 For very low or high frame rates, DCP-o-matic can also skip or duplicate frames.
2484 <!-- ============================================================== -->
2486 <title>Setting up</title>
2489 The <guilabel>Frame Rate</guilabel> control in the
2490 <guilabel>DCP</guilabel> tab sets the video frame rate that the DCP
2491 will use. Clicking <guilabel>Use best</guilabel> sets the rate to
2492 what DCP-o-matic thinks is the best for your content. With this
2493 button, DCP-o-matic assumes that the whole range of frame rates (24,
2494 25, 30 and 48fps) are allowable.
2498 After this, the <guilabel>Video</guilabel> tab for each piece of
2499 content will give a summary of what DCP-o-matic is doing with that
2504 If you want to experiment with other non-standard frame rates, you can
2505 do so by ticking the <guilabel>Allow any DCP frame rate</guilabel> in
2506 the <guilabel>Advanced</guilabel> tab of the preferences dialogue (see the
2507 <xref linkend="sec-prefs-advanced" endterm="sec-prefs-advanced-short"/>). You are strongly advised to
2508 use this only on your own equipment, and only for experimentation
2517 <chapter xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="en" xml:id="ch-servers">
2518 <title>Encoding servers</title>
2521 One way to increase the speed of DCP encoding is to use more
2522 than one machine at the same time. An instance of DCP-o-matic can
2523 offload some of the time-consuming JPEG2000 encoding to any number of
2524 other machines on a network. To do this, one ‘master’
2525 machine runs DCP-o-matic, and the ‘server’ machines run
2526 a small program called <code>dcpomatic_server</code>.
2530 The master and server machines do not need to be the same type, so you
2531 can mix Windows PCs, Macs and Linux machines as you wish.
2535 <!-- ============================================================== -->
2537 <title>Running the servers</title>
2540 There are two options for the encoding server;
2541 <code>dcpomatic_server_cli</code>, which runs on the command line, and
2542 <code>dcpomatic_server</code>, which has a simple GUI. The command line
2543 version is well-suited to headless servers, especially on Linux, and
2544 the GUI version works best on Windows where it will put an icon in the
2549 To run the command line version, simply enter:
2553 dcpomatic2_server_cli
2557 at a command prompt. If you are running the program on a machine with
2558 a multi-core processor, you can run multiple parallel encoding threads
2559 by doing something like:
2563 dcpomatic2_server_cli -t 4
2567 to run 4 threads in parallel.
2571 To run the GUI version on windows, run the ‘DCP-o-matic encode
2572 server’ from the start menu. An icon will appear in the system
2573 tray; right-click it to open a menu from whence you can quit the
2574 server or open a window to show its status.
2577 <para>If you would rather not bother installing DCP-o-matic on your
2578 server computers, the other option is to use the live-CD
2579 image that you can download from the <ulink
2580 url="http://dcpomatic.com/">DCP-o-matic web site.</ulink></para>
2582 <para>Either burn the image to CD, or write it to a USB stick (using
2583 something like <ulink
2584 url="http://unetbootin.sourceforge.net/">unetbootin</ulink>). Boot a
2585 PC from the CD or USB stick and it becomes a DCP-o-matic server
2586 without touching your standard operating system install.
2591 <!-- ============================================================== -->
2593 <title>Setting up DCP-o-matic</title>
2596 DCP-o-matic periodically looks on the local network for servers. Any
2597 that it finds are given work to do during encodes. Selecting
2598 <guilabel>Encoding Servers</guilabel> from the
2599 <guilabel>Tools</guilabel> menu brings up a window which shows that
2600 servers that DCP-o-matic has found.
2605 <!-- ============================================================== -->
2607 <title>Some notes about encode servers</title>
2610 DCP-o-matic does not mind if servers come and go; if a server
2611 disappears, DCP-o-matic will stop sending work to it, and will check
2612 it every minute or so in case it has come back online.
2616 You will probably find that using a 1Gb/s or faster network will
2617 provide a significant speed-up compared to a 100Mb/s network.
2624 <chapter xml:id="ch-files" xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="en">
2625 <title>Generated files</title>
2628 DCP-o-matic generates a number of files as it makes a DCP. <xref
2629 linkend="fig-file-structure"/> shows the files that might be generated
2630 after you have created a DCP for a film called ‘DCP Test’.
2633 <figure id="fig-file-structure">
2634 <title>Creating a new film</title>
2637 <imagedata scale="100" fileref="diagrams/file-structure&dia;"/>
2643 The <code>DCP Test</code> folder is the one that you specify when you
2644 select the <guilabel>New Film</guilabel> option from DCP-o-matic's
2645 menu. Everything is stored inside this folder.
2649 DCP-o-matic generates some working files as it goes along. These are as follows:
2652 <listitem><code>log</code> is a list of notes that DCP-o-matic makes as it goes
2653 along. This can be useful for debugging purposes if something goes
2656 <listitem><code>metadata</code> stores the settings that you have made
2657 for this film: things like cropping, output format and so on.</listitem>
2659 <listitem><code>video</code> is where DCP-o-matic writes the DCP's
2660 video data as it encodes it.</listitem>
2662 <listitem><code>analysis</code> is used to keep the results of audio analysis runs.</listitem>
2664 <listitem><code>info</code> contains details of each video frame that
2665 DCP-o-matic has written so far. This is used when an encoding
2666 operation is interrupted and DCP-o-matic must resume it.</listitem>
2671 Following this is the DCP itself:
2672 <code>DCP-TEST_EN-XX_UK-U_51_2K_CSY_20130218_CSY_OV</code>. This
2673 contains some small XML files, which describe the DCP, and two large
2674 MXF files, which contain the DCP's audio and video data. This folder
2675 (<code>DCP-TEST_EN-XX_...</code>) is what you should ingest, or pass
2676 to the cinema which is showing your DCP.
2682 <title>Loose ends</title>
2685 This chapter collects a few notes on bits of DCP-o-matic that do not fit elsewhere in the manual.
2689 <!-- ============================================================== -->
2691 <title>Resuming encodes</title>
2694 If you cancel a DCP encoding run half-way through, or your computer
2695 crashes... fear not. DCP-o-matic takes care to ensure that, in most
2696 cases, it can resume encoding from where it left off. When you
2697 re-start a DCP creation, using the same settings are a previous run,
2698 DCP-o-matic will first check that the existing picture frames are
2699 correct, and then resume from where it left off. The checking of
2700 existing frames does take some time, but it is much faster than
2701 running a full re-encode.
2705 This resumption is achieved by writing a digest (hash) to disk for
2706 every image frame that is written. On resumption, the existing MXF
2707 file for image data is read and its contents checked against the