Releases: Netflix/photon
v4.9.7
What's Changed
- Detect sample rate & duration in IMPAssembler, parameterize unit test… by @tcase-netflix in #364
Full Changelog: v4.9.6...v4.9.7
v4.9.6
What's Changed
- Allow users to generate IMF metadata files by passing in a simple timeline of tracks by @tcase-netflix in #363
Full Changelog: v4.9.5...v4.9.6
SMPTE Register Updates + JAXB Dependencies
This release includes the following changes:
- SMPTE register updates, see #360
- Adding JAXB dependencies explicitly, so that applications which run JDK 11+ can use Photon without including the JAXB dependencies in the parent project.
Minor Bugfixes & Improvements
- Improving error messages when essence file names are more than 100 characters in length. Previously, Photon would simply report "Invalid file name" without explicitly saying what the offense was. This error message has been updated to state the cause.
- Fixing generation of invalid hash values for CPL files in a PKL. This was caused by incorrectly doing a Base-64 encode twice, which would take a SHA-1 (20 bytes) to 28 bytes, and then to 40 bytes in length. JAXB already does Base-64 encoding of byte[] data types, so the initial Base-64 encode has been disabled.
Swapped log4j with slf4j
SLF4J makes photon less opinionated about log framework. Thus upstream services using photon
have freedom to use the implementation that fits their infra best
Fixing Possible Generation of Mismatched sourceEncoding and essenceDescriptor IDs
- There had previously been a bugfix which corrected this behavior in CPLBuilder 2016. The same fix is being applied to CPLBuilder 2013.
Adding Support for IMF App2E 4ED (2022)
- Adding support for JPEG2000 Codec
- Adding support for Application2E2021
Make IMFTrackFileCPLBuilder public
make IMFTrackFileCPLBuilder public so it can be called when using Photon as a library
What's Changed
New Contributors
Full Changelog: v4.8.2...v4.8.3
Added functionality to create an IMP with a provided CPL, instead of generating it with CPLBuilder.
This release expands the recently added functionality of creating an IMP with a provided CPL. Now, trackFileMetadata and trackFileInfo can both be used as a parameter for IMPBuilder's methods.
Photon v4.8.1
This release contains several changes implemented since August 31, 2020.
- Several Gradle Wrapper Updates to the current version (7.6).
- Removal of JAXB-generated classes.
- Added pictureEssenceCoding validation: This change added a new layer of validation to check the existence of the pictureEssenceCoding element in a CPL. If the element is not present, Photon will highlight an error while parsing the essenceDescriptors. This change has made Photon more restrictive.
- Fixed possible generation of mismatching sourceEncoding and essenceDescriptor IDs.
- Provided functionality to build a new IMP with a provided CPL, rather than always build the CPL from scratch. Up to this point, creating a new IMP has always implied generating a new CPL with its own UUID. However, there may be a scenario where, in a redelivery, a studio delivers a CPL that already references all previously delivered essence files (.mxf). In that case, a client could end up with two identical CPLs (the one delivered by the studio and the one generated by Photon's IMPBuilder.buildIMP_201X method.) that have different UUIDs.
This release adds a functionality where a client can pass in a CPL to be used when building the new IMP. This way, the original UUID can be retained.
If you experience any issues following these changes, please reach out to @danielhdz13-netflix or @fschleich.