Fix HMAC sequence count on MXF read.
[asdcplib.git] / CHANGES
1
2 Change History
3
4 2019-02-22 - 2.10.32 -- bug fixes
5  o Fixed parsing of as-02-wrap -tfr (ACES) option value
6  o Fixed ISXD bugs:
7     o Incorrect UTF_8_Text_DataEssenceCoding UL
8     o Incorrect ISXDDataEssenceDescriptor_NamespaceURI UL
9     o Incorrect use of FrameWrappedISXDData UL
10     o Incorrect use of FrameWrappedISXDContainer UL
11  o Added wide-char support for filenames on Win32, allows UTF-8 characters in
12    calls to Kumu::File*::Open*(). The macro KM_WIN32_UTF8 must be defined to
13    enable this feature.
14  o CMake fixed to extract version form configure.ac
15
16
17 2018-10-15 - 2.10.31
18  o NOTE: Use of MXFGCGenericEssenceMultipleMappings in AS-02 files is not
19    defined by standards and will soon be withdrawn from this library. If you
20    would like to experience this change now, define the macro
21    ASDCP_GCMULTI_PATCH
22  o Removed PIMD support (unused prototype)
23  o Returned the DataEssenceCoding UL version byte to "5" in Atmos files
24  o Fixed ColorPrimaries_ACES UL version byte
25  o Added "FSKSync" audio channel label to the MCA label generator
26  o SMPTE RDD 45 requires a minimum BER encoding length of five (5) bytes for
27    Content Element packets. The Write_EKLV_Packet() API has been modified to
28    allow the specification of this value. All existing wrapping modules have
29    been changed to conform to the new API, and all continue to use four (4)
30    as the minimum BER encoding length. Write_EKLV_Packet() will continue to
31    generate BER encodings with a length greater than the specified minimum for
32    payloads that are larger than values encoded using the specified minimum.
33
34
35 2018-09-14 - 2.9.30
36  o Fixes wrong MajorVersion in Preface
37  o Adds VideoLineMap also to RGBA essence descriptor
38  o Adds VideoLineMap to RGBA and CDCI descriptor only when option -l
39    is present (disputable - but distinguished value {0, 0} is not
40    allowed in closed and complete partitions)
41  o Fixes issue with IndexRate not set in AS-02 J2K files
42  o Additional fixes to minor version number in AS-02 partition packs
43  o CMake brought up to date
44  o Fixed erroneous WAV RF64 header interpretation
45  o ACES AS-02 ST 2065-5 wrapper
46  o ACES AS-02 ST 2065-5 unwrapper
47  o ST 2067-50 Subdescriptors support
48  o ST 2067-50 Target Frame wrapping support
49  o ST 2067-50 Target Frame unwrapping support
50  o Command line tools as-02-wrap, as-02-unwrap and as-02-info extended to
51    support ACES, App#5 subdescriptors and Target Frames
52  o Beta support for ST2065-5 AS_02 ACES wrapping and unwrapping including
53    ST 2067-50 Subdescriptors and Target Frame support
54  o Please report ACES-related issues to wolfgang.ruppel@hs-rm.de
55
56
57 2018-08-08 - 2.8.29
58  o Modified AS_02::ST2052_TextParser::OpenRead signature
59  o Fixed partition version error in AS-02 interior body partitions
60  o Changed StartTimecode to 0 (zero) in the Source Package
61  o Remove use of BN_init in OpenSSL API
62  o XML parser now works correctly with Xerces-c 3.x
63  o Improved MCA sound field expression parser
64  o Added support for IMF Numbered Source Channel labels in MCA
65  o Added CLI switches for MCAAudioContentKind and MCAAudioElementKind
66  o Re-assigned asdcp-wrap option '-g' to '-x', added new option '-g' 
67  o Added TLM marker check to j2c-test
68  o Added to kmrandgen options '-C', '-w', '-W'
69  o Added support for SMPTE RDD 47 "ISXD Track File"
70  o Added generic support for SMPTE RP 2057 "Text-Based Metadata Carriage in MXF"
71  o Re-factored AS-02 frame-wrap index write to use a common implementation
72  o Re-factored support for SMPTE ST 410 to use a common implementation (affects
73      AS-DCP and AS-02 timed-text MXF (SMPTE 429-5)
74  o Patched several ambiguous integer casts.
75  o Added new essence type identifiers ESS_AS02_ISXD and ESS_AS02_ACES
76  o Fixed a bug wherein the Generic Container data track clip was instead being
77      written as a DM track
78  o Fixed UL values DCDataDescriptor and ContainerConstraintSubDescriptor to have
79      a byte 6 value of 0x53 (Tag Set) instead of 0x07 (coding sentinel)
80  o Added UL values 468 - 511 to the dictionary (including added ACES UL values)
81  o Added ApplicationSchemes and ConformsToSpecifications to the Preface set
82  o Added default initializer to MXF::LineMapPair
83  o Added sets DescriptiveFramework, DescriptiveObject, TextBasedDMFramework,
84      TextBasedObject, GenericStreamTextBasedSet and ISXDDataEssenceDescriptor,
85      ACESPictureSubDescriptor, TargetFrameSubDescriptor
86  o Added ISXD support, options '-c', '-g', '-G', '-v', '-q', '-u' to as-02-wrap
87  o Added ISXD support and option '-g' to as-02-unwrap
88  o Cleaned up definition of UL WaveAudioDescriptor_PeakEnvelopeData (currently
89      unused)
90  o Moved ReferenceAudioAlignmentLevel from WaveAudioDescriptor to
91      GenericSoundEssenceDescriptor
92
93
94 2016-12-10 - MDD bug fix 2.7.19
95  o The previous version (2.7.18) contained incorrect MDD.cpp and MDD.h
96    files which affect the PIMF and JP2KEssenceCompression labels.
97
98
99 2016-12-10 - bug fixes 2.7.18
100  o Fixed *all* Partiton version numbers in AS-02 files (the previous attempt
101    only affected the header partition)
102  o Improved IMSC-1 profile detection. May not yet be perfect, experimentation
103    encouraged!
104  o Added IMF App2e UL values and new MXF data types ColorPrimary and
105    ThreeColorPrimaries (contributed by Schleich)
106  o Added picture descriptor elements MasteringDisplayPrimaries,
107    MasteringDisplayWhitePointChromaticity, MasteringDisplayMaximumLuminance,
108    and MasteringDisplayMinimumLuminance
109  o Added -o and -O options to as-02-wrap 
110  o Fixed as-02-wrap option -p when making 4:4:4 files
111  o Simplified as-02-wrap syntax description
112
113
114 2016-12-01 - bug fixes 2.6.17
115  o Fixed Partiton and Preface version numbers in AS-02 files
116  o Replaced WIN32 directory scanner with dirent_win.h
117  o The NamespaceURI property of AS-02 timed text files has been exposed in the API
118    and via as-02-wrap -P. This behavior replaces previous bad behavior, but puts
119    responsibility for selecting the correct value on the operator.
120  o Exposed CreatePNGNameId and CreateFontNameId subroutines in AS_02::TimedText
121  o Adjusted UUID generation based on PNG and font names to exclude paths by
122    inserting a call to PathBasename at each Id generation site
123  o Fixed AS-02 timed text index partition
124  o Fixed contents of generic partiton EssenceContainers property in AS-DCP timed
125    text files
126  o Added PixelLayout to RGBAEssenceDescriptor (contributed by Schleich)
127  o Cleared up MXFGCP1FrameWrappedPictureElement / MXFGCP1FrameWrappedPictureElement
128    ambiguity. PHDR continues to use MXFGCP1FrameWrappedPictureElement.
129    MXFGCI1FrameWrappedPictureElement is supported for interlace.
130  o Added support for 192, 200 and 240 fps images, includes 96, 100 and 120 fpe stereo
131  o Added missing MCA properties to MCALabelSubDescriptor (contributed by Ruppel)
132  o New MXF data type: LineMapPair
133  o Added default 0,0 VideoLineMap value when wrapping CDCI with as-02-wrap
134  o Added VideoLineMap property to GenericPictureEssenceDescriptor
135  o Added timed text unwrap support to as-02-unwrap (contributed by Ruppel)
136  o Added prototype PIDM dynamic metadata wrapping, config with --enable-phdr
137    (Not for production use, caveat emptor, not the droids, etc.)
138
139
140 2016-08-11 - bug fixes, 2.5.15
141
142  o Modified as-02-wrap to pass WhiteRefLev, BlackRefLev and ColorRange
143     (contributed by Elmer Musser / Rod Bogart)
144  o Fixed a bug in the index reader that allowed an out-of-bounds vector index
145    to be used.
146  o Modified the IndexEntry parser to ignore additional bytes belonging to slice
147    values.
148
149
150 2016-05-06 - bug fixes, 2.5.14
151
152  o Release 2.5.12 caused two problems with Atoms and DTS-X wrapping that are
153    addressed by this release. The UL values that were changed to correct the
154    DCData (ST 429-14) implementation had two unintended side-effects:
155      1. v2.5.12 cannot read old DCData (and thus DTS-X) track files
156      2. v2.5.12 creates broken Atmos track files (incorrect ULs)
157    The fix for this involved the following changes:
158      1. ASDCP::DCData::(MXFReader|MXFWriter) are no longer base classes of
159         ASDCP::ATMOS::(MXFReader|MXFWriter).
160      2. New UL values have been added to carry the original Atoms UL values:
161         a. DolbyAtmosDCDataWrappingFrame
162         b. DolbyAtmosDCDataEssence
163         c. DolbyAtmosDCDataDescriptor
164      3. ASDCP::ATMOS::(MXFReader|MXFWriter) have been modified to use the
165         DolbyAtmosDCData* UL values.
166      4. ASDCP::DCData::MXFReader will parse files having either DCData* or
167         DolbyAtmosDCData* UL values.
168      5. ASDCP::DCData:: MXFWriter continues to use DCData* UL values from ST
169         429-14
170   o Some optional parameters of the MXF metadata packs were being erroneously
171     initialized with a value of zero (0), such as GenericPictureEssenceDescriptor
172     ::SignalStandard, GenericPictureEssenceDescriptor::SampledXOffset(0), etc.
173   o Added higher edit rates (96, 100, 120) to the cinema TimedText_Parser
174
175   o Defined bool ASDCP::UL::operator<(const UL& rhs) const, which is needed to
176     carry out the version-insensitive lookup policy when searching for ULs in a
177     std::map<> of UL entries.
178   o New files:  src/info.in src/CMakeLists.txt
179   o Removed filess:  AS_DCP_DCData_internal.h
180
181
182 2016-03-17 - bug fixes, 2.5.12
183  o Changed default UNIX file permissions to "666"
184  o Changed default UNIX file permissions to "777"
185  o Added missing initializer for caltime::offset
186  o Fixed UL values for Aux Data files (per ST 429-14)
187  o Added support for default TTML fonts (ST2052_TextParser)
188  o Added Solaris patch to KM_fileio (Thanks Mikey!)
189  o Fixed the version byte in UL DataEssenceCoding
190  o Fixed duplicate linkage error for symbol MIME2str
191  o Big patch from Wolfgang Ruppel:
192    o Corrected erroneous fixed-tag values in ActiveHeight, ActiveWidth,
193      ActiveXOffset, ActiveYOffset UL definitions.
194    o Provided a stub implementation for Kumu::DirScannerEx (A real
195      implementation will follow soon.)
196    o Added as-02-info program
197    o Added Seek() method to PCM parsers
198    o Added CMakeLists.txt
199
200
201 2015-11-10 - bug fixes, IMF text, pink noise, 2.5.11
202  o I moved personal dev environment from older gcc to newer clang.  Many
203    small changes were made to satisfy the new compiler:
204    - Altered many printf format codes to use the correct format for the
205      given integer type.
206    - Parenthesized some expressions to clarify previously ambiguous
207      expectation about precedence.
208    - Created macro KM_MACOSX for use in OS-specific code selection.
209    - Removed last uses of the old C-language abs(), now using Kumu::xabs().
210    - Removed last uses of the old C-language atoi(), not using strtol().
211  o Added platform-independent call Kumu::GetExecutablePath() (to be tested
212    on win32).
213  o Added new capabilities to Result_t.
214  o Added imlementation of SMPTE ST 2092-1 pink noise generator.
215  o Added pinkwave CLI utility.
216  o Added font support to the IMF timed-text wrapper.
217  o Fixed a bug that was causing Array properties to be written without
218    the (count, length) header (from PAL).
219  o General review of Batch/Array distinction throughout the project.
220  o Cleaned up definitions of optional properties in all MXF metadata packs.
221  o Fixed Win32 build (from Crowe).
222  o Fixed a bug that caused incorrect failure when parsing JPEG 2000
223    codestreams having fewer than five decomposition levels. (from Korneder).
224  o Fixed missing UUID generation in some instances of the MCALinkID property.
225  o Added -w option to asdcp-wrap to support use of WTF label with MCA.
226  o Altered asdcp-wrap to recognize "-C <UL>" when MCA is being used.
227  o Fixed broken -A <w>/<h> option in as-02-wrap and phdr-wrap.
228  o asdcp-wrap and as-02-wrap now allow split channel groups in MCA labels.
229
230
231 2015-02-23 - bug fixes, 2.4.10
232   o Fixed a new bug introduced by the fix to large numbers of subtitle ancillary
233     resources.
234   o Added support for generic Aux Data (ST 429-14) to asdcp-wrap.
235
236
237 2015-02-19 - PHDR feature, bug fixes, 2.4.9
238   o Modified PCMParser and PCMParserList to return partial frame buffers at the
239     end of a WAV input file.  This was needed to allow wrapping all samples into
240     an AS-02 audio file (which is clip-wrapped) in the case where the input file
241     has an odd number of samples with respect to the frame buffer size being
242     used.  If there is more than one input file the length of the last buffer
243     will be determined by PCMParserList to be the shortest of the input files.
244     Prior to this change, partial samples in an input WAV file have been
245     abandoned (i.e., not written out to the MXF file).  As a result, AS-DCP
246     applications will have to decide whether to abandon the partial last frame
247     (usually detected by testing frame_buffer.Size() != frame_buffer.Capacity())
248     or write it to the MXF file.  Programs written to the old API will write the
249     partial frame (i.e., new behavior.)  This should not be harmful since the
250     remainder of the buffer is zeroed and the output file will contain one
251     additional edit unit compared to the previous version.
252   o asdcp-wrap has been modified to test for the partial buffer and by default
253     will complain and abandon the buffer (i.e., same behavior but with a warning
254     message.)  A new command line switch (-g) alters this behavior and writes
255     the buffer to the MXF file (it still warns the user that this condition is
256     present.)
257   o as-02-wrap now wraps all samples from the input file to the MXF file. There
258     is no padding, the clip is exactly the set of samples from the input.
259   o as-02 unwrap is temporarily restricted to creating wav files that are
260     aligned with the frame buffer size.  This means that the output file will
261     be longer than the original WAV input in the case where the input file has
262     an odd number of samples with respect to the frame buffer size being used.
263     The pad samples are zero (silence).
264   o Modified CalcFramesFromDurationInSamples() to increment the count by one for
265     the case where the input file has an odd number of samples with respect to
266     the frame buffer size being used (previously it truncated the odd samples.)
267   o Fixed ST 429-5 / ST 2067-5 wrapping to increase header space when ancillary
268     resources are present (fixes a bug that cause the header to overflow the
269     allotted space when large numbers of PNG files were present.)
270   o Refactored GetXMLDocType() to use the XML parser.
271   o Added ParseFirstFromString() method to Kumu::XMLElement
272   o Removed Kumu::StringIsXML from the API.
273   o Added ASDCP::MXF::RGBALayout type
274   o Added J2CLayout property to JPEG2000PictureSubDescriptor
275   o Changed km_token_split() to retain empty elements in the output list
276   o Added PHDR wrapping for AS-02.
277   o Added J2CLayout property to the JPEG2000PictureSubDescriptor.  This
278     support is preliminary: the Raw data type is being used instead of
279     RGBALayout type, which will be in the next release.
280
281
282 2014-10-2 - Bug fixes and enhancements, 2.2.6
283   o Fixed erroneous 377-4 MCA identifier in AS_DCP_PCM dump routine
284   o Fixed erroneous byte 13 in
285     WaveAudioDescriptor_ReferenceAudioAlignmentLevel label
286   o Added missing implementation of -W option to as-02.unwrap
287   o Fixed erroneous use of d-cinema ChannelAssignment label in as-02-wrap
288
289
290 2014-10-01 - Bug fixes and enhancements, 2.2.5
291   o Finished AS-02 text wrap/unwrap
292   o Fixed fractional seconds parsing for Timestamp objects
293   o Updated KLVPacket to use 64-bit length; allows huge packets
294     in AS-02 PCM files
295   o cleaned up use of atoi() in the library
296
297
298 2014-07-09 - Additional IMF/AS-02 support, bug fixes and enhancements, 2.1.4
299   o Added IMF App 2 edit rates in AS_02 namespace: EditRate_29_97, 
300     EditRate_59_94. 
301   o Revised AEC CBC context objects to copy the key rather than  
302     keep the reference passed in to it.
303   o Addressed a bug that would allow unimpeded iteration of component 
304     values in a JP2K::PictureDescriptor object.
305   o Addressed a bug that was incorrectly recording the sequence Duration 
306     in MXF Track objects.
307   o Added ASDCP::AtmosSyncChannelMixer::AppendSilenceChannels()
308   o Added a QCD decoder to the j2c parser.
309   o Altered ASDCP::KLVPacket::HasUL() to use version-blind matching.
310   o Fixed an uninitialized variable in MemIOReader::ReadString() that  
311     caused unbounded reads.
312   o Fixed broken ByteString::ArchiveLength() method
313   o Fixed broken version numbers on SoundfieldGroupLinkID and  
314     GroupOfSoundfieldGroupsLinkID UL values.
315   o Added DBOXMotionCodePrimaryStream and DBOXMotionCodeSecondaryStream UL 
316     values to the internal dictionary.
317   o Added optional prefix handling to MCA label generator.
318   o Re-factored MCA label generator to include additional  
319     metadata (Thanks to Mike Radford).
320   o Added new options to as-02-wrap.
321
322
323 2014-01-06 â€“ Additional IMF/AS-02 support, bug fixes 2.1.1
324   o Fixed missing-index-partion bugs for AS-02 files.
325   o Moved LocalFilenameResolver into the AS_DCP public API so that it
326     can be used by other modules including AS-02.
327   o Did further refactoring of AS-02 Writer classes to separate CBR
328     and VBR indexing implementations.
329   o Fixed wave wrapping UL in clip-wrapped AS-02 files.  Renamed some
330     UL constants to reflect "clip" or "frame" wrapping.
331   o Re-factored JP2K_PDesc_to_MD() and MD_to_JP2K_PDesc() to work
332     with GenericPictureEssenceDescriptor objects.
333   o Fixed a bug that was suppressing PictureComponentSizing,
334     CodingStyleDefault and QuantizationDefault when writing the
335     essence descriptor in a JP2K file (AS-DCP and AS-02).
336   o Fixed the version byte on the following UL values:
337           StereoscopicPictureSubDescriptor
338           GenericPictureEssenceDescriptor_ColorPrimaries
339           GenericPictureEssenceDescriptor_ActiveHeight
340           GenericPictureEssenceDescriptor_ActiveWidth
341           GenericPictureEssenceDescriptor_ActiveXOffset
342           GenericPictureEssenceDescriptor_ActiveYOffset
343   o Added some essence descriptor options to as-02-wrap.
344   o Changed bit rate display in asdcp-info from mebi-bits/s to
345     mega-bits/s.
346   o Added "SMPTE" / "Interop" format type display to asdcp-info.
347   o Improved integration of ST 377-4 MCA concepts with ST 429-2 static
348     labels.
349   o Modified asdcp-wrap to assume -L when wrapping timed-text (since
350     there is no MXF text wrapping for Interop.)
351   o Added new EssenceType_t values for IMF/AS-02 track files.
352   o Added detection for AS-02 track files to ASDCP::EssenceType()
353   o Changed lots of "const char*" to "const std::string&" in the
354     APIs defined by KM_fileio.h and AS_DCP.h.
355   o Fixed VBR Delta Segment entries to correctly flag progressive
356     material.
357   o Fixed PCM unwrapping bugs in as-02-unwrap.
358   o Fixed missing return statement in ArchivableString::ArchiveLength
359     (thanks to both Kristof Provost and Franck Chopin) 
360   o Fixed broken sample alignment in RF64Writer (thanks to Wolfgang
361     Woehl and Dolby)
362   o Fixed win32 build (thanks to Dolby)
363   o fixed a bug that caused blackwave to only produce 96kHz WAV files.
364     (thanks to Stephane W)
365
366
367 2013-07-02 â€“ IMF/AS-02 support, bug fixes 2.0.0
368   o Massive refactoring of internals to allow easier implementation
369     of AS-02.  Some API changes were made as well (note that
370     OPAtomHeader is now OP1aHeader and RIP is no longer part of the
371     OP1aHeader.)  If you are using this project as a library (and
372     especially if you are keeping patches against it) PLEASE TAKE
373     TIME TO EVALUATE THIS RELEASE THOUROUGHLY BEFORE ADDING IT TO
374     YOUR RELEASE PATH.
375   o Final integration of Fraunhoffer IIS code contribution.  AS-02
376     files are now fully supported with some TODOs and two major
377     exceptions: LEAD indexes are not supported by the MXF writers
378     and interlace images are not yet supported.
379   o Added support for MCA labels (ST 428-12) to asdcp-wrap.  Note
380     that this project is still in the early stages of interop testing
381     so errors are likely present and don't expect any server to
382     make use of this feature.
383
384
385 2013-07-01 - Bug fixes, enhancements 1.12.50
386   o Fixed missing return statement in ArchivableString::ArchiveLength
387     (thanks to both Kristof Provost and Franck Chopin) 
388   o Fixed broken sample alignment in RF64Writer (thanks to Dolby)
389   o Fixed win32 build (thanks to Dolby)
390
391
392 2013-04-12 - Dolby Atmos support and more audio labels 1.11.49
393   o Significant code contribution from Dolby Laboratories to add
394     support for generic data track files as proposed in ST 21DC
395     and also Dolby Atmos track file support as a specialization.
396   o Added Dolby-contributed code to support generating the external
397     sync signal for d-cinema as proposed in ST 21DC.
398   o Added Dolby-contributed code to support RF64 WAVE files.
399   o Fixed UL error in ST 429-5 DM encoding (contributed by Dolby).
400   o Added ULs for ST 428-12 and Amd. 429-2 2013.  Please check!
401
402
403 2013-02-20 - bug fixes, enhancements 1.10.48
404  o Refactored internals of the AS-DCP file readers.  While no
405    changes in behavior are intended, users are cautioned to test
406    thouroughly before use in production.
407  o Fixed a bug in ReadAncillaryResource that was causing bogus HMAC
408    failures when reading resources from a file.
409  o Fixed premature-release bug in the Expat version of the XML parser.
410    Thanks to Carsten Feldheim (IIS) for the tip.
411  o Fixed -W option in asdcp-unwrap.  Thanks to RGB.
412  o Added P-HFR support to asdcp-wrap (see URL for details:
413    http://isdcf.com/papers/ISDCF-HighFrameRate-DCP.pdf).
414  o Added support for SMPTE ST 428-21 "Archival Frame Rates".
415  o Added -P option to asdcp-wrap (inserts arbitrary UL into the
416    PictureEssenceCoding property when wrapping JP2K files.)
417  o Added support for 96 kHz files to blackwave.
418  o Added new path and string manglers to Kumu.
419  o Updated MCA ULs (I warned you...).  Again please take some
420    time to proof this work against ST 477-4 including the latest
421    drafts of the registries.
422        Changed the version byte (8 0f 16) to 0x0e:
423            MCALabelSubDescriptor
424            AudioChannelLabelSubDescriptor
425            SoundfieldGroupLabelSubDescriptor
426            GroupOfSoundfieldGroupsLabelSubDescriptor
427            GroupOfSoundfieldGroupsLinkID
428        Changed bytes 8 and and 13 of SoundfieldGroupLinkID
429        Added items to the UL dictionary:
430            MCAPartitionKind
431            MCAPartitionNumber
432            MCATitle
433            MCATitleVersion
434            MCATitleSubVersion
435            MCAEpisode
436            MCAAudioContentKind
437            MCAAudioElementKind
438
439
440 2012-08-07 - bug fix, 1.10.46
441  o Added missing zero-initializers to time values when parsing a
442    timestamp string (in the case where the optional [Thh:mm.[:ss]]
443    syntax is not present in an encoded string).
444
445 2012-03-06 - bug fixes, enhancements 1.9.45
446  o Removed ASDCP::Timestamp, all items that were of that class are now 
447    of class Kumu::Timestamp
448  o Refactored Kumu::Timestamp to use KM_tai for internal representation 
449    (replaced public Y M D, h, m, s variables)
450  o Refactored Kumu::Timestamp to use KM_tai for WIN32 builds
451  o Added UTC offset awareness to Kumu::Timestamp
452  o Replaced "long GetSecondsSinceEpoch(void) const" with 
453    "ui64_t GetCTime() const"
454  o Corrected UL version segment in "7.1 DS" and "WTF" audio format
455    labels (corresponds with publication of ST 429-2:2011).
456  o Exposed MXF object interface (MXF.h, Metadata.h) via ASDCP MXFReader
457    and MXFWriter classes.
458  o Added UL values from ST 377-4:2012. >>>>NOTE: These are preliminary
459    values, subject to change upon final publication of not only ST 377-4
460    but also the relevant registries.  This is a good time to compare them
461    to the standard and complain if you think they are wrong!
462  o Added MCALabelSubDescriptor, AudioChannelLabelSubDescriptor,
463    SoundfieldGroupLabelSubDescriptor, and
464    GroupOfSoundfieldGroupsLabelSubDescriptor (from ST 377-4:2012) to
465    Metadata.h
466  o Changed some internals to make MXFWriter::OPAtomHeader() work correctly.
467  o Split asdcp-test into several different programs to help relieve
468    the impenetrable-list-of-arguments problem. asdcp-wrap, asdcp-unwrap
469    and asdcp-info take the place of asdcp-test's -c, -x and -i options,
470    respectively.  asdcp-util contains the remaining functions. Note that
471    asdcp-test is now DEPRECATED, new functionality and bug fixes will be
472    aimed at the new tools.  Also note that some options and calling
473    conventions are different for the new tools as compared to asdcp-test.
474    Please read the synopses and make sure you understand the new idioms.
475  o asdcp-wrap has a new argument, -C <UL>, that writes the given UL to the
476    ChannelAssignment item in the WaveAudioDescriptor (only useful when
477    writing PCM essence).
478
479
480 2011-11-30 - bug fixes v1.8.44
481  o Corrected a wrong decryption UL selection when unwrapping MXF.
482
483
484 2011-10-27 - bug fixes v1.8.43
485  o Corrected broken Essence UL matching. (Thanks to Michael Loder).
486
487
488 2011-08-31 - bug fixes v1.8.42
489  o Added missing HFR support for PCM essence reader/writer.
490
491
492 2011-08-30 - bug fixes, enhancements v1.8.41
493  o UL version byte now ignored when comparing UL values.
494  o Changed the version byte in the TimedTextEssence UL to 0x01.  There
495    is no published Essence Keys registry so it can't have a maintained
496    version number.
497  o JP2K Sequence Parser modified to skip directory entries that
498    are not files in the case where the parser is initialized with
499    a directory path.  When initialized with a list of file names
500    this check is not performed.  Based on a hint by Steve Quartly.
501  o Increased the size of the MPEG header parser buffer.
502  o Added missing FrameType() implementation to ASDCP::MPEG2::MXFReader.
503  o Added missing Close() implementations to MXF reader classes.
504  o Added missing Timestamp::Timestamp(const char* datestr) implementation.
505    (Thanks to Matt Sheby for this and the previous three items.)
506  o Fixed error in Kumu::FortunaRNG::FillRandom() that was returning the
507    end of the random buffer instead of the front (Thanks to Mike Radford).
508  o Added support for proposed sound channel format identifiers
509    '7.1DS' and 'WTF'.  Optimistically chose version '0x0c'.
510  o Added support for stereoscopic images in JP2K files at edit
511    rates of 48, 50 and 60 eups (96, 100 and 120 fps).
512
513
514 2010.11.15 - bug fixes, enhancements v1.7.40
515  o Fixed bug in long KLV packet support (Thanks to Jim Radford).
516  o Fixed AvgBps in PCM files, *again*. Sorry for the crazy.
517  o More fixes and changes in support of 25, 30, 50, 60 fps.
518    (Thanks to Hans K. for the TC rate bug).
519  o Updated KLVFill UL version element to 0x02.
520  o Type change to support Xerces-C 3.x. (Thanks to Matt Sheby).
521  o Some internal API changes to KLV types. Does not affect
522    operation.
523  o Added NetworkLocator type to MXF metadata types.
524  o Added file offset display to klvwalk.
525
526
527 2010.09.09 -  bug fixes, enhancements, v1.7.39
528  o Fixed bug in JP2K PictureDescriptor initialization in
529    JP2K::MXFReader::OpenRead() and JP2K::MXFSReader::OpenRead()
530  o Once again fiddling with AvgBbs. How can something so simple
531    be such a constant cause of trouble? Tested with 1-, 2- and
532    6-channel input Wav files.
533  o asdcp-test now accepts a directory name when making PCM
534    files (-c). The directory name should be the only filename
535    argument. All files in the directory must be Wav files
536    (mixed channel sizes OK). Files are sorted alphabetically by
537    filename. Hint: use numeric name infix to define order:
538    my_movie_00_L.wav
539    my_movie_01_R.wav
540    my_movie_02_C.wav
541    my_movie_03_LFE.wav
542    my_movie_04_LS.wav
543    my_movie_05_RS.wav
544
545
546 2010.07.20 -  bug fixes, v1.6.37
547  o Fixed TimedTextResourceSubDescriptor UL value.
548
549
550 2010.06.16 -  bug fixes, v1.6.36
551  o Added support for new Edit Rates to asdcp-test.cpp.
552  o Expanded timed-text file reader in asdcp-test.cpp.
553  o Fixed large BER value encoding (plaintext) and decoding
554    (plaintext and ciphertext). This feature was introduced in
555    v1.5.31).
556  o Fixed AvgBps value for multi-channel Wave input.
557
558
559 2010.05.13 -  bug fixes, enhancements, v1.6.34
560  o ST 429-5 files have corrected ULs for DCTimedTextDescriptor and
561    GenericStream DataElement. Files made with previous versions of
562    the library are incompatible with this and future versions.
563  o Fixed File Package TrackNumber values. Th
564 anks to Sankar.
565  o Added edit rate constants to AS_DCP.h (25, 30, 50, 60).
566  o Changed AudioDescriptor "SampleRate" element name to "EditRate"
567    to make it consistent with the other types.
568  o Now builds with XercesC 3.x.
569  o KM_memio.h has better const behavior.
570  o Fixed a bug in KM_memio.h string archiving.
571
572
573 2010.01.05 -  bug fixes, enhancements, v1.5.32
574  o Re-fixed swapped Interop and SMPTE OP Atom UL values. The swap
575    introduced in v1.5.31 was done in error.
576  o Added -z,-Z options to asdcp-test (j2c parameter checking)
577  o Reformed jp2k-test as j2c-test, added help and list processing,
578    added to standard install target.
579
580
581 2009.12.31 -  bug fixes, enhancements, v1.5.31
582  o Fixed swapped Interop and SMPTE OP Atom UL values.
583  o Added get_BER_length_for_value() subroutine.
584  o Modified ASDCP::h__Writer::WriteEKLVPacket() to allow larger BER
585    lengths for KLV packets larger than 16 MB. This was required to
586    support large font files in the SMPTE 429-5 implementation.
587
588
589 2009.11.06 - bug fixes, enhancements, v1.5.29
590  o Fixed a bug that could cause HMAC values to be incorrectly
591    stored in MXF files.  Files created with versions of asdcplib
592    prior to this version may have incorrect HMAC values. 
593  o Improved handing of XML files for MXF wrapping.  
594  o Jpeg2000 codestream EditRate and SampleRate mismatches
595    now warns instead of returning an error. 
596  o Improved error handling in Jpeg2000 sequence parsing routines.  
597  o Added two methods to Kumu::Timestamp, AddSeconds(), to add (or
598    subtract) seconds to a time value, and GetSecondsSinceEpoch()
599    to get the number of seconds since the unix epoch.
600  o Added new option to asdcp-test, '-a', to specify a UUID when
601    creating MXF files.
602  o Added support for specifying the intrinsic duration of MXF files
603    containing timed text.
604  o Added new option to wavesplit, '-i', to display WAV file metadata.
605
606
607 2009.05.21 - bug fixes, v.1.4.24
608  o Fixed a bug that caused incorrect SubDescriptors UL values to be 
609    written into interop format MXF track files.  Note that this involved
610    a substantial reorganization of MXF internals.  Please test thoroughly
611    in your application before using in production.  Note that this is a 
612    significant bug fix and track files created with 1.4.22 may be incompatible
613    with other systems.  
614
615
616 2009.04.09 - SMPTE format fixes, enhancements and bug fixes, v.1.4.22
617  o asdcplib now uses GNU autotools on POSIX systems to configure 
618    and build.  See "./configure" for details.  Note that two options, 
619    --enable-freedist and --with-python are not enabled in the free
620    version of asdcplib and should not be used.  
621  o Added build option (CONFIG_RANDOM_UUID) to enable mixed case UUID
622    generation when environment variable KM_USE_RANDOM_UUID is defined.
623  o Fixed a condition that could cause an error to occur when wrapping 
624    SMPTE format timed text track files that do not define a starting 
625    frame.
626  o Updated ULs for SMPTE format track files.
627  o SampleRate added to JP2K metadata
628  o Support for wrapping 96kHz WAV files added.
629  o Updated ULs for audio channel formats  (ChannelFormat)  
630  o Updated font subdescriptor MIME Types for TimedText Trackfiles.
631  o Changed time implementation to support dates beyond Jan 19th, 2038.
632  o Xerces-C XML parser support added.  
633  o New build method for Windows (see win32/README.txt for details).
634  o Added new functionality in Kumu to recursively create and delete files 
635    and directories, and get free disk space for a given volume path.
636  o Added a method to Kumu::Timestamp, AddMinutes(), to add (or subtract) 
637    minutes to a time value.  
638  o Improved how Kumu::Timestamp parses timestamps with offsets. 
639  o Fixed a bug that caused incorrect HMAC values to be calculated.
640
641
642 2008.02.16 - SMPTE format fixes, bug fixes v.1.3.18
643  o Added correct SMPTE UL for StereoscopicPictureSubDescriptor.
644  o Exposed JP2K metadata parser as ParseMetadataIntoDesc().
645  o Added simple stereoscopic framebuffer to support paired ReadFrame()
646    and WriteFrame() methods (allows simpler integration with other
647    single-buffer code).
648  o Improved detection of JPEG Interop stereoscopic files.
649  o Win32 build fixes (Thanks to Mike Crowe at DTS).
650  o Added the WITH_MD macro to the makefile. Set this value to one
651    to build Win32 with /MD[d] instead of /MT[d].
652  o The Generic Container UL has been added to the EssenceContainers
653    set in the header partition pack for encrypted files. It has always
654    been there in plaintext files.
655  - Below this point the changes are internal and should not affect you
656    unless you use Kumu directly.
657  o Major refactoring of KM_log.[h|cpp].
658  o Fixed buffer re-sizing issue in Kumu::ByteString.
659  o Replaced type IdentifierList with ArchivableList.
660  o Added COPYING file to the release bundle.
661
662
663 2007.12.13 - Bug fixes v.1.2.17
664  o Changed Result_t implementation to use int instead of long, which
665    was causing trouble on some 64 bit platforms.
666  o Fixed EKLV HMAC. NOTE: Breaks backward compatibility with older
667    Interop files. To validate these files, use asdcplib-1.1.14. This
668    should not cause too much trouble since files with broken and
669    non-broken HMAC have been in the wild for years without issue.
670  o Fixed HMAC sequence numbering in encrypted stereoscopic files.
671  o Finished stereoscopic test targets in the makefile.
672  o Fixed the win32 build, now expects VS2005 compiler by default,
673    use WITH_VC6=1 top get VC6 flags.
674  o Stereoscopic and Timed Text modes now have SMPTE UL values.
675    NOTE: SMPTE 429-5 and 429-10 are not yet published. It is possible
676    that these UL values may change before publication. Please use
677    caution when using these features for production work.
678  o Changed a bunch of symbol names in the 429-5 implementation to
679    better match the spec.
680  o Added -U option to asdcp-test to dump the UL library to stdout.
681  o Fixed erroneous placement of the PictureEssenceCoding UL in JP2K
682    files (Interop and SMPTE modes).
683
684
685 2007.10.22 - Timed Text, Stereoscopic Picture and Bug fixes v.1.2.16
686  o Significant API changes have been made. Please read all entries
687    in this changelog to be sure you understand the changes. Also
688    note that some changes have been made to LS_MXF_SMPTE files that
689    are incompatible with earlier releases (e.g., EKLV HMAC). If
690    you are looking for a stable interop release, use  v.1.1.14.
691  o Fixed RFC 2104 HMAC implementation for LS_MXF_SMPTE only. The
692    broken implementation has been maintained for Interop mode.
693  o Added support for draft SMPTE 429-5 Timed Text Track File. This
694    is still waiting for official SMPTE ULs, so do not use it for
695    shipping products.  An XML parser is needed to create a Timed
696    Text Track File; Expat is now an optional part of the build.
697    Make with WITH_XML_PARSER=1 to link with Expat. If you do not
698    link with expat, you will get an error when using the TimedText::
699    DCSubtitleParser class. See also S429-5-cgi.cpp for an example
700    that shows how to serve plaintext MXF file elements directly via
701    HTTP.
702  o Added support for draft SMPTE 429-10 Stereoscopic Picture Track
703    File, including the JPEG Interop version. This is still waiting
704    for official SMPTE ULs, so do not use it with LS_MXF_SMPTE for
705    shipping products.  
706  o Refactored the following files as a side-effect of the above
707    work: AS_DCP_JP2K.cpp AS_DCP_MPEG2.cpp AS_DCP_PCM.cpp
708    AS_DCP_MXF.cpp AS_DCP_internal.h MXF.[h|cpp] MXFTypes.[h|cpp]
709    Metadata.[h|cpp] h__Reader.cpp h__Writer.cpp klvwalk.cpp.
710    WARNING: While significant effort has been extended to make sure
711    that these changes do not affect existing stable file support,
712    users are cautioned to test this release thouroughly.
713  o Added a large set of filesystem path manglers to KM_fileio.h. See
714    path-test.cpp for example usage. The path manglers have not yet
715    been tested on win32 platforms (they are currently used only by
716    the Timed Text module.
717  o The PathIsFile(), PathIsDirectory() and FileSize() subroutines
718    have been modified to accept const std::string& instead of
719    const char*.
720  o Added namespace and parsing support (Expat) to Kumu::XMLElement
721    (currently used only for Timed Text support). Also added some
722    new accessors.
723  o Altered MXF::UTF16String to use mbtowc() and wctomb().
724
725
726 2007.03.31 - Bug fixes v.1.1.14
727  o Fixed KeyFrameOffset value in MPEG wrapping to have negative
728    value. This is probably not yet complete for handling all
729    types of GOPs. Please send chunks of MPEG-2 VES that you
730    find which break this. Thanks to Doremi.
731  ** no other file format changes in this release **
732  o Fixed error in RIP interpretation when reading arbitrary (i.e.,
733    non-MXF) files.
734  o Fixed a memory leak in ASDCP::MXF::OPAtomHeader when used
735    in read mode. Thanks to Mahesh Bajaj for pointing out this
736    bug and the one above.
737  o Removed asserts from KM_fileio, replaced with RESULT_WRITEFAIL
738    return value statements.
739  o Added -s and -p to the makefile install target.
740  o Altered ByteString behavior to use target Length() in copy
741    operations (instead of Capacity()).
742  o Added new Set() method to ByteString.
743  o Fixed a bug in ByteString::Unarchive() that caused the operation
744    to fail when the buffer was smaller than the read (i.e., when
745    Capacity() was called).
746  o Added IdentifierList class to KM_util.h.
747  o Changed some Error() messages to Debug() in Wav.cpp
748  o Revived jp2k-test.cpp and asdcp-mem-test.cpp (they both had
749    stale #includes).
750
751
752 2007.02.15 - Bug fixes v1.1.13
753  o Removed 'VDescObj->SampleRate.Numerator = VDesc.FrameRate;'
754    from MPEG2_VDesc_to_MD() in AS_DCP_MPEG2.cpp, was line 76.
755  o Added KM_TEST_NULL_STR_L() and KM_TEST_NULL_L() macros to
756    KM_log.h. These versions log the location of the null value.
757    Macros are now used in any module that includes KM_log.h.
758  o MPEG2 VES with run of zero values at the head is now OK.
759  o Increased VESHeaderBufSize to 16K.
760  o Added makefile support for local OpenSSL in ../openssl, if
761    present.
762  o The Kumu::PathIs*() functions now return false if a null or
763    empty string is given (used to be an assert).
764  o Cleaned up the install target in the makefile.
765  o Fixed SMPTE 429-6 HMAC -- FIPS 186-2 implementation was
766    laughably incorrect. Thanks to Doremi for pointing this out.
767  o Removed default parameter to HMACContext::InitKey().
768  o Cleaned up messages and CLI arg handling in asdcp-test.
769
770
771 2006.11.19 - Mo better stuff v1.1.12
772  o Changed read-only Result_t accessor methods to const.
773  o Added Base64 (-B) option to kmrandgen.
774  o Removed 16-bit alignment restriction from kmrandgen.
775  o Improved WAV file extraction speed (Thanks to Jim Radford
776    for pointing this out).
777  o Added single-channel split for WAV extraction (asdcp-test -1).
778  o Fixed remainder bug in h__RNG::fill_rand().
779
780
781 2006.11.03 - Bug fixes v1.1.11
782  o Increased index table entry list size to 5000.
783  o Added length checking to TLV writer (returns error if TLV
784    payload exceeds 64kB).
785  o Fixed partition header and RIP errors related to 2-partition
786    files (MXF Interop mode).
787  o Added -t option to asdcp-test (SHA-1 digest with Base64 output
788    on stdout).
789  o Fixed Sub Descriptor reference bug (Thanks to Denis Leconte
790    for dogged determination).
791  o Added directory-of-wav detection to RawEssenceType()
792  o Modified MXF::Partition::AddChildObject() to only generate
793    a UUID if the InstanceID is unset.
794  o Added ComponentMaxRef & ComponentMinRef to RGBAEssenceDescriptor.
795    More to follow.
796  o Added detection of 2K/4K jp2c, writing correct 4K metadata.
797
798
799 2006.10.05 - Bug fixes v1.1.10
800  o Changed RM_RELEASE to RL_RELEASE in MXFTypes.h.
801  o Changed the MXF writer to use RL_RELEASE (was RL_DEVELOPMENT).
802  o Really fixed source reference chain.
803  o Updated JP2K file package label.
804  o Changed location of JPEG2000PictureSubDescriptor in the
805    header (was erroneously before Preface).
806  o Altered LS_MXF_INTEROP to produce 2-partition files.
807
808
809 2006.09.25 - Bug fixes v1.1.9
810  o Fixed SourcePackageID value. All files will be 'original',
811    i.e. SourcePackageID will be all zeros. Let me know if you
812    want to set SourcePackageID.
813  o Fixed compiler warnings on some Linux platforms
814  o Fixed the build so that BUILD_DIR is no longer created
815    as a dependency.
816  o Added duration detection to the raw essence parsers. The
817    MPEG parser uses a nasty approximation so don't use it
818    without paying close attention to the result.
819  o Modified PCMParserList to make it more useful as a base
820    class.
821  o Fixed bugs and re-organized command-line help in asdcp-test
822    and klvwalk.
823  o Fixed two-partition file reads.
824  o Fixed Win32 PRNG initialization.
825  o Renamed asdcp-lf-test as kmfilegen.
826  o Added kmrandgen and kmuuidgen.
827  o Added string retrieval mechanism to Result_t.
828  o Refactored Kumu::Identifier and its sub-classes.
829  o Altered Kumu::PathIsFile to return true when the path
830    is a symbolic link (unix only).
831  o Altered Kumu::FileWriter::OpenWrite to use file creation
832    mode 0664 (was 0644) (unix only).
833  o Added Kumu::WriteStringIntoFile() subroutine.
834
835
836 2006.04.05 - Bug fixes and new stuff v1.1.7
837  o Fixed a bug in the MPEG parser that caused it to fail when
838    handling start codes spanning buffer boundaries
839  o Added wavesplit and blackwave utility programs
840  o Added support for revised SMPTE HMAC key derivation when
841    using LS_MXF_SMPTE
842  o Refactored platform compatibility and general utilities
843    into a new sub-library "Kumu". There are no new build
844    steps or dependencies, but some important things have
845    changed:
846    + Result_t is no longer an enum, it is now a class.
847      Library result codes are now declared as const objects
848      like this:
849
850      const Kumu::Result_t RESULT_FORMAT (-101, "The file...");
851
852      The macros ASDCP_SUCCESS and ASDCP_FAILURE still work
853      the same way thanks to an operator overload for type long.
854      See KM_error.h for more information.
855    + The logging interface has been moved out of AS_DCP.h
856      and into KM_log.h
857  o Some of the command line utilities that were using headers
858    other than AS_DCP.h have been changed to use the Kumu
859    equivalents. If you have code based on those utilities, you
860    will have to update by hand.
861  o Added new types to the EssenceType_t enum.
862  o The guard macro for Win32 code has changed from WIN32 to
863    KM_WIN32.
864
865
866 2006.03.2x - new stuff
867  o Proper handling of stream-id byte of essence UL values
868  o writes 3-partition files, reads 2-part or 3-part
869
870
871 2006.03.16 - bug fixes plus
872  o Removed SMPTE_LABELS compile-time option. The reader will now
873    silently accept either SMPTE or MXF Interop labels, the writer
874    can be instructed which to use at runtime. Default is Interop.
875  o Added an AIFF reader. Support is preliminary, it works with the
876    AIFF files I have on hand.
877  o More code refactoring. More to come.
878
879
880 2006.03.09 - full read-write
881  o Removed ASDCP_WITHOUT_OPENSSL compile-time option.
882  o Full read/write now working on new MXF library
883
884
885 2005.00.00 - A New Hope
886  o The temporary mxf-lite has been removed. MXF files are now 
887    managed via the objects in KLV.h, MXFTypes.h MXF.h and
888    Metadata.h. This release does not support writing MXF files.
889  o Fixed a header interpretation error in the Wav parser.
890
891
892 2005.00.00 - The Reformation
893  o Removed mxflib as a dependency by forking the necessary
894    functions and placing them in the mxf-lite subdirectory.
895    Please note that the very heavy modifications done here
896    render all comparisson to mxflib code a substantial task.
897    All errors are now mine and users are warned not to bug
898    Oliver or Matt for help with this code. The version of
899    mxflib at the time of the fork was: 0.5.1.3.
900
901
902 2005.06.03 - bug fixes v0.10.18
903  o Updated UL batch to include GC UL.
904
905
906 2005.05.27 - bug fixes v0.10.17
907  o Un-did essence container and compression descriptor changes.
908    The default build reflects MXF Interop decisions as of 26 May.
909  o Added note about build versions to README (see above).
910  o Added warnings to SMPTE_LABELS builds.
911  o Fixed JP2K essence container label.
912
913
914 2005.05.02 - bug fixes v0.10.16
915  o Reorganized internal files, added file reader object, added OS
916    portability header, removed and renamed some files. If you have a
917    patch against previous versions of the source, you should check
918    it thoroughly.
919  o Added RGBA attributes to JP2K descriptor.
920  o Changed interface to CodestreamParser.
921  o Added JP2K parser implementation. It is parsing each frame but is
922    not yet being used to populate the descriptor.
923  o Added 48fps option for `asdcp-test -p`.
924  o Added picture rate constants to AS_DCP.h (23.976, 24, 48).
925  o Added sample rate constant to AS_DCP.h (48k).
926  o Changed asdcp-test to encrypt picture headers by default
927    (plaintext offset will be 0), added -E option to allow
928    plaintext headers.
929
930
931 2005.04.28 - bug fixes v0.9.15
932  o The XML descriptors for the crypto DMS have moved in mxflib to
933    the file DMS_Crypto.xml (they were in DMS_DCPENC.xml).  Older
934    installations should update the file from mxflib.
935  o Added Close() and Seek() to ~MyFileWriter(), cleaned up headers
936  o Added UUID generator output mode (-u).
937  o Added -S option to extract PCM essence into stereo wav files
938  o Added more UL testing and conformance checking.
939  o Added macro SMPTE_LABELS which causes the library to be built
940    with SMPTE (as opposed to MXF Interop) labels. This is not
941    set by default, and currently only affects the PCM container
942    label and encrypted element label.
943  o Cleaned up the GNUmakefile test targets, the source files
944    are now named with the TEST_FILE_PREFIX macro.
945  o enabled 23.976-framed PCM (2002 samples per frame)
946  o The size of the asdcp-test frame buffer for picture essence
947    may now be set from the command line (-b).  The default is 4MB.
948  o h__Reader::ReadEKLVPacket() now tests the UL (duh) and switches
949    on the value, allowing plaintext and ciphertext frames to
950    be mixed in the file.
951  o Fixed error in UUID generator format.
952  o JP2K files now use the GenericPictureDescriptor to store
953    ContainerDuration and SampleRate. SampleRate is mapped
954    to EditRate in the PictureDescriptor struct. This fixes
955    the second caveat from the 0.8.13 release.
956  o Fxed bug in PCMParserList that was miscalculating the extent
957    of a PCM sample.  This bug did not affect API users, it was
958    only present in asdcp-test.
959  o Fixed EditRate on PCM files (was showing sample rate)
960  o Fixed Encrypted Essence Container UL
961  o Fixed BlockAlign value for PCM essence
962
963  - The following changes were provided by Jeff Loewenguth
964  - Thanks Jeff!
965  o Moved the DMS CryptographicFramework entry from the material
966    package to the source package
967  o Fixed erroneous Source Essence Container Label value
968  o Fixed broken sort of JP2K frames in JP2K parser
969  o Added FindFrameGOPStart() method to the MPEG2 MXFReader
970  o Added missing length values for EKLV packets without HMAC
971  o -x with JP2K essence writes to files with 6 digit names
972    (up from 5 digits).
973  o The Key ID may now be specified as an argument to asdcp-test
974     (-j <key-id-string>)
975
976
977 2004.12.30 - bug fixes + wav files v0.8.14
978  o Added WAV file write to asdcp-test (uses mxflib::waveheader_t).
979  o Three-partition files reading properly.  adscplib still writes
980    two-partition files.
981  o Changes in the mxflib WAV essence parser API had broken
982    asdcplib's ability to read essence from a WAV file.  I have
983    fixed this bug, but at the expense of breaking compatibility
984    with older versions of mxflib. Beware!
985  o Removed redundant (but working) bin-text-bin conversions.
986
987
988 2004.12.23 - JPEG 2000 support v0.8.13
989  o Reads/writes JPEG 2000 essence in plaintext and ciphertext
990    with the following caveats:
991     - The Picture Essence Descriptor is empty.
992     - Because there is no essence descriptor, the reader code
993       in asdcp-test has no idea how many frames are in the file
994       and ends with an out-of-bounds frame error.  This error
995       is being suppressed in asdcp-test for the current release.
996  o Still broken when reading three-partition files.
997
998
999 2004.10.22 - fixes and UL updates v0.7.11
1000  WARNING: COMPATIBILITY BREAKPOINT
1001  Files created with this and future versions of this library are
1002  not compatible with previous versions of this library.  As you
1003  might suspect, files created with previous versions of this
1004  library are not compatible with  this and future versions.
1005
1006  o h__Reader will now open a three-partitition file (untested)
1007  o Moved DMS from Material partition to File partition
1008  o Added length fields to appropriate places in EKLV packet 
1009
1010
1011 2004.10.22 - fixes and UL updates v0.7.10
1012  o fixed frame buffer handling of externally allocated buffer,
1013    created unit test (asdcp-mem-test)
1014  o added operator==() and operator!=() to Rational type
1015  o fixed some type-related compiler warnings
1016  o asdcp-test -p now works on unwrap
1017  o updated some ULs to match documentation (thanks to Arun
1018    for the submission)
1019  o canonicalized line endings
1020
1021
1022 2004.07.02 - full plaintext + ciphertext read/write v0.6.9
1023  o HMAC, plaintext offest and raw ciphertext read supported
1024  o back to proper CBR index
1025  o MPEG temporal offset working
1026
1027
1028 2004.07.01 - plaintext + ciphertext read/write v0.5.8
1029  o encryption of MPEG and PCM essence supported with the
1030    following caveats:
1031    - no HMAC support
1032    - no plaintext offest support
1033    - no raw ciphertext read support
1034  o moved to reflecting the whole KLV triplet in the CBR
1035    index (now incompatible with mxflib, still searching
1036    for info about what's "right")
1037  o awaitng the following fixes/features:
1038    - retrieve Temporal Offset from index in MPEG2::Reader
1039    - test for correct ULs when reading frame triplets
1040    - fix header metadata items for encrypted files
1041    - HMAC support
1042    - plaintext offest support
1043    - raw ciphertext read support
1044
1045
1046 2004.06.14 - plaintext read/write w/key generator v0.4.5
1047  o Project now uses OpenSSL (tested with 0.9.7d on win32, Linux, Darwin)
1048    Use `make ASDCP_WITHOUT_OPENSSL=1` to make plaintext-only version
1049  o Accepts interior I frames when parsing MPEG2 VES
1050  o Improved error reporting on format errors
1051  o Added support for encryption to asdcp-test
1052  o Added RNG for asdcp-test (non-production use only, see notes in FortunaRNG.h)
1053  o Implemented CBC encrypt, decrypt module
1054  o Added partial TemporalOffset retrieval from MPEG2 parser
1055  o Fixed win32 binmode bug
1056
1057
1058 2004.05.12 - plaintext read/write v0.3.4
1059  o Full read/write of plaintext MPEG-2 VES and WAV files
1060    (does not yet support mux from or demux to 2 channel pairs)
1061  o Builds with autoconf-based mxflib
1062  o Added ASDCP_ prefix to macros
1063  o Updated documentation, fixed documentation errors
1064  o Simplified API for MXF writer setup
1065  o Decoupled essence parsers from MXF writers
1066  o added raw ciphertext support to FrameBuffer
1067  o Cleaned up Get/Set naming confusion
1068  o Added missing const qualifiers
1069
1070
1071 2004.04.27 - preview release v0.2.1
1072  o hasty release for quick review
1073  o this release may not build with mxflib using autoconf.
1074  o writes plaintext AS-DCP MPEG2 essence files
1075  o tested under win32 and linux. FreeBSD and Darwin do not work
1076
1077
1078 2004.02.04 - First release (v0.1.1):
1079  o asdcp-test is mostly complete. It should correctly provide
1080    access to the read and info capabilities of the library.
1081  o The MPEG2 reader is functional but not fully tested.
1082  o Some file format integrity tests remain to be coded.
1083  o The PCM reader is mostly complete, I am having difficulty
1084    getting a suitable test file from mxfwrap.
1085  o The makefile creates a static library module. The API
1086    will cleanly support a DSO (or DLL). Let me know if DSO
1087    support is important to you.
1088  o Nothing is thread safe. Thread safety was not a requirement
1089    in the initial project definition. Thread safety may be added
1090    above the mxflib/klvlib level. Let me know if it is important
1091    to you.
1092  o The files xmldict.xml and types.xml must be in the current
1093    directory when the program is run. The files are supplied
1094    with mxflib. Runtime location of the files is not currently
1095    a project goal. Comments on how best to handle this situation
1096    would be appreciated. See AS_DCP.cpp at init_mxf_types()
1097    for a more detailed discussion.
1098
1099 --