Update for newer libdcp; add start of manual.
[dcpomatic.git] / doc / manual / dvdomatic.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE book [
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">
7 %dbcent;
8 <!ENTITY % extensions SYSTEM "extensions.ent">
9 %extensions;
10 ]>
11 <book xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="en">
12
13 <bookinfo>
14 <title>DVD-o-matic</title>
15 <author><firstname>Carl</firstname><surname>Hetherington</surname></author>
16 </bookinfo>
17
18 <chapter xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="en">
19 <title>Introduction</title>
20
21 <para>
22 Hello, and welcome to DVD-o-matic!
23 </para>
24
25 <section>
26 <title>What is DVD-o-matic?</title>
27
28 <para>
29 DVD-o-matic is a program to generate <ulink
30 url="http://en.wikipedia.org/wiki/Digital_Cinema_Package">Digital
31 Cinema Packages</ulink> (DCPs) from DVDs, Blu-Rays, video files such as MP4
32 and AVI, or still images.  The resulting DCPs will play on modern digital
33 cinema projectors.
34 </para>
35
36 <para>
37 You might find it useful to make DVDs easier to present, to encode
38 independently-shot feature films, or to generate local advertising for
39 your cinema.
40 </para>
41
42 </section>
43 </chapter>
44
45 <chapter xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="en">
46 <title>Installation</title>
47
48 <section>
49 <title>Windows</title>
50
51 <para>
52 To install DVD-o-matic on Windows, simply download the installer from
53 <ulink url="http://carlh.net/software/dvdomatic">http://carlh.net</ulink>
54 and double-click it.  Click through the installer wizard, and
55 DVD-o-matic will be installed to your machine.
56 </para>
57
58 </section>
59
60 <section>
61 <title>Linux</title>
62
63 <para>
64 Installation on Linux is currently a little involved, as there are no
65 packages available (yet); you will have to compile it from source.
66 </para>
67
68 <para>
69 The following dependencies are required:
70 <itemizedlist>
71 <listitem><ulink url="http://ffmpeg.org/">FFmpeg</ulink></listitem>
72 <listitem><ulink url="http://www.mega-nerd.com/libsndfile/">libsndfile</ulink></listitem>
73 <listitem><ulink url="http://www.openssl.org/">OpenSSL</ulink></listitem>
74 <listitem><ulink url="http://www.openjpeg.org/">libopenjpeg</ulink></listitem>
75 <listitem><ulink url="http://www.imagemagick.org/script/index.php">ImageMagick</ulink></listitem>
76 <listitem><ulink url="http://www.boost.org/">Boost</ulink></listitem>
77 <listitem><ulink url="http://www.libssh.org/">libssh</ulink></listitem>
78 <listitem><ulink url="http://www.gtk.org/">GTK</ulink></listitem>
79 <listitem><ulink url="http://www.wxwidgets.org/">wxWidgets</ulink></listitem>
80 <listitem><ulink url="http://carlh.net/software/libdcp/">libdcp</ulink></listitem>
81 </itemizedlist>
82 </para>
83
84 <para>
85 Once you have installed the development packages for the dependencies,
86 download the source code from <ulink
87 url="http://carlh.net/software/dvdomatic">http://carlh.net</ulink>,
88 unpack it and run the following commands from inside the source
89 directory:
90 </para>
91
92 <programlisting>
93 ./waf configure
94 ./waf build
95 sudo ./waf install
96 </programlisting>
97
98 <para>
99 With any luck, this will build and install DVD-o-matic on your system.  To run it, enter:
100 </para>
101
102 <programlisting>
103 dvdomatic
104 </programlisting>
105
106 <para>
107 in a shell.
108 </para>
109
110 </section>
111 </chapter>
112
113 <chapter xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="en">
114 <title>Creating a video DCP with DVD-o-matic</title>
115
116 <para>
117 In this chapter we will see how to create a video DCP using DVD-o-matic.
118 </para>
119
120 <section>
121 <title>Creating a new film</title>
122
123 <para>
124 Let's make a very simple DCP to see how DVD-o-matic works.  First, we
125 need some content.  Download the low-resolution trailer for the open
126 movie <ulink url="http://sintel.org/">Sintel</ulink> from <ulink
127 url="http://ftp.nluug.nl/ftp/graphics/blender/apricot/trailer/Sintel_Trailer1.480p.DivX_Plus_HD.mkv">their
128 website</ulink>.  Generally, of course, one would want to use the
129 highest-resolution material available, but for this test we will use
130 the low-resolution version to save everyone's bandwidth bills.
131 </para>
132
133 <para>
134 Now, start DVD-o-matic and its window will open.  First, we will
135 create a new film.  A &lsquo;film&rsquo; is how DVD-o-matic refers to
136 a piece of content, along with some settings, which we will make into
137 a DCP.  DVD-o-matic stores its data in a folder on your disk while it
138 creates the DCP.  will use to store its working files while it creates
139 your DCP.  You can create a new film by selecting
140 <guilabel>New</guilabel> from the <guilabel>File</guilabel> menu, as
141 shown in <xref linkend="fig-file-new"/>.
142 </para>
143
144 <figure id="fig-file-new"> 
145   <title>Creating a new film</title> 
146   <mediaobject>
147     <imageobject> 
148       <imagedata fileref="screenshots/file-new&scs;"/>
149     </imageobject> 
150   </mediaobject>
151 </figure>
152
153 <para>
154 This will open a dialogue box for the new film, as shown in <xref
155 linkend="fig-new-film"/>.
156 </para>
157
158 <figure id="fig-new-film"> 
159   <title>Dialogue box for creating a new film</title> 
160   <mediaobject>
161     <imageobject> 
162       <imagedata fileref="screenshots/new-film&scs;"/>
163     </imageobject> 
164   </mediaobject>
165 </figure>
166
167 <para>
168 In this dialogue box you can choose a name for the DCP.  This will be
169 used to name the folder to store its data in, and also as the initial
170 name for the DCP itself).  You can also set where you want to create
171 the film.  In the example from the figure, DVD-o-matic will create a
172 folder called &lsquo;DCP Test&rsquo; inside my home folder (carl) into which it
173 will write its working files.
174 </para>
175
176 </section>
177
178 <section>
179 <title>Selecting content</title>
180
181 <para>
182 The next step is to set the content that you want to use.  Click the
183 content selector, as shown in <xref
184 linkend="fig-click-content-selector"/> and the a file chooser will
185 open for you to select the content file to use, as shown in <xref
186 linkend="fig-select-content-file"/>.
187 </para>
188
189 <figure id="fig-click-content-selector">
190   <title>Opening the content selector</title> 
191   <mediaobject>
192     <imageobject> 
193       <imagedata fileref="screenshots/click-content-selector&scs;"/>
194     </imageobject> 
195   </mediaobject>
196 </figure>
197
198 <figure id="fig-select-content-file"> 
199   <title>Selecting the content file</title> 
200   <mediaobject>
201     <imageobject> 
202       <imagedata fileref="screenshots/select-content-file&scs;"/>
203     </imageobject> 
204   </mediaobject>
205 </figure>
206
207 <para>
208 Select your content file and click <guilabel>Open</guilabel>.  In this
209 case, we are using the Sintel trailer that we downloaded earlier.
210 </para>
211
212 <para>
213 When you do this, DVD-o-maticw will take a look at your file.  After a
214 short while (when the progress bars at the bottom right of the window
215 have finished), you can look through your content using the slider to
216 the right of the window, as shown in <xref linkend="fig-examine-thumbs"/>.
217 </para>
218
219 <figure id="fig-examine-thumbs"> 
220   <title>Examining the content</title>
221   <mediaobject>
222     <imageobject> 
223       <imagedata fileref="screenshots/examine-thumbs&scs;"/>
224     </imageobject> 
225   </mediaobject>
226 </figure>
227
228 <para>
229 Dragging the slider will move through your video.
230 </para>
231
232 </section>
233
234 <section>
235 <title>Setting up</title>
236
237 <para>
238 Now there are a few things to set up to describe how the DCP should be
239 created, as shown in <xref linkend="fig-setup"/>.
240 </para>
241
242 <figure id="fig-setup"> 
243   <title>Setting up</title>
244   <mediaobject>
245     <imageobject> 
246       <imagedata fileref="screenshots/setup&scs;"/>
247     </imageobject> 
248   </mediaobject>
249 </figure>
250
251 <para>
252 The first thing is the content type.  This can be
253 &lsquo;feature&rsquo;, &lsquo;trailer&rsquo; or whatever; select the
254 required type from the drop-down list.
255 </para>
256
257 <para>
258 Next is the format.  This will govern the shape that DVD-o-matic will
259 make your image into.  Select the aspect ratio that your content
260 should be presented in.  The &lsquo;4:3 within Flat&rsquo; and
261 &lsquo;16:9 within Flat&rsquo; settings will put the image at the
262 specified ratio within a Flat (1.85:1) frame, so that you can project
263 the DCP using your projector's Flat preset.
264 </para>
265
266 <para>
267 The remaining options can often be left alone, but may sometimes be
268 useful.  The &lsquo;crop&rsquo; settings can be used to crop your
269 content, which can be useful to remove black borders from round the
270 edges of DVD images, for example.  The <guilabel>L</guilabel>,
271 <guilabel>R</guilabel>, <guilabel>T</guilabel> and
272 <guilabel>B</guilabel> settings correspond to the left, right, top and
273 bottom of the image respectively.  The specified number of pixels will
274 be trimmed from each edge, and your content image in the right of the
275 window will be updated to show the cropping in action.
276 </para>
277
278 <para>
279 The &lsquo;filters&rsquo; settings allow you to apply various video
280 filters to the image.  These may be useful to try to improve
281 poor-quality sources like DVDs.  We will discuss filtering later in the manual.
282 <!-- XXX: link -->
283 </para>
284
285 <para>
286 The &lsquo;scaler&rsquo; is the method that will be used to scale up
287 your content to the required size for the DCP, if required.  We will
288 discuss the options in more detail later; Bicubic is a fine choice in
289 most situations.
290 <!-- XXX: link -->
291 </para>
292
293 <para>
294 &lsquo;Audio Gain&rsquo; is used to alter the volume of the
295 soundtrack.  The specified gain (in dB) will be applied to each sound
296 channel before it is written to the DCP.
297 </para>
298
299 <para>
300 &lsquo;Audio Delay&rsquo; is used to adjust the synchronisation
301 between audio and video.  A positive delay will move the audio later
302 with respect to the video, and a negative delay will move it earlier.
303 </para>
304
305 <!-- XXX: I don't think FPS should be editable -->
306
307 <!-- XXX: Range -->
308
309 </section>
310
311 </chapter>
312
313 </book>