-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathindex.html
244 lines (222 loc) · 12.3 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>MediaTrace</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,300' rel='stylesheet' type='text/css'>
<!-- HTML5 Shiv and Media Query Support for IE -->
<!--[if lt IE 9]>
<script src="/js/vendor/html5shiv.min.js"></script>
<script src="/js/vendor/respond.min.js"></script>
<![endif]-->
</head>
<body id="body">
<!-- Navigation -->
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#page-top">MediaTrace</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li class="hidden">
<a href="#page-top"></a>
</li>
<li class="page-scroll">
<a href="#about">About</a>
</li>
<li class="page-scroll">
<a href="#files">Files</a>
</li>
<li class="page-scroll">
<a href="#use">Use</a>
</li>
<li class="page-scroll">
<a href="#contact">Contact</a>
</li>
<li class="page-scroll">
<a href="#credit">Credit</a>
</li>
<li class="page-scroll">
<a href="#license">License</a>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
<header style="padding-top:60px;">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<span style="font-size:40px;">
<div class="intro-text">
<span class="name">MediaTrace</span>
</div>
</div>
</div>
</div>
</header>
<!-- About Section -->
<section id="about">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<h2>About</h2>
<p>
MediaTrace is a technical report that expresses the binary architecture of a file as interpreted by MediaArea tools such as MediaInfo, starting in version 0.7.76, and MediaConch, starting in version 2015-07. Although MediaTrace reports may document any file format, the tools that generate it, MediaInfo and MediaConch, are optimized to report on audiovisual formats.
Many audiovisual formats are based on chunk-based storage where a block of data will either contain a data payload or other blocks. In QuickTime parlance these blocks are called atoms, in AVI “chunks”, and in Matroska, “elements”. MediaTrace will attempt to parse apart each block into subdivisions and report on their contents. Whether the source format specification calls it element, atom, chunk, or another term, MediaTrace will call it a <code><block></code>. In MediaTrace the contents of the block are called <code><data></code>.
For instance, the television information chunk of a DPX file may be interpreted like this. Here a 120 byte block of data (the tv info dpx chunk) within a DPX file is parsed by mediainfo with its contained information categories as data elements which contain its information as expressed in the file with labelling and offset information.
</p>
<pre>
<block offset="1920" name="Television information" size="128">
<data offset="1920" name="SMPTE time code">4294967295</data>
<data offset="1924" name="SMPTE user bits">4294967295</data>
<data offset="1928" name="Interlace" moreinfo="2:1 interlace">255</data>
<data offset="1929" name="Field number">255</data>
<data offset="1930" name="Video signal standard" moreinfo="Undefined">0</data>
<data offset="1931" name="Zero">255</data>
<data offset="1932" name="Horizontal sampling rate (Hz)">0.000</data>
<data offset="1936" name="Vertical sampling rate (Hz)">0.000</data>
<data offset="1940" name="Temporal sampling rate or frame rate (Hz)">0.000</data>
<data offset="1944" name="Time offset from sync to first pixel (ms)">0.000</data>
<data offset="1948" name="Gamma">0.000</data>
<data offset="1952" name="Black level code value">0.000</data>
<data offset="1956" name="Black gain">0.000</data>
<data offset="1960" name="Breakpoint">0.000</data>
<data offset="1964" name="Reference white level code value">0.000</data>
<data offset="1968" name="Integration time (s)">0.000</data>
<data offset="1972" name="Reserved for future use">(76 bytes)</data>
</block>
</pre>
<p>
In some cases where the contents of a block are unknown or simply containing a large binary payload then in lieu of displaying the full contents, it will be summarized by its size such as:
</p>
<code><data offset="2048" name="Data">(12441600 bytes)</data></code>
<p>
MediaTrace provides a relatively simple and generic structure to document the complex and diverse internal structure of audiovisual files. MediaInfo’s parsers determine how to label and dissect such data and therefore the MediaTrace values such as name or the granularity of the parsing many change over time. MediaArea makes an effort to keep the names used in MediaTrace consistent with the specifications that define the formats being parsed.
</p>
</div>
</div>
</div>
</section>
<!-- Files Section -->
<section id="files">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<h2>Files</h2>
<p>
An XML Schema for MediaTrace is available at <a href="//mediaarea.net/mediatrace/mediatrace.xsd">https://mediaarea.net/mediatrace/mediatrace.xsd</a>. A data dictionary is also provided at <a href="https://github.com/MediaArea/MediaTrace/blob/master/DataDictionary.md">DataDictionary.md</a>. The development history for both the XML Schema and data dictionary are available at <a href="https://github.com/MediaArea/MediaTrace">Github</a>.
</p>
<p>
Sample files are also <a href="https://github.com/MediaArea/MediaTrace/tree/master/TraceSamples">available on Github here</a>.
</p>
</div>
</div>
</div>
</section>
<!-- Use Section -->
<section id="use">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<h2>How to create:</h2>
<h4>With <a href="/MediaInfo">mediainfo</a></h4>
<code>mediainfo --Details=1 --Output=XML file.mov</code>
<h4>With <a href="/MediaConch">mediaconch</a></h4>
<code>mediaconch -tt -fx file.mov</code>
<h4>With <a href="/MediaConch">mediaconch GUI</a></h4>
select <code>Trace</code> and <code>XML</code>
</div>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="contact">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<h2>Contact</h2>
<p>
For questions or more information about this project, contact the MediaArea team at <a href="mailto:[email protected]">[email protected]</a>
</p>
</div>
</div>
</div>
</section>
<!-- Credit Section -->
<section id="credit">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<h2>Credit</h2>
<p>
Developed by <a href="//mediaarea.net">MediaArea</a> in collaboration with the <a href="//www.moma.org">Museum of Modern Art</a>. MediaTrace is also developed as part of the <a href="//mediaarea.net/MediaConch">MediaConch</a>, a <a href="//preforma-project.eu/">PREFORMA</a> project, where it serves an integral role of communicating the architectural data of digital media for the purposes of conformance checking.
</p>
</div>
</div>
</div>
</section>
<!-- License Section -->
<section id="license">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<h2>License</h2>
<p>
MediaTrace is licensed under the BSD 2-Clause license.
</p>
<p>
Copyright (c) 2002-2015 <a href="mailto:[email protected]">MediaArea.net SARL</a>. All rights reserved.
</p>
<p>
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
</p>
<ul>
<li>Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.</li>
<li>Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.</li>
</ul>
<p>
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS”
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.
</p>
</div>
</div>
</div>
</section>
<div id="footer">
<footer>
<div class="navbar">
<div class="container">
<p>
© <a href="//mediaarea.net">MediaArea.net</a>
</p>
</div>
</div>
</footer>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
</body>
</html>