-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.html
744 lines (704 loc) · 32.3 KB
/
README.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
<!DOCTYPE html><html><head><meta charset="utf-8"><style>/* Fonts */
@font-face{
font-family: octicons-anchor;
src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAYcAA0AAAAACjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABMAAAABwAAAAca8vGTk9TLzIAAAFMAAAARAAAAFZG1VHVY21hcAAAAZAAAAA+AAABQgAP9AdjdnQgAAAB0AAAAAQAAAAEACICiGdhc3AAAAHUAAAACAAAAAj//wADZ2x5ZgAAAdwAAADRAAABEKyikaNoZWFkAAACsAAAAC0AAAA2AtXoA2hoZWEAAALgAAAAHAAAACQHngNFaG10eAAAAvwAAAAQAAAAEAwAACJsb2NhAAADDAAAAAoAAAAKALIAVG1heHAAAAMYAAAAHwAAACABEAB2bmFtZQAAAzgAAALBAAAFu3I9x/Nwb3N0AAAF/AAAAB0AAAAvaoFvbwAAAAEAAAAAzBdyYwAAAADP2IQvAAAAAM/bz7t4nGNgZGFgnM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8kfhXYAvE23+23DU3t626rbs8/8adv+9DWknsHp3E17oCf+Z48rvEQNZ78paYM38qfk3v/u3l3u3GXN2Dmvmvpf1Srwk3pB/VSsp512bA/GG5i2WJ7wu430yQ5K3nFGiOqgtmSB5pJVSizwaacmUZzZhXLlZTq8qGGFY2YcSkqbth6aW1tRmlaCFs2016m5qn36SbJrqosG4uMV4aP2PHBmB3tjtmgN2izkGQyLWprekbIntJFing32a5rKWCN/SdSoga45EJykyQ7asZvHQ8PTm6cslIpwyeyjbVltNikc2HTR7YKh9LBl9DADC0U/jLcBZDKrMhUBfQBvXRzLtFtjU9eNHKin0x5InTqb8lNpfKv1s1xHzTXRqgKzek/mb7nB8RZTCDhGEX3kK/8Q75AmUM/eLkfA+0Hi908Kx4eNsMgudg5GLdRD7a84npi+YxNr5i5KIbW5izXas7cHXIMAau1OueZhfj+cOcP3P8MNIWLyYOBuxL6DRylJ4cAAAB4nGNgYoAALjDJyIAOWMCiTIxMLDmZedkABtIBygAAAA==) format('woff');
}
@font-face{
font-family: fontawesome-mini;
src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAzUABAAAAAAFNgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABbAAAABwAAAAcZMzaOEdERUYAAAGIAAAAHQAAACAAOQAET1MvMgAAAagAAAA+AAAAYHqhde9jbWFwAAAB6AAAAFIAAAFa4azkLWN2dCAAAAI8AAAAKAAAACgFgwioZnBnbQAAAmQAAAGxAAACZVO0L6dnYXNwAAAEGAAAAAgAAAAIAAAAEGdseWYAAAQgAAAFDgAACMz7eroHaGVhZAAACTAAAAAwAAAANgWEOEloaGVhAAAJYAAAAB0AAAAkDGEGa2htdHgAAAmAAAAAEwAAADBEgAAQbG9jYQAACZQAAAAaAAAAGgsICJBtYXhwAAAJsAAAACAAAAAgASgBD25hbWUAAAnQAAACZwAABOD4no+3cG9zdAAADDgAAABsAAAAmF+yXM9wcmVwAAAMpAAAAC4AAAAusPIrFAAAAAEAAA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5jJLb1aGIGvb6TjfWNLdkqdFvJw4l1amjlXtXRZqRN7lSRylZZyhBqpVFWmTEXgWfUrpi/hZOQXdOd4rKuXOtEWT3k5IArPRzTUU5tHKjecZkTpnVbNOnt6jzN8240GD4xtikvZW56043rPMg/dS+dlOceXoR+WPbJ55Dsekq1lJpnypsMUsYOdCW30o103Ytu/lvh+5RWFLfBjm9/N8hJntPhvx92rnoE/kyHdGasGy754kw36vsVf/lFeBi+0COu+cfgQr42G3CRpeLoZ53gmfe3X6rcKt5oVxnptHR9JS8ehVUd5wvvahN2uqxOOpMXapibI5k7Zwbt4xBSaTfoKBufhAnO/uqNcfK8OTs0OQ6l7JIqFjDhYj5WcjevCnI/1DDiI8j4ndWb/5YzDZWh79yomWXeXj7Nnw70/2TIeFPTrlSh89k1ObOSRVZWZfgF0r/zJQB4nG2JUQuCQBCEd07TTg36fb2IyBaLd3vWaUh/vmSJnvpgmG8YcmS8X3Shf3R7QA4OBUocUKHGER5NNbOOEvwc1txnuWkTRb/aPjimJ5vXabI+3VfOiyS15UWvyezM2xiGOPyuMohOH8O8JiO4Af+FsAGNAEuwCFBYsQEBjlmxRgYrWCGwEFlLsBRSWCGwgFkdsAYrXFhZsBQrAAA=) format('woff');
}
/* Body */
html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body{
color:#4d4d4c;
font-family:Georgia, Palatino, 'Palatino Linotype', Times, 'Times New Roman',
"Hiragino Sans GB", "STXihei", "微软雅黑", serif;
font-size:12px;
line-height:1.5em;
background:#fefefe;
width: 45em;
margin: 10px auto;
padding: 30px;
border: 1px solid #ddd;
outline: 1300px solid #f8f8f8;
}
/* Links */
a{ color: #06d; text-decoration:none; }
a:hover{ color: #06e; text-decoration: underline; }
a:active{ color:#faa700; }
a:focus{ outline: thin dotted; }
a:hover, a:active{ outline: 0; }
::-moz-selection { background:#a8d1ff; color:#000 }
::selection { background:#a8d1ff; color:#000 }
a::-moz-selection { background:#a8d1ff; color:#0645ad }
a::selection { background:#a8d1ff; color:#0645ad }
/* Header Anchor Links*/
.headeranchor-link {
color:#111;
border: 0;
margin-left: -20px;
padding-right: 6px;
cursor: pointer;
position: absolute;
display: block;
top: 0;
left: 0;
bottom: 0;
}
.headeranchor {
font: normal normal 16px octicons-anchor;
line-height: 1;
-moz-osx-font-smoothing: grayscale;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.headeranchor-link:hover,
.headeranchor-link:visited,
.headeranchor-link:active
{ text-decoration: none; color:#4d4d4c; }
.headeranchor-link:hover .headeranchor:before,
h1:hover .headeranchor:before,
h2:hover .headeranchor:before,
h3:hover .headeranchor:before,
h4:hover .headeranchor:before,
h5:hover .headeranchor:before,
h6:hover .headeranchor:before
{ content: '\f05c'; }
abbr { cursor: pointer; }
/* Paragraphs */
p { margin:1em 0; }
/* Images */
img {
max-width:100%;
border: 0;
-ms-interpolation-mode: bicubic;
vertical-align: middle;
}
/* Headers */
h1,h2,h3,h4,h5,h6 {
font-weight:normal;
color:#111;
line-height: 1.7;
position: relative;
}
h4,h5,h6{ font-weight: bold; }
h1 { font-size:2.5em; border-bottom: 1px solid #ddd;}
h2 { font-size:2em; border-bottom:1px solid #eee; padding-bottom: 5px; }
h3 { font-size:1.5em; }
h4 { font-size:1.2em; }
h5 { font-size:1em; }
h6 { font-size:0.9em; }
/* Block Quotes */
blockquote {
color:#666666;
margin:0;
padding-left: 3em;
border-left: 0.5em #EEE solid;
}
hr { display: block; height: 2px; border: 0; border-top: 1px solid #aaa;border-bottom: 1px solid #eee; margin: 1em 0; padding: 0; }
/* Raw Blocks */
pre, code, kbd, samp {
color: #000;
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
font-size: 0.88em;
background-color: #F8F8F8;
border: 1px solid #CCC;
}
pre {
padding: 10px;
overflow: auto;
}
code { padding: 0 3px 0 3px; }
pre code { border: 0; padding: 0; }
/* Admonition */
.admonition {
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
font-size: 0.88em;
padding: 0.5em 1em 0.5em 1em;
margin: 10px auto;
color: #888888;
background-color: #F8F8F8;
border: 1px solid #888888;
}
.admonition p { padding: 0; margin: 0; }
.admonition-title { font-weight: bold; margin: 0; }
.admonition-icon {
font: normal normal 16px fontawesome-mini;
line-height: 1.5;
-moz-osx-font-smoothing: grayscale;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
float: left;
}
.admonition.attention { color: #4F8A10; background-color: #DFF2BF; border: 1px solid #4F8A10; }
.admonition.caution { color: #D63301; background-color: #FFCCBA; border: 1px solid #D63301; }
.admonition.hint { color: #00529B; background-color: #BDE5F8; border: 1px solid #00529B; }
.admonition.danger { color: #D8000C; background-color: #FFBABA; border: 1px solid #D8000C; }
.admonition.question { color: #00049b; background-color: #BDC8F8; border: 1px solid #00049b; }
.admonition.note { color: #9F6000; background-color: #FEEFB3; border: 1px solid #9F6000; }
.attention > .admonition-icon:before { content: "\f058\00a0"; }
.caution > .admonition-icon:before { content: "\f06a\00a0"; }
.hint > .admonition-icon:before { content: "\f05a\00a0"; }
.danger > .admonition-icon:before { content: "\f056\00a0"; }
.question > .admonition-icon:before { content: "\f059\00a0"; }
.note > .admonition-icon:before { content: "\f040\00a0"; }
/* progress bar*/
.progress {
display: block;
width: 300px;
margin: 10px 0;
height: 24px;
border: 1px solid #ccc;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
background-color: #F8F8F8;
position: relative;
box-shadow: inset -1px 1px 3px rgba(0, 0, 0, .1);
}
.progress-label {
position: absolute;
text-align: center;
font-weight: bold;
width: 100%; margin: 0;
line-height: 24px;
color: #333;
text-shadow:
1px 1px 0px #fefefe,
-1px -1px 0px #fefefe,
-1px 1px 0px #fefefe,
1px -1px 0px #fefefe,
0px 1px 0px #fefefe,
0px -1px 0px #fefefe,
1px 0px 0px #fefefe,
-1px 0px 0px #fefefe,
1px 1px 2px #000;
-webkit-font-smoothing: antialiased !important;
white-space: nowrap;
overflow: hidden;
}
.progress-bar {
height: 24px;
float: left;
border-right: 1px solid #ccc;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
background-color: #34c2e3;
box-shadow: inset 0 1px 0px rgba(255, 255, 255, .5);
background-size: 30px 30px;
background-image: -webkit-linear-gradient(
135deg,
rgba(255, 255, 255, .4) 27%, transparent 27%,
transparent 53%, rgba(255, 255, 255, .4) 53%,
rgba(255, 255, 255, .4) 77%, transparent 77%,
transparent
);
background-image: -moz-linear-gradient(
135deg,
rgba(255, 255, 255, .4) 27%, transparent 27%,
transparent 53%, rgba(255, 255, 255, .4) 53%,
rgba(255, 255, 255, .4) 77%, transparent 77%,
transparent
);
background-image: -ms-linear-gradient(
135deg,
rgba(255, 255, 255, .4) 27%, transparent 27%,
transparent 53%, rgba(255, 255, 255, .4) 53%,
rgba(255, 255, 255, .4) 77%, transparent 77%,
transparent
);
background-image: -o-linear-gradient(
135deg,
rgba(255, 255, 255, .4) 27%, transparent 27%,
transparent 53%, rgba(255, 255, 255, .4) 53%,
rgba(255, 255, 255, .4) 77%, transparent 77%,
transparent
);
background-image: linear-gradient(
135deg,
rgba(255, 255, 255, .4) 27%, transparent 27%,
transparent 53%, rgba(255, 255, 255, .4) 53%,
rgba(255, 255, 255, .4) 77%, transparent 77%,
transparent
);
}
.progress-100plus .progress-bar { background-color: #1ee038; }
.progress-80plus .progress-bar { background-color: #86e01e; }
.progress-60plus .progress-bar { background-color: #f2d31b; }
.progress-40plus .progress-bar { background-color: #f2b01e; }
.progress-20plus .progress-bar { background-color: #f27011; }
.progress-0plus .progress-bar { background-color: #f63a0f; }
.gloss .progress-bar {
box-shadow:
inset -1px 1px 0px rgba(255, 255, 255, .5),
inset 0 -4px 12px rgba(255, 255, 255, .7),
inset 0 4px 12px rgba(255, 255, 255, .7),
inset 0 -12px 0px rgba(0, 0, 0, .05),
inset 1px -1px 0px rgba(255, 255, 255, .2);
}
.candystripe-animate .progress-bar{
-webkit-animation: animate-stripes 3s linear infinite;
-moz-animation: animate-stripes 3s linear infinite;
animation: animate-stripes 3s linear infinite;
}
@-webkit-keyframes animate-stripes { 0% { background-position: 0 0; } 100% { background-position: 60px 0; } }
@-moz-keyframes animate-stripes { 0% { background-position: 0 0; } 100% { background-position: 60px 0; } }
@keyframes animate-stripes { 0% { background-position: 0 0; } 100% { background-position: 60px 0; } }
/* Inlines */
b, strong { font-weight: bold; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
dfn { font-style: italic; }
/* Lists */
ul, ol { padding-left: 30px; }
li p:last-child { margin:0 }
.task-list-item { list-style-type: none; }
.task-list-item input { float:left; margin-left: -20px; margin-top: 6px; }
dt { font-weight: bold; font-style: italic;}
dd { margin: 0 0 0 2em; }
/* Tables */
table { width: 100%; border-collapse: collapse; overflow-x: auto; overflow-y: hidden; display: block;}
table tr { background-color: #fefefe; }
table tr:nth-child(2n) { background-color: #f8f8f8; }
td, th { border: 1px solid #ddd; padding: 6px 13px; }
/* Codehilite Tables */
.codehilitetable { border: 0; border-spacing: 0; }
.linenos, .code, .codehilitetable td { border: 0; padding: 0; }
td:not(.linenos) .linenodiv { padding: 0 !important; }
.code { width: 100%; }
.linenos div pre, .linenodiv pre {
border: 0;
border-top: 1px solid #CCC;
border-left: 1px solid #CCC;
border-right: 1px solid #CCC;
border-bottom: 1px solid #CCC;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
-webkit-border-top-left-radius: 3px;
-webkit-border-bottom-left-radius: 3px;
-moz-border-radius-topleft: 3px;
-moz-border-radius-bottomleft: 3px;
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
}
.code div pre {
border: 0;
border-top: 1px solid #CCC;
border-right: 1px solid #CCC;
border-bottom: 1px solid #CCC;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
-webkit-border-top-right-radius: 3px;
-webkit-border-bottom-right-radius: 3px;
-moz-border-radius-topright: 3px;
-moz-border-radius-bottomright: 3px;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
/* Media */
@media only screen and (min-width: 480px) {
body{ font-size:14px; }
}
@media only screen and (min-width: 768px) {
body{ font-size:16px; }
}
@media print {
* { background: transparent !important; color: black !important; filter:none !important; -ms-filter: none !important; }
body{ font-size:12pt; max-width:100%; outline:none; border: 0;}
a, a:visited { text-decoration: underline; }
.headeranchor-link { display: none; }
hr { height: 1px; border:0; border-bottom:1px solid black; }
a[href]:after { content: " (" attr(href) ")"; }
abbr[title]:after { content: " (" attr(title) ")"; }
.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
pre, blockquote { border: 1px solid #999; padding-right: 1em; page-break-inside: avoid; }
.progress, .progress-bar { box-shadow: none; }
tr, img { page-break-inside: avoid; }
img { max-width: 100% !important; }
p, h2, h3 { orphans: 3; widows: 3; }
h2, h3 { page-break-after: avoid; }
}
</style><title>README</title></head><body><h1 id="quartz-composition-player-universal-media-player"><a name="user-content-quartz-composition-player-universal-media-player" href="#quartz-composition-player-universal-media-player" class="headeranchor-link" aria-hidden="true"><span class="headeranchor"></span></a>Quartz Composition Player (Universal Media Player)</h1>
<p>This project features a Cocoa application for OS X that is on the one hand a generalized media player that uses and internal Quartz Composition to display videos, images and other media types and on the other hand can visualize any custom Quartz Composition.</p>
<p>The application is command line based, so at this point there is no GUI available. Possibly in later versions of this software a GUI will be implemented.</p>
<h2 id="installation"><a name="user-content-installation" href="#installation" class="headeranchor-link" aria-hidden="true"><span class="headeranchor"></span></a>Installation</h2>
<p>Either download the pre-compiled OS X App bundle out of the “Binary” directory or clone/download the source-code inside the “Source” directory and to compile yourself. The pre-compiled binary is running on OS X 10.7, 10.8 and 10.9 (and presumably on 10.10). Copy your App bundle anywhere you want and you’re set to go - now further sonftware needed.</p>
<h2 id="usage"><a name="user-content-usage" href="#usage" class="headeranchor-link" aria-hidden="true"><span class="headeranchor"></span></a>Usage</h2>
<p>Start the application by calling the binary inside the App bundle with <code>/path/to/app/bundle/Contents/Mac OS/QuartzCompositionPlayer</code>. By default this will only open a black window with the size of 300x100 pixels. To alter the content of the application use the following command line arguments:</p>
<h3 id="help"><a name="user-content-help" href="#help" class="headeranchor-link" aria-hidden="true"><span class="headeranchor"></span></a>Help</h3>
<table>
<thead>
<tr>
<th align="left">argument</th>
<th><code>-help</code></th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"></td>
<td>Shows the help page ignoring all other arguments.</td>
</tr>
</tbody>
</table>
<h3 id="general-application-settings"><a name="user-content-general-application-settings" href="#general-application-settings" class="headeranchor-link" aria-hidden="true"><span class="headeranchor"></span></a>General application settings</h3>
<table>
<thead>
<tr>
<th align="left">argument</th>
<th><code>-window-size=W,H</code></th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"></td>
<td>Substitute <code>W</code> and <code>H</code> with one integer each and the application will start with the give size. <code>windows-size=LED-Grid</code> will automatically set the size to the LED grid size. <code>window-size=LED-Complete</code>will automatically size the application to the LED grid plus spot lights.</td>
</tr>
<tr>
<td align="left">default</td>
<td><code>-window-size=300,100</code></td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th align="left">argument</th>
<th><code>-window-origin=X,Y</code></th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"></td>
<td>Substitute <code>X</code> and <code>Y</code> with one integer each and the application will start at the given position. <code>window-origin=LED-Grid</code> will automatically move the application to the LED grid position. <code>window-origin=LED-Complete</code> will automatically move the application to the LED grid plus spot lights position. <strong>Beware:</strong> Since Cocoa has a different coordinate system than most other programming frameworks 0,0 won’t be in the upper-left corner but in the bottom-left corner.</td>
</tr>
<tr>
<td align="left">default</td>
<td><code>-window-origin=0,0</code></td>
</tr>
</tbody>
</table>
<h3 id="loading-a-custom-quartz-composition"><a name="user-content-loading-a-custom-quartz-composition" href="#loading-a-custom-quartz-composition" class="headeranchor-link" aria-hidden="true"><span class="headeranchor"></span></a>Loading a custom Quartz composition</h3>
<table>
<thead>
<tr>
<th align="left">argument</th>
<th><code>-composition=<path></code></th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"></td>
<td>If set the given composition will be loaded. Substitute <code><path></code> with a path or URL to the Quartz composition.</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th align="left">argument</th>
<th><code>-arguments={key:value,key:value,...}</code></th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"></td>
<td>If set a collection of key:value pairs separated by ‘,’ surrounded by ‘</td>
</tr>
</tbody>
</table>
<h3 id="showing-an-image-or-a-video"><a name="user-content-showing-an-image-or-a-video" href="#showing-an-image-or-a-video" class="headeranchor-link" aria-hidden="true"><span class="headeranchor"></span></a>Showing an image or a video</h3>
<table>
<thead>
<tr>
<th align="left">argument</th>
<th><code>-image={path:<path>,<optionalParameter>:<optionalValue>,...}</code></th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"></td>
<td>Displays an image. Most common image file formats are supported: JPEG, TIFF, PNG, GIF, BMP, TGA, OpenEXR, JPEG 2000, PDF… Substitute <code><path></code> with a path or URL to the file’s location. (required)</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th align="left">optional parameter</th>
<th><code>width:<value></code></th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"></td>
<td>Substitute <code><value></code> with an integer value > 0 or use <code>auto</code> if you want the width to adjust to height and keep aspect ratio. Use <code>full</code> if you want to use the full window width.</td>
</tr>
<tr>
<td align="left">default</td>
<td><code>width:auto</code></td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th align="left">optional parameter</th>
<th><code>height:<value></code></th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"></td>
<td>Substitute <code><value></code> with an integer value > 0 or use <code>auto</code> if you want the height to adjust to width and keep aspect ratio. Use <code>full</code> if you want to use the full window height. <strong>Beware:</strong> If both <code>width:<value></code> and <code>height:<value></code> are set to <code>auto</code> aspect ratio will be kept by scaling the image to fit the window in both dimensions. If both <code>width:<value></code> and <code>height:<value></code> are set to <code>full</code> aspect ratio will be lost by scaling the image to fit the entire window.</td>
</tr>
<tr>
<td align="left">default</td>
<td><code>height:auto</code></td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th align="left">argument</th>
<th><code>-video={path:<path>,<optionalParameter>:<optionalValue>,...}</code></th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"></td>
<td>Displays a movie file. The video has to be a QuickTime movie in MOV format. Substitute <code><path></code> with a path or URL to the file’s location. (required)</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th align="left">optional parameter</th>
<th><code>width:<value></code></th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"></td>
<td>Substitute <code><value></code> with an integer value > 0 or use <code>auto</code> if you want the width to adjust to height and keep aspect ratio. Use <code>full</code> if you want to use the full window width.</td>
</tr>
<tr>
<td align="left">default</td>
<td><code>width:auto</code></td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th align="left">optional parameter</th>
<th><code>height:<value></code></th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"></td>
<td>Substitute <code><value></code> with an integer value > 0 or use <code>auto</code> if you want the height to adjust to width and keep aspect ratio. Use <code>full</code> if you want to use the full window height. <strong>Beware:</strong> If both <code>width:<value></code> and <code>height:<value></code> are set to <code>auto</code> aspect ratio will be kept by scaling the image to fit the window in both dimensions. If both width and height are set to “full” aspect ratio will be lost by scaling the image to fit the entire window.</td>
</tr>
<tr>
<td align="left">default</td>
<td><code>height:auto</code></td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th align="left">optional parameter</th>
<th><code>loops:<value></code></th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"></td>
<td>Substitute <code><value></code> with an integer value > 0 to set how often the movie should be played. If not set or with an integer less or equal to 0 the movie will be looped as long as the application is running.</td>
</tr>
<tr>
<td align="left">default</td>
<td><code>loops:0</code></td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th align="left">optional parameter</th>
<th><code>rate:<value></code></th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"></td>
<td>Substitute <code><value></code> with a decimal number to set the playback speed of the video. <code>rate:0.0</code> meaning pause, <code>rate:1.0</code> meaning normal playback speed, <code>rate:-1.0</code> meaning reverse playback, <code>rate:2.0</code> meaning double playback speed.</td>
</tr>
<tr>
<td align="left">default</td>
<td><code>rate:1.0</code></td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th align="left">optional parameter</th>
<th><code>start:<value></code></th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"></td>
<td>Substitute <code><value></code> with a positiv decimal number between zero and the duration of your movie to set the time stamp where the movie playback should start. Negative values will be ignored. If the value exeeds the total movie duration this value will be ignored. Set to “0” or don’t set to start at the beginning of the video.</td>
</tr>
<tr>
<td align="left">default</td>
<td><code>start:0.0</code></td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th align="left">optional parameter</th>
<th><code>duration:<value></code></th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"></td>
<td>Substitute <code><value></code> with a positiv decimal number bigger than zero to set the duration the movie should be played starting either at the time set via <code>start:<value></code> command or at the beginning of the video. If you set this to “0.0” the value set for start will be ingnored and the whole video will be played. If the sum of the start time and the duration time exeed the movie duration this option will be ignored.</td>
</tr>
<tr>
<td align="left">default</td>
<td><code>duration:0.0</code></td>
</tr>
</tbody>
</table>
<h3 id="showing-a-presentation"><a name="user-content-showing-a-presentation" href="#showing-a-presentation" class="headeranchor-link" aria-hidden="true"><span class="headeranchor"></span></a>Showing a presentation</h3>
<table>
<thead>
<tr>
<th align="left">argument</th>
<th><code>-presentation={path:<path>,optionalParameter:<optionalValue>,...}</code></th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"></td>
<td>Shows a slide show of all images inside the given path in alphabetical order. Substitute <code><path></code> with the path to the directory where your slide images are located. (required)</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th align="left">optional parameter</th>
<th><code>duration:<value></code></th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"></td>
<td>Substitute <code><value></code> with the time in seconds each slide should be visible.</td>
</tr>
<tr>
<td align="left">default</td>
<td><code>duration:3.0</code></td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th align="left">optional parameter</th>
<th><code>loops:<value></code></th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"></td>
<td>Substitute <code><value></code> with a number that determines how often to go through the whole presentation.</td>
</tr>
<tr>
<td align="left">default</td>
<td><code>loops:1</code></td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th align="left">optional parameter</th>
<th><code>control:<value></code></th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"></td>
<td>Substitue <code><value></code> with <code>manual</code> if you want to manually control the presentation. Show next slide with: <code>left mouse button</code>, <code>space key</code>, <code>return key</code>, <code>arrow right key</code> or <code>arrow down key</code>. Show previous slide with: <code>right mouse button</code>, <code>backspace key</code>, <code>arrow left key</code> or <code>arrow up key</code>. There is also an OSC receiver listing on port 60000 waiting for <code>/presentation/next/1</code> resp. <code>/presentation/prev/1</code> messages to control the presentation. <strong>BEWARE:</strong> Switching to manual controls will ignore your settings for <code>duration:<value></code> and <code>loops:<value></code>.</td>
</tr>
</tbody>
</table>
<h3 id="examples"><a name="user-content-examples" href="#examples" class="headeranchor-link" aria-hidden="true"><span class="headeranchor"></span></a>Examples</h3>
<table>
<thead>
<tr>
<th align="left">command line</th>
<th><code>"/Users/inka/Development/quartz-composition-player/Binary/QuartzCompositionPlayer_10.7_10.8_10.9_x86_x64.app/Contents/MacOS/QuartzCompositionPlayer" -windows-size=1280,1024 -window-origin=200,200 -image={path:/Users/inka/Development/Images/Image.png,width:full,height:100}</code></th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">result</td>
<td>The command will start the application loading the image located at “/Users/inka/Development/Images/Image.png” with the same width of the application window and a height of 100 pixels. The application window has a size of 1280x1024 pixels and will origin at 200x200.</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th align="left">command line</th>
<th><code>"/Users/inka/Development/quartz-composition-player/Binary/QuartzCompositionPlayer_10.7_10.8_10.9_x86_x64.app/Contents/MacOS/QuartzCompositionPlayer" -windows-size=800,600 -window-origin=100,100 -video={path:/Users/inka/Development/Videos/Video.mov,width:full,height:full,loops:10,start:10,duration:25,rate:-1.0}</code></th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">result</td>
<td>The command will start the application loading the video located at “/Users/inka/Development/Videos/Video.mov” with the same width and height of the application window. The application window has a size of 800x600 pixels and will origin at 100x100. The application will play the video backwards 10 times, starting at 35 and ending at 10 seconds.</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th align="left">commad line</th>
<th><code>"/Users/inka/Development/quartz-composition-player/Binary/QuartzCompositionPlayer_10.7_10.8_10.9_x86_x64.app/Contents/MacOS/QuartzCompositionPlayer" -presentation={path:"/Users/inka/Documents/Bilder",duration:2.0,loops:2}</code></th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">result</td>
<td>The command will start the application loading all images inside the path “/Users/inka/Documents/Bilder”, showing each image for “2.0” seconds and showing the whole presentation “2” times.</td>
</tr>
</tbody>
</table></body></html>