├── .gitignore ├── LICENSE ├── README.md ├── build.gradle ├── javadoc ├── allclasses-frame.html ├── allclasses-noframe.html ├── com │ └── sferalabs │ │ ├── imf │ │ ├── exception │ │ │ ├── ImfXmlException.html │ │ │ ├── class-use │ │ │ │ └── ImfXmlException.html │ │ │ ├── package-frame.html │ │ │ ├── package-summary.html │ │ │ ├── package-tree.html │ │ │ └── package-use.html │ │ ├── model │ │ │ ├── assetmap │ │ │ │ ├── Asset.html │ │ │ │ ├── AssetMap.html │ │ │ │ ├── Chunk.html │ │ │ │ ├── class-use │ │ │ │ │ ├── Asset.html │ │ │ │ │ ├── AssetMap.html │ │ │ │ │ └── Chunk.html │ │ │ │ ├── package-frame.html │ │ │ │ ├── package-summary.html │ │ │ │ ├── package-tree.html │ │ │ │ └── package-use.html │ │ │ ├── compositionplaylist │ │ │ │ ├── ApplicationIdentification.html │ │ │ │ ├── BaseResource.html │ │ │ │ ├── CompositionPlaylist.html │ │ │ │ ├── CompositionTimecode.html │ │ │ │ ├── ContentKind.html │ │ │ │ ├── ContentMaturityRating.html │ │ │ │ ├── ContentVersion.html │ │ │ │ ├── EssenceDescriptor.html │ │ │ │ ├── ExtensionProperties.html │ │ │ │ ├── Locale.html │ │ │ │ ├── Marker.html │ │ │ │ ├── MarkerResource.html │ │ │ │ ├── Segment.html │ │ │ │ ├── Sequence.html │ │ │ │ ├── SequenceType.html │ │ │ │ ├── StereoImageTrackFileResource.html │ │ │ │ ├── TrackFileResource.html │ │ │ │ ├── class-use │ │ │ │ │ ├── ApplicationIdentification.html │ │ │ │ │ ├── BaseResource.html │ │ │ │ │ ├── CompositionPlaylist.html │ │ │ │ │ ├── CompositionTimecode.html │ │ │ │ │ ├── ContentKind.html │ │ │ │ │ ├── ContentMaturityRating.html │ │ │ │ │ ├── ContentVersion.html │ │ │ │ │ ├── EssenceDescriptor.html │ │ │ │ │ ├── ExtensionProperties.html │ │ │ │ │ ├── Locale.html │ │ │ │ │ ├── Marker.html │ │ │ │ │ ├── MarkerResource.html │ │ │ │ │ ├── Segment.html │ │ │ │ │ ├── Sequence.html │ │ │ │ │ ├── SequenceType.html │ │ │ │ │ ├── StereoImageTrackFileResource.html │ │ │ │ │ └── TrackFileResource.html │ │ │ │ ├── package-frame.html │ │ │ │ ├── package-summary.html │ │ │ │ ├── package-tree.html │ │ │ │ └── package-use.html │ │ │ ├── imfpackage │ │ │ │ ├── ImfPackage.html │ │ │ │ ├── class-use │ │ │ │ │ └── ImfPackage.html │ │ │ │ ├── package-frame.html │ │ │ │ ├── package-summary.html │ │ │ │ ├── package-tree.html │ │ │ │ └── package-use.html │ │ │ └── packinglist │ │ │ │ ├── PackingAsset.html │ │ │ │ ├── PackingList.html │ │ │ │ ├── class-use │ │ │ │ ├── PackingAsset.html │ │ │ │ └── PackingList.html │ │ │ │ ├── package-frame.html │ │ │ │ ├── package-summary.html │ │ │ │ ├── package-tree.html │ │ │ │ └── package-use.html │ │ ├── saxhandler │ │ │ ├── SaxAssetMapHandler.html │ │ │ ├── SaxCompositionPlaylistHandler.html │ │ │ ├── SaxPackingListHandler.html │ │ │ ├── class-use │ │ │ │ ├── SaxAssetMapHandler.html │ │ │ │ ├── SaxCompositionPlaylistHandler.html │ │ │ │ └── SaxPackingListHandler.html │ │ │ ├── package-frame.html │ │ │ ├── package-summary.html │ │ │ ├── package-tree.html │ │ │ └── package-use.html │ │ ├── test │ │ │ ├── AssetMapValidatorTest.html │ │ │ ├── CplValidatorTest.html │ │ │ ├── PackingListValidatorTest.html │ │ │ ├── class-use │ │ │ │ ├── AssetMapValidatorTest.html │ │ │ │ ├── CplValidatorTest.html │ │ │ │ └── PackingListValidatorTest.html │ │ │ ├── package-frame.html │ │ │ ├── package-summary.html │ │ │ ├── package-tree.html │ │ │ └── package-use.html │ │ ├── util │ │ │ ├── ImfHashAlgorithm.html │ │ │ ├── ImfHelper.html │ │ │ ├── ImfLogger.html │ │ │ ├── class-use │ │ │ │ ├── ImfHashAlgorithm.html │ │ │ │ ├── ImfHelper.html │ │ │ │ └── ImfLogger.html │ │ │ ├── package-frame.html │ │ │ ├── package-summary.html │ │ │ ├── package-tree.html │ │ │ └── package-use.html │ │ ├── validation │ │ │ ├── AssetMapValidator.html │ │ │ ├── CompositionPlaylistValidator.html │ │ │ ├── MFXValidation.html │ │ │ ├── MXFValidation.html │ │ │ ├── PackingListValidator.html │ │ │ ├── ValidationResult.html │ │ │ ├── ValidationResultList.html │ │ │ ├── VolumnIndexValidator.html │ │ │ ├── XmlResourceValidator.html │ │ │ ├── class-use │ │ │ │ ├── AssetMapValidator.html │ │ │ │ ├── CompositionPlaylistValidator.html │ │ │ │ ├── MFXValidation.html │ │ │ │ ├── MXFValidation.html │ │ │ │ ├── PackingListValidator.html │ │ │ │ ├── ValidationResult.html │ │ │ │ ├── ValidationResultList.html │ │ │ │ ├── VolumnIndexValidator.html │ │ │ │ └── XmlResourceValidator.html │ │ │ ├── package-frame.html │ │ │ ├── package-summary.html │ │ │ ├── package-tree.html │ │ │ └── package-use.html │ │ └── xsd │ │ │ ├── ImfResourceResolver.html │ │ │ ├── ImfXsds.html │ │ │ ├── class-use │ │ │ ├── ImfResourceResolver.html │ │ │ └── ImfXsds.html │ │ │ ├── package-frame.html │ │ │ ├── package-summary.html │ │ │ ├── package-tree.html │ │ │ ├── package-use.html │ │ │ └── schema │ │ │ ├── package-frame.html │ │ │ ├── package-summary.html │ │ │ ├── package-tree.html │ │ │ └── package-use.html │ │ └── tool │ │ └── imf │ │ ├── ImfValidator.html │ │ ├── class-use │ │ └── ImfValidator.html │ │ ├── package-frame.html │ │ ├── package-summary.html │ │ ├── package-tree.html │ │ └── package-use.html ├── constant-values.html ├── deprecated-list.html ├── help-doc.html ├── index-files │ ├── index-1.html │ ├── index-10.html │ ├── index-11.html │ ├── index-12.html │ ├── index-13.html │ ├── index-14.html │ ├── index-15.html │ ├── index-16.html │ ├── index-17.html │ ├── index-2.html │ ├── index-3.html │ ├── index-4.html │ ├── index-5.html │ ├── index-6.html │ ├── index-7.html │ ├── index-8.html │ └── index-9.html ├── index.html ├── overview-frame.html ├── overview-summary.html ├── overview-tree.html ├── package-list ├── resources │ ├── background.gif │ ├── tab.gif │ ├── titlebar.gif │ └── titlebar_end.gif ├── serialized-form.html └── stylesheet.css ├── settings.gradle ├── src ├── app │ └── com │ │ └── sferalabs │ │ └── tool │ │ └── imf │ │ ├── ImfValidator.java │ │ └── package-info.java ├── imf │ └── com │ │ └── sferalabs │ │ └── imf │ │ ├── exception │ │ ├── ImfXmlException.java │ │ └── package-info.java │ │ ├── model │ │ ├── assetmap │ │ │ ├── Asset.java │ │ │ ├── AssetMap.java │ │ │ ├── Chunk.java │ │ │ └── package-info.java │ │ ├── compositionplaylist │ │ │ ├── ApplicationIdentification.java │ │ │ ├── BaseResource.java │ │ │ ├── CompositionPlaylist.java │ │ │ ├── CompositionTimecode.java │ │ │ ├── ContentKind.java │ │ │ ├── ContentMaturityRating.java │ │ │ ├── ContentVersion.java │ │ │ ├── EssenceDescriptor.java │ │ │ ├── ExtensionProperties.java │ │ │ ├── Locale.java │ │ │ ├── Marker.java │ │ │ ├── MarkerResource.java │ │ │ ├── Segment.java │ │ │ ├── Sequence.java │ │ │ ├── SequenceType.java │ │ │ ├── StereoImageTrackFileResource.java │ │ │ ├── TrackFileResource.java │ │ │ └── package-info.java │ │ ├── imfpackage │ │ │ ├── ImfPackage.java │ │ │ └── package-info.java │ │ └── packinglist │ │ │ ├── PackingAsset.java │ │ │ ├── PackingList.java │ │ │ └── package-info.java │ │ ├── saxhandler │ │ ├── SaxAssetMapHandler.java │ │ ├── SaxCompositionPlaylistHandler.java │ │ ├── SaxPackingListHandler.java │ │ └── package-info.java │ │ ├── util │ │ ├── ImfHashAlgorithm.java │ │ ├── ImfHelper.java │ │ ├── ImfLogger.java │ │ ├── MXFFileDataProvider.java │ │ └── package-info.java │ │ ├── validation │ │ ├── AssetMapValidator.java │ │ ├── CompositionPlaylistValidator.java │ │ ├── MXFValidation.java │ │ ├── PackingListValidator.java │ │ ├── ValidationResult.java │ │ ├── ValidationResultList.java │ │ ├── VolumnIndexValidator.java │ │ ├── XmlResourceValidator.java │ │ └── package-info.java │ │ └── xsd │ │ ├── ImfResourceResolver.java │ │ ├── ImfXsds.java │ │ ├── package-info.java │ │ └── schema │ │ ├── XMLSchema.dtd │ │ ├── assetMap.xsd │ │ ├── compositionPlaylist.xsd │ │ ├── coreConstraints.xsd │ │ ├── datatypes.dtd │ │ ├── dcmlTypes.xsd │ │ ├── outputProfileList.xsd │ │ ├── package-info.java │ │ ├── packingList.xsd │ │ ├── xml.xsd │ │ ├── xmldsig-core-schema.dtd │ │ └── xmldsig-core-schema.xsd ├── resources │ └── com │ │ └── sferalabs │ │ └── imf │ │ └── xsd │ │ └── schema │ │ ├── XMLSchema.dtd │ │ ├── assetMap.xsd │ │ ├── compositionPlaylist.xsd │ │ ├── coreConstraints.xsd │ │ ├── datatypes.dtd │ │ ├── dcmlTypes.xsd │ │ ├── outputProfileList.xsd │ │ ├── packingList.xsd │ │ ├── xml.xsd │ │ ├── xmldsig-core-schema.dtd │ │ └── xmldsig-core-schema.xsd ├── test │ └── com │ │ └── sferalabs │ │ └── imf │ │ └── test │ │ ├── AssetMapValidatorTest.java │ │ ├── CplValidatorTest.java │ │ ├── PackingListValidatorTest.java │ │ ├── package-info.java │ │ └── resources │ │ ├── assetmap │ │ ├── DuplicatedIdAssetMap │ │ │ ├── ASSETMAP.xml │ │ │ ├── fake_audio.mxf │ │ │ └── fake_video.mxf │ │ ├── MalformedAssetMap │ │ │ ├── ASSETMAP.xml │ │ │ ├── fake_audio.mxf │ │ │ └── fake_video.mxf │ │ ├── NonExistedAssetInAssetMap │ │ │ ├── ASSETMAP.xml │ │ │ └── fake_video.mxf │ │ └── ValidAssetMap │ │ │ ├── ASSETMAP.xml │ │ │ ├── fake_audio.mxf │ │ │ └── fake_video.mxf │ │ ├── cpl │ │ ├── DuplicatedSequenceIdCpl │ │ │ ├── ASSETMAP.xml │ │ │ ├── CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml │ │ │ ├── PKL.xml │ │ │ ├── fake_audio.mxf │ │ │ └── fake_video.mxf │ │ ├── InvalidTrackFileIdCpl │ │ │ ├── ASSETMAP.xml │ │ │ ├── CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml │ │ │ ├── PKL.xml │ │ │ ├── fake_audio.mxf │ │ │ └── fake_video.mxf │ │ ├── MalformedCpl │ │ │ ├── ASSETMAP.xml │ │ │ ├── CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml │ │ │ ├── PKL.xml │ │ │ ├── fake_audio.mxf │ │ │ └── fake_video.mxf │ │ └── ValidCpl │ │ │ ├── ASSETMAP.xml │ │ │ ├── CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml │ │ │ ├── PKL.xml │ │ │ ├── fake_audio.mxf │ │ │ └── fake_video.mxf │ │ └── packinglist │ │ ├── DuplicatedIdPackingList │ │ ├── ASSETMAP.xml │ │ ├── PKL.xml │ │ ├── fake_audio.mxf │ │ └── fake_video.mxf │ │ ├── MalformedPackingList │ │ ├── ASSETMAP.xml │ │ ├── PKL.xml │ │ ├── fake_audio.mxf │ │ └── fake_video.mxf │ │ └── ValidPackingList │ │ ├── ASSETMAP.xml │ │ ├── PKL.xml │ │ ├── fake_audio.mxf │ │ └── fake_video.mxf └── testresources │ └── com │ └── sferalabs │ └── imf │ └── test │ └── resources │ ├── assetmap │ ├── DuplicatedIdAssetMap │ │ ├── ASSETMAP.xml │ │ ├── fake_audio.mxf │ │ └── fake_video.mxf │ ├── MalformedAssetMap │ │ ├── ASSETMAP.xml │ │ ├── fake_audio.mxf │ │ └── fake_video.mxf │ ├── NonExistedAssetInAssetMap │ │ ├── ASSETMAP.xml │ │ └── fake_video.mxf │ └── ValidAssetMap │ │ ├── ASSETMAP.xml │ │ ├── fake_audio.mxf │ │ └── fake_video.mxf │ ├── cpl │ ├── DuplicatedSequenceIdCpl │ │ ├── ASSETMAP.xml │ │ ├── CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml │ │ ├── PKL.xml │ │ ├── fake_audio.mxf │ │ └── fake_video.mxf │ ├── InvalidTrackFileIdCpl │ │ ├── ASSETMAP.xml │ │ ├── CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml │ │ ├── PKL.xml │ │ ├── fake_audio.mxf │ │ └── fake_video.mxf │ ├── MalformedCpl │ │ ├── ASSETMAP.xml │ │ ├── CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml │ │ ├── PKL.xml │ │ ├── fake_audio.mxf │ │ └── fake_video.mxf │ └── ValidCpl │ │ ├── ASSETMAP.xml │ │ ├── CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml │ │ ├── PKL.xml │ │ ├── fake_audio.mxf │ │ └── fake_video.mxf │ └── packinglist │ ├── DuplicatedIdPackingList │ ├── ASSETMAP.xml │ ├── PKL.xml │ ├── fake_audio.mxf │ └── fake_video.mxf │ ├── MalformedPackingList │ ├── ASSETMAP.xml │ ├── PKL.xml │ ├── fake_audio.mxf │ └── fake_video.mxf │ └── ValidPackingList │ ├── ASSETMAP.xml │ ├── PKL.xml │ ├── fake_audio.mxf │ └── fake_video.mxf └── versionsOfDependencies.gradle /.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | build/ -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015 Sfera Labs LLC. All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are met: 5 | 6 | 1. Redistributions of source code must retain the above copyright notice, 7 | this list of conditions and the following disclaimer. 8 | 9 | 2. Redistributions in binary form must reproduce the above copyright notice, 10 | this list of conditions and the following disclaimer in the documentation 11 | and/or other materials provided with the distribution. 12 | 13 | 3. All advertising materials mentioning features or use of this software must 14 | display the following acknowledgement: 15 | This product includes software developed by the SFERA LABS LLC. 16 | 17 | 4. Neither the name of SFERA LABS LLC nor the names of its contributors may be 18 | used to endorse or promote products derived from this software without specific 19 | prior written permission. 20 | 21 | THIS SOFTWARE IS PROVIDED BY SFERA LABS LLC AND ITS CONTRIBUTORS "AS IS" AND ANY 22 | EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 23 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 24 | DISCLAIMED. IN NO EVENT SHALL SFERA LABS LLC OR ITS CONTRIBUTORS BE LIABLE FOR 25 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 26 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 27 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 28 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 30 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | -------------------------------------------------------------------------------- /build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'java' 2 | apply plugin: 'idea' 3 | apply plugin: 'eclipse' 4 | apply from: 'versionsOfDependencies.gradle' 5 | 6 | sourceCompatibility = 1.7 7 | version = '1.8' 8 | 9 | repositories { 10 | mavenCentral() 11 | jcenter() 12 | } 13 | 14 | sourceSets { 15 | main { 16 | java { 17 | srcDirs = ["src/app", "src/imf"] 18 | } 19 | resources { 20 | srcDirs = ["src/resources"] 21 | } 22 | } 23 | test{ 24 | java{ 25 | srcDirs = ["src/test"] 26 | } 27 | resources { 28 | srcDirs = ["src/testresources"] 29 | } 30 | } 31 | } 32 | 33 | jar { 34 | manifest { 35 | attributes 'Main-Class': 'com.sferalabs.tool.imf.ImfValidator' 36 | } 37 | } 38 | 39 | dependencies { 40 | compile "log4j:log4j:${revLog4j}" 41 | compile "org.slf4j:slf4j-api:${revSlf4j}" 42 | compile "org.slf4j:slf4j-log4j12:${revSlf4j}" 43 | compile "com.netflix.photon:Photon:${photon}" 44 | compile group: 'junit', name: 'junit', version: '4.11' 45 | } 46 | 47 | task fatJar(type: Jar) { 48 | manifest.from jar.manifest 49 | baseName = 'imf-validation-tool' 50 | from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } } 51 | with jar 52 | } 53 | 54 | artifacts { 55 | archives fatJar 56 | } 57 | -------------------------------------------------------------------------------- /javadoc/com/sferalabs/imf/exception/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.sferalabs.imf.exception 7 | 8 | 9 | 10 | 11 |

com.sferalabs.imf.exception

12 |
13 |

Exceptions

14 | 17 |
18 | 19 | 20 | -------------------------------------------------------------------------------- /javadoc/com/sferalabs/imf/model/assetmap/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.sferalabs.imf.model.assetmap 7 | 8 | 9 | 10 | 11 |

com.sferalabs.imf.model.assetmap

12 |
13 |

Classes

14 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /javadoc/com/sferalabs/imf/model/compositionplaylist/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.sferalabs.imf.model.compositionplaylist 7 | 8 | 9 | 10 | 11 |

com.sferalabs.imf.model.compositionplaylist

12 |
13 |

Classes

14 | 32 |

Enums

33 | 36 |
37 | 38 | 39 | -------------------------------------------------------------------------------- /javadoc/com/sferalabs/imf/model/imfpackage/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.sferalabs.imf.model.imfpackage 7 | 8 | 9 | 10 | 11 |

com.sferalabs.imf.model.imfpackage

12 |
13 |

Classes

14 | 17 |
18 | 19 | 20 | -------------------------------------------------------------------------------- /javadoc/com/sferalabs/imf/model/packinglist/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.sferalabs.imf.model.packinglist 7 | 8 | 9 | 10 | 11 |

com.sferalabs.imf.model.packinglist

12 |
13 |

Classes

14 | 18 |
19 | 20 | 21 | -------------------------------------------------------------------------------- /javadoc/com/sferalabs/imf/saxhandler/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.sferalabs.imf.saxhandler 7 | 8 | 9 | 10 | 11 |

com.sferalabs.imf.saxhandler

12 |
13 |

Classes

14 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /javadoc/com/sferalabs/imf/saxhandler/package-use.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Package com.sferalabs.imf.saxhandler 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 36 |
37 | 64 | 65 |
66 |

Uses of Package
com.sferalabs.imf.saxhandler

67 |
68 |
No usage of com.sferalabs.imf.saxhandler
69 | 70 |
71 | 72 | 73 | 74 | 75 | 85 |
86 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /javadoc/com/sferalabs/imf/test/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.sferalabs.imf.test 7 | 8 | 9 | 10 | 11 |

com.sferalabs.imf.test

12 |
13 |

Classes

14 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /javadoc/com/sferalabs/imf/test/package-use.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Package com.sferalabs.imf.test 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 36 |
37 | 64 | 65 |
66 |

Uses of Package
com.sferalabs.imf.test

67 |
68 |
No usage of com.sferalabs.imf.test
69 | 70 |
71 | 72 | 73 | 74 | 75 | 85 |
86 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /javadoc/com/sferalabs/imf/util/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.sferalabs.imf.util 7 | 8 | 9 | 10 | 11 |

com.sferalabs.imf.util

12 |
13 |

Classes

14 | 18 |

Enums

19 | 22 |
23 | 24 | 25 | -------------------------------------------------------------------------------- /javadoc/com/sferalabs/imf/validation/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.sferalabs.imf.validation 7 | 8 | 9 | 10 | 11 |

com.sferalabs.imf.validation

12 |
13 |

Classes

14 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /javadoc/com/sferalabs/imf/xsd/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.sferalabs.imf.xsd 7 | 8 | 9 | 10 | 11 |

com.sferalabs.imf.xsd

12 |
13 |

Classes

14 | 18 |
19 | 20 | 21 | -------------------------------------------------------------------------------- /javadoc/com/sferalabs/imf/xsd/schema/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.sferalabs.imf.xsd.schema 7 | 8 | 9 | 10 | 11 |

com.sferalabs.imf.xsd.schema

12 | 13 | 14 | -------------------------------------------------------------------------------- /javadoc/com/sferalabs/tool/imf/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.sferalabs.tool.imf 7 | 8 | 9 | 10 | 11 |

com.sferalabs.tool.imf

12 |
13 |

Classes

14 | 17 |
18 | 19 | 20 | -------------------------------------------------------------------------------- /javadoc/com/sferalabs/tool/imf/package-use.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Package com.sferalabs.tool.imf 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 36 |
37 | 64 | 65 |
66 |

Uses of Package
com.sferalabs.tool.imf

67 |
68 |
No usage of com.sferalabs.tool.imf
69 | 70 |
71 | 72 | 73 | 74 | 75 | 85 |
86 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /javadoc/deprecated-list.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Deprecated List 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 36 |
37 | 64 | 65 |
66 |

Deprecated API

67 |

Contents

68 |
69 | 70 |
71 | 72 | 73 | 74 | 75 | 85 |
86 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /javadoc/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Generated Documentation (Untitled) 7 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | <noscript> 27 | <div>JavaScript is disabled on your browser.</div> 28 | </noscript> 29 | <h2>Frame Alert</h2> 30 | <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /javadoc/overview-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Overview List 7 | 8 | 9 | 10 | 11 |
All Classes
12 |
13 |

Packages

14 | 26 |
27 |

 

28 | 29 | 30 | -------------------------------------------------------------------------------- /javadoc/package-list: -------------------------------------------------------------------------------- 1 | com.sferalabs.imf.exception 2 | com.sferalabs.imf.model.assetmap 3 | com.sferalabs.imf.model.compositionplaylist 4 | com.sferalabs.imf.model.imfpackage 5 | com.sferalabs.imf.model.packinglist 6 | com.sferalabs.imf.saxhandler 7 | com.sferalabs.imf.util 8 | com.sferalabs.imf.validation 9 | com.sferalabs.imf.xsd 10 | com.sferalabs.imf.xsd.schema 11 | -------------------------------------------------------------------------------- /javadoc/resources/background.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/javadoc/resources/background.gif -------------------------------------------------------------------------------- /javadoc/resources/tab.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/javadoc/resources/tab.gif -------------------------------------------------------------------------------- /javadoc/resources/titlebar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/javadoc/resources/titlebar.gif -------------------------------------------------------------------------------- /javadoc/resources/titlebar_end.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/javadoc/resources/titlebar_end.gif -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'imf-validation-library' 2 | 3 | -------------------------------------------------------------------------------- /src/app/com/sferalabs/tool/imf/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * This package contains IMF validation application classes 3 | */ 4 | package com.sferalabs.tool.imf; -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/exception/ImfXmlException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 Sfera Labs LLC. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * 7 | * 1. Redistributions of source code must retain the above copyright notice, 8 | * this list of conditions and the following disclaimer. 9 | * 10 | * 2. Redistributions in binary form must reproduce the above copyright notice, 11 | * this list of conditions and the following disclaimer in the documentation 12 | * and/or other materials provided with the distribution. 13 | * 14 | * 3. All advertising materials mentioning features or use of this software must 15 | * display the following acknowledgement: 16 | * This product includes software developed by the SFERA LABS LLC. 17 | * 18 | * 4. Neither the name of SFERA LABS LLC nor the names of its contributors may be 19 | * used to endorse or promote products derived from this software without specific 20 | * prior written permission. 21 | * 22 | * THIS SOFTWARE IS PROVIDED BY SFERA LABS LLC AND ITS CONTRIBUTORS "AS IS" AND ANY 23 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 24 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25 | * DISCLAIMED. IN NO EVENT SHALL SFERA LABS LLC OR ITS CONTRIBUTORS BE LIABLE FOR 26 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 29 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 31 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | package com.sferalabs.imf.exception; 34 | 35 | import com.sferalabs.imf.util.ImfLogger; 36 | 37 | /** 38 | * ImfXmlException class to handle Imf exception 39 | */ 40 | public class ImfXmlException extends Exception { 41 | 42 | private String message; 43 | 44 | /** 45 | * Generated serial Version UID 46 | */ 47 | private static final long serialVersionUID = 5375744248859641203L; 48 | 49 | public ImfXmlException() { 50 | super(); 51 | } 52 | 53 | public ImfXmlException(String message) { 54 | super(message); 55 | ImfLogger.getLogger().logError(message); 56 | this.message = message; 57 | } 58 | 59 | public ImfXmlException(Throwable cause) { 60 | super(cause); 61 | } 62 | 63 | @Override 64 | public String toString() { 65 | return message; 66 | } 67 | 68 | @Override 69 | public String getMessage() { 70 | return message; 71 | } 72 | } 73 | -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/exception/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * This package contains class for creating IMF Exceptions 3 | */ 4 | package com.sferalabs.imf.exception; -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/model/assetmap/Asset.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 Sfera Labs LLC. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * 7 | * 1. Redistributions of source code must retain the above copyright notice, 8 | * this list of conditions and the following disclaimer. 9 | * 10 | * 2. Redistributions in binary form must reproduce the above copyright notice, 11 | * this list of conditions and the following disclaimer in the documentation 12 | * and/or other materials provided with the distribution. 13 | * 14 | * 3. All advertising materials mentioning features or use of this software must 15 | * display the following acknowledgement: 16 | * This product includes software developed by the SFERA LABS LLC. 17 | * 18 | * 4. Neither the name of SFERA LABS LLC nor the names of its contributors may be 19 | * used to endorse or promote products derived from this software without specific 20 | * prior written permission. 21 | * 22 | * THIS SOFTWARE IS PROVIDED BY SFERA LABS LLC AND ITS CONTRIBUTORS "AS IS" AND ANY 23 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 24 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25 | * DISCLAIMED. IN NO EVENT SHALL SFERA LABS LLC OR ITS CONTRIBUTORS BE LIABLE FOR 26 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 29 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 31 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | package com.sferalabs.imf.model.assetmap; 34 | 35 | import java.util.List; 36 | 37 | import javax.xml.bind.annotation.XmlAccessorType; 38 | import javax.xml.bind.annotation.XmlAccessType; 39 | import javax.xml.bind.annotation.XmlElement; 40 | import javax.xml.bind.annotation.XmlType; 41 | 42 | /** 43 | * Asset data structure class 44 | */ 45 | @XmlAccessorType(XmlAccessType.FIELD) 46 | @XmlType(name = "AssetType", propOrder = { 47 | "id", 48 | "annotationText", 49 | "packingList", 50 | "chunkList" 51 | }) 52 | public class Asset { 53 | 54 | @XmlElement(name = "Id", required = true) 55 | private String uuid; 56 | @XmlElement(name = "AnnotationText") 57 | private String annotation; 58 | @XmlElement(name = "PackingList") 59 | private boolean packingList; 60 | @XmlElement(name = "ChunkList", required = true) 61 | private List chunkList; 62 | 63 | /** 64 | * Set asset uuid 65 | * @param uuid asset's uuid 66 | */ 67 | public final void setUuid(String uuid) { 68 | this.uuid = uuid; 69 | } 70 | 71 | /** 72 | * Set asset annotation 73 | * @param annotation asset's annotation 74 | */ 75 | public final void setAnnotation(String annotation) { 76 | this.annotation = annotation; 77 | } 78 | 79 | /** 80 | * Set asset packing list (true/false) 81 | * @param packingList 82 | */ 83 | public final void setPackingList(boolean packingList) { 84 | this.packingList = packingList; 85 | } 86 | 87 | /** 88 | * Get asset uuid 89 | * @return asset uuid 90 | */ 91 | public final String getUuid() { 92 | return uuid; 93 | } 94 | 95 | /** 96 | * Get asset annotation 97 | * @return asset annotation 98 | */ 99 | public final String getAnnotation() { 100 | return annotation; 101 | } 102 | 103 | /** 104 | * Get asset packing list 105 | * @return packingList 106 | */ 107 | public final boolean getPackingList() { 108 | return packingList; 109 | } 110 | 111 | /** 112 | * Set chunk list 113 | * @param chunkList 114 | */ 115 | public final void setChunkList(List chunkList) { 116 | this.chunkList = chunkList; 117 | } 118 | 119 | /** 120 | * Get chunk list 121 | * @return chunkList 122 | */ 123 | public final List getChunkList() { 124 | return chunkList; 125 | } 126 | } 127 | -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/model/assetmap/Chunk.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 Sfera Labs LLC. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * 7 | * 1. Redistributions of source code must retain the above copyright notice, 8 | * this list of conditions and the following disclaimer. 9 | * 10 | * 2. Redistributions in binary form must reproduce the above copyright notice, 11 | * this list of conditions and the following disclaimer in the documentation 12 | * and/or other materials provided with the distribution. 13 | * 14 | * 3. All advertising materials mentioning features or use of this software must 15 | * display the following acknowledgement: 16 | * This product includes software developed by the SFERA LABS LLC. 17 | * 18 | * 4. Neither the name of SFERA LABS LLC nor the names of its contributors may be 19 | * used to endorse or promote products derived from this software without specific 20 | * prior written permission. 21 | * 22 | * THIS SOFTWARE IS PROVIDED BY SFERA LABS LLC AND ITS CONTRIBUTORS "AS IS" AND ANY 23 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 24 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25 | * DISCLAIMED. IN NO EVENT SHALL SFERA LABS LLC OR ITS CONTRIBUTORS BE LIABLE FOR 26 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 29 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 31 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | package com.sferalabs.imf.model.assetmap; 34 | 35 | import javax.xml.bind.annotation.XmlAccessorType; 36 | import javax.xml.bind.annotation.XmlAccessType; 37 | import javax.xml.bind.annotation.XmlElement; 38 | import javax.xml.bind.annotation.XmlType; 39 | 40 | /** 41 | * Chunk data structure class 42 | */ 43 | @XmlAccessorType(XmlAccessType.FIELD) 44 | @XmlType(name = "ChunkType", propOrder = { 45 | "path", 46 | "volumeIndex", 47 | "offset", 48 | "length" 49 | }) 50 | public class Chunk { 51 | @XmlElement(name = "Path", required = true) 52 | private String path; 53 | @XmlElement(name = "VolumeIndex") 54 | private long volumeIndex; 55 | @XmlElement(name = "Offset") 56 | private long offset; 57 | @XmlElement(name = "Length") 58 | private long length; 59 | 60 | /** 61 | * Get Chunk path 62 | * @return path 63 | */ 64 | public final String getPath() { 65 | return path; 66 | } 67 | 68 | /** 69 | * Set chunk path 70 | * @param path 71 | */ 72 | public final void setPath(String path) { 73 | this.path = path; 74 | } 75 | 76 | /** 77 | * Get Volume index 78 | * @return volumeIndex 79 | */ 80 | public final long getVolumeIndex() { 81 | return volumeIndex; 82 | } 83 | 84 | /** 85 | * Set Volume index 86 | * @param volumeIndex 87 | */ 88 | public final void setVolumeIndex(long volumeIndex) { 89 | this.volumeIndex = volumeIndex; 90 | } 91 | 92 | /** 93 | * Get chunk offset 94 | * @return offset 95 | */ 96 | public final long getOffset() { 97 | return offset; 98 | } 99 | 100 | /** 101 | * Set chunk offset 102 | * @param offset 103 | */ 104 | public final void setOffset(long offset) { 105 | this.offset = offset; 106 | } 107 | 108 | /** 109 | * Get chunk length 110 | * @return length 111 | */ 112 | public final long getLength() { 113 | return length; 114 | } 115 | 116 | /** 117 | * Set chunk length 118 | * @param length 119 | */ 120 | public final void setLength(long length) { 121 | this.length = length; 122 | } 123 | } 124 | -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/model/assetmap/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * This package contains classes that represent data types of AssetMap.xml 3 | */ 4 | package com.sferalabs.imf.model.assetmap; -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/model/compositionplaylist/ApplicationIdentification.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 Sfera Labs LLC. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * 7 | * 1. Redistributions of source code must retain the above copyright notice, 8 | * this list of conditions and the following disclaimer. 9 | * 10 | * 2. Redistributions in binary form must reproduce the above copyright notice, 11 | * this list of conditions and the following disclaimer in the documentation 12 | * and/or other materials provided with the distribution. 13 | * 14 | * 3. All advertising materials mentioning features or use of this software must 15 | * display the following acknowledgement: 16 | * This product includes software developed by the SFERA LABS LLC. 17 | * 18 | * 4. Neither the name of SFERA LABS LLC nor the names of its contributors may be 19 | * used to endorse or promote products derived from this software without specific 20 | * prior written permission. 21 | * 22 | * THIS SOFTWARE IS PROVIDED BY SFERA LABS LLC AND ITS CONTRIBUTORS "AS IS" AND ANY 23 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 24 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25 | * DISCLAIMED. IN NO EVENT SHALL SFERA LABS LLC OR ITS CONTRIBUTORS BE LIABLE FOR 26 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 29 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 31 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | package com.sferalabs.imf.model.compositionplaylist; 34 | 35 | import java.util.List; 36 | 37 | /** 38 | * ApplicationIdentification class 39 | */ 40 | public class ApplicationIdentification { 41 | 42 | private List uriList; 43 | 44 | /** 45 | * @return the uriList 46 | */ 47 | public final List getUriList() { 48 | return uriList; 49 | } 50 | 51 | /** 52 | * @param uriList 53 | * the uriList to set 54 | */ 55 | public final void setUriList(List uriList) { 56 | this.uriList = uriList; 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/model/compositionplaylist/CompositionTimecode.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 Sfera Labs LLC. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * 7 | * 1. Redistributions of source code must retain the above copyright notice, 8 | * this list of conditions and the following disclaimer. 9 | * 10 | * 2. Redistributions in binary form must reproduce the above copyright notice, 11 | * this list of conditions and the following disclaimer in the documentation 12 | * and/or other materials provided with the distribution. 13 | * 14 | * 3. All advertising materials mentioning features or use of this software must 15 | * display the following acknowledgement: 16 | * This product includes software developed by the SFERA LABS LLC. 17 | * 18 | * 4. Neither the name of SFERA LABS LLC nor the names of its contributors may be 19 | * used to endorse or promote products derived from this software without specific 20 | * prior written permission. 21 | * 22 | * THIS SOFTWARE IS PROVIDED BY SFERA LABS LLC AND ITS CONTRIBUTORS "AS IS" AND ANY 23 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 24 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25 | * DISCLAIMED. IN NO EVENT SHALL SFERA LABS LLC OR ITS CONTRIBUTORS BE LIABLE FOR 26 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 29 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 31 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | package com.sferalabs.imf.model.compositionplaylist; 34 | 35 | import javax.xml.bind.annotation.XmlAccessorType; 36 | import javax.xml.bind.annotation.XmlAccessType; 37 | import javax.xml.bind.annotation.XmlElement; 38 | import javax.xml.bind.annotation.XmlType; 39 | 40 | /** 41 | * CompositionTimecode Class 42 | */ 43 | @XmlAccessorType(XmlAccessType.FIELD) 44 | @XmlType(name = "CompositionTimecodeType", propOrder = { 45 | "timecodeDropFrame", 46 | "timecodeRate", 47 | "timecodeStartAddress" 48 | }) 49 | public class CompositionTimecode { 50 | 51 | @XmlElement(name = "TimecodeDropFrame") 52 | private boolean timecodeDropFrame; 53 | @XmlElement(name = "TimecodeRate", required = true) 54 | private long timecodeRate; 55 | @XmlElement(name = "TimecodeStartAddress", required = true) 56 | private String timecodeStartAddress; 57 | 58 | /** 59 | * @return the timecodeDropFrame 60 | */ 61 | public final boolean getTimecodeDropFrame() { 62 | return timecodeDropFrame; 63 | } 64 | 65 | /** 66 | * @param timecodeDropFrame 67 | * the timecodeDropFrame to set 68 | */ 69 | public final void setTimecodeDropFrame(boolean timecodeDropFrame) { 70 | this.timecodeDropFrame = timecodeDropFrame; 71 | } 72 | 73 | /** 74 | * @return the timecodeRate 75 | */ 76 | public final long getTimecodeRate() { 77 | return timecodeRate; 78 | } 79 | 80 | /** 81 | * @param timecodeRate 82 | * the timecodeRate to set 83 | */ 84 | public final void setTimecodeRate(long timecodeRate) { 85 | this.timecodeRate = timecodeRate; 86 | } 87 | 88 | /** 89 | * @return the timecodeStartAddress 90 | */ 91 | public final String getTimecodeStartAddress() { 92 | return timecodeStartAddress; 93 | } 94 | 95 | /** 96 | * @param timecodeStartAddress 97 | * the timecodeStartAddress to set 98 | */ 99 | public final void setTimecodeStartAddress(String timecodeStartAddress) { 100 | this.timecodeStartAddress = timecodeStartAddress; 101 | } 102 | } 103 | -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/model/compositionplaylist/ContentKind.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 Sfera Labs LLC. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * 7 | * 1. Redistributions of source code must retain the above copyright notice, 8 | * this list of conditions and the following disclaimer. 9 | * 10 | * 2. Redistributions in binary form must reproduce the above copyright notice, 11 | * this list of conditions and the following disclaimer in the documentation 12 | * and/or other materials provided with the distribution. 13 | * 14 | * 3. All advertising materials mentioning features or use of this software must 15 | * display the following acknowledgement: 16 | * This product includes software developed by the SFERA LABS LLC. 17 | * 18 | * 4. Neither the name of SFERA LABS LLC nor the names of its contributors may be 19 | * used to endorse or promote products derived from this software without specific 20 | * prior written permission. 21 | * 22 | * THIS SOFTWARE IS PROVIDED BY SFERA LABS LLC AND ITS CONTRIBUTORS "AS IS" AND ANY 23 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 24 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25 | * DISCLAIMED. IN NO EVENT SHALL SFERA LABS LLC OR ITS CONTRIBUTORS BE LIABLE FOR 26 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 29 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 31 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | package com.sferalabs.imf.model.compositionplaylist; 34 | 35 | import javax.xml.bind.annotation.XmlAccessorType; 36 | import javax.xml.bind.annotation.XmlAccessType; 37 | import javax.xml.bind.annotation.XmlAttribute; 38 | import javax.xml.bind.annotation.XmlType; 39 | import javax.xml.bind.annotation.XmlValue; 40 | 41 | /** 42 | * ContentKind class 43 | */ 44 | @XmlAccessorType(XmlAccessType.FIELD) 45 | @XmlType(name = "ContentKindType", propOrder = { 46 | "value" 47 | }) 48 | public class ContentKind { 49 | 50 | @XmlAttribute(name = "scope") 51 | private String scope; 52 | @XmlValue 53 | private String value; 54 | /** 55 | * @return the scope 56 | */ 57 | public final String getScope() { 58 | return scope; 59 | } 60 | /** 61 | * @param scope the scope to set 62 | */ 63 | public final void setScope(String scope) { 64 | this.scope = scope; 65 | } 66 | /** 67 | * @return the value 68 | */ 69 | public final String getValue() { 70 | return value; 71 | } 72 | /** 73 | * @param value the value to set 74 | */ 75 | public final void setValue(String value) { 76 | this.value = value; 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/model/compositionplaylist/ContentMaturityRating.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 Sfera Labs LLC. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * 7 | * 1. Redistributions of source code must retain the above copyright notice, 8 | * this list of conditions and the following disclaimer. 9 | * 10 | * 2. Redistributions in binary form must reproduce the above copyright notice, 11 | * this list of conditions and the following disclaimer in the documentation 12 | * and/or other materials provided with the distribution. 13 | * 14 | * 3. All advertising materials mentioning features or use of this software must 15 | * display the following acknowledgement: 16 | * This product includes software developed by the SFERA LABS LLC. 17 | * 18 | * 4. Neither the name of SFERA LABS LLC nor the names of its contributors may be 19 | * used to endorse or promote products derived from this software without specific 20 | * prior written permission. 21 | * 22 | * THIS SOFTWARE IS PROVIDED BY SFERA LABS LLC AND ITS CONTRIBUTORS "AS IS" AND ANY 23 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 24 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25 | * DISCLAIMED. IN NO EVENT SHALL SFERA LABS LLC OR ITS CONTRIBUTORS BE LIABLE FOR 26 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 29 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 31 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | package com.sferalabs.imf.model.compositionplaylist; 34 | 35 | import javax.xml.bind.annotation.XmlAccessorType; 36 | import javax.xml.bind.annotation.XmlAccessType; 37 | import javax.xml.bind.annotation.XmlElement; 38 | import javax.xml.bind.annotation.XmlType; 39 | 40 | /** 41 | * ContentMaturityRating Class 42 | */ 43 | @XmlAccessorType(XmlAccessType.FIELD) 44 | @XmlType(name = "ContentMaturityRatingType", propOrder = { 45 | "agency", 46 | "rating", 47 | "audience", 48 | "any" 49 | }) 50 | public class ContentMaturityRating { 51 | 52 | @XmlElement(name = "Agency", required = true) 53 | private String agency; 54 | @XmlElement(name = "Rating", required = true) 55 | private String rating; 56 | @XmlElement(name = "Audience") 57 | private String audience; 58 | /** 59 | * @return the agency 60 | */ 61 | public final String getAgency() { 62 | return agency; 63 | } 64 | /** 65 | * @param agency the agency to set 66 | */ 67 | public final void setAgency(String agency) { 68 | this.agency = agency; 69 | } 70 | /** 71 | * @return the rating 72 | */ 73 | public final String getRating() { 74 | return rating; 75 | } 76 | /** 77 | * @param rating the rating to set 78 | */ 79 | public final void setRating(String rating) { 80 | this.rating = rating; 81 | } 82 | /** 83 | * @return the audience 84 | */ 85 | public final String getAudience() { 86 | return audience; 87 | } 88 | /** 89 | * @param audience the audience to set 90 | */ 91 | public final void setAudience(String audience) { 92 | this.audience = audience; 93 | } 94 | 95 | } 96 | -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/model/compositionplaylist/ContentVersion.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 Sfera Labs LLC. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * 7 | * 1. Redistributions of source code must retain the above copyright notice, 8 | * this list of conditions and the following disclaimer. 9 | * 10 | * 2. Redistributions in binary form must reproduce the above copyright notice, 11 | * this list of conditions and the following disclaimer in the documentation 12 | * and/or other materials provided with the distribution. 13 | * 14 | * 3. All advertising materials mentioning features or use of this software must 15 | * display the following acknowledgement: 16 | * This product includes software developed by the SFERA LABS LLC. 17 | * 18 | * 4. Neither the name of SFERA LABS LLC nor the names of its contributors may be 19 | * used to endorse or promote products derived from this software without specific 20 | * prior written permission. 21 | * 22 | * THIS SOFTWARE IS PROVIDED BY SFERA LABS LLC AND ITS CONTRIBUTORS "AS IS" AND ANY 23 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 24 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25 | * DISCLAIMED. IN NO EVENT SHALL SFERA LABS LLC OR ITS CONTRIBUTORS BE LIABLE FOR 26 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 29 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 31 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | package com.sferalabs.imf.model.compositionplaylist; 34 | 35 | import javax.xml.bind.annotation.XmlAccessorType; 36 | import javax.xml.bind.annotation.XmlAccessType; 37 | import javax.xml.bind.annotation.XmlElement; 38 | import javax.xml.bind.annotation.XmlType; 39 | 40 | /** 41 | * ContentVersion Class 42 | */ 43 | @XmlAccessorType(XmlAccessType.FIELD) 44 | @XmlType(name = "ContentVersionType", propOrder = { 45 | "id", 46 | "labelText", 47 | "any" 48 | }) 49 | public class ContentVersion { 50 | 51 | @XmlElement(name = "Id", required = true) 52 | private String id; 53 | @XmlElement(name = "LabelText", required = true) 54 | private String labelText; 55 | 56 | /** 57 | * @return the id 58 | */ 59 | public final String getId() { 60 | return id; 61 | } 62 | /** 63 | * @param id the id to set 64 | */ 65 | public final void setId(String id) { 66 | this.id = id; 67 | } 68 | /** 69 | * @return the labelText 70 | */ 71 | public final String getLabelText() { 72 | return labelText; 73 | } 74 | /** 75 | * @param labelText the labelText to set 76 | */ 77 | public final void setLabelText(String labelText) { 78 | this.labelText = labelText; 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/model/compositionplaylist/EssenceDescriptor.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 Sfera Labs LLC. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * 7 | * 1. Redistributions of source code must retain the above copyright notice, 8 | * this list of conditions and the following disclaimer. 9 | * 10 | * 2. Redistributions in binary form must reproduce the above copyright notice, 11 | * this list of conditions and the following disclaimer in the documentation 12 | * and/or other materials provided with the distribution. 13 | * 14 | * 3. All advertising materials mentioning features or use of this software must 15 | * display the following acknowledgement: 16 | * This product includes software developed by the SFERA LABS LLC. 17 | * 18 | * 4. Neither the name of SFERA LABS LLC nor the names of its contributors may be 19 | * used to endorse or promote products derived from this software without specific 20 | * prior written permission. 21 | * 22 | * THIS SOFTWARE IS PROVIDED BY SFERA LABS LLC AND ITS CONTRIBUTORS "AS IS" AND ANY 23 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 24 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25 | * DISCLAIMED. IN NO EVENT SHALL SFERA LABS LLC OR ITS CONTRIBUTORS BE LIABLE FOR 26 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 29 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 31 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | package com.sferalabs.imf.model.compositionplaylist; 34 | 35 | import java.util.ArrayList; 36 | import java.util.List; 37 | 38 | import javax.xml.bind.annotation.XmlAccessorType; 39 | import javax.xml.bind.annotation.XmlAccessType; 40 | import javax.xml.bind.annotation.XmlAnyElement; 41 | import javax.xml.bind.annotation.XmlElement; 42 | import javax.xml.bind.annotation.XmlType; 43 | 44 | /** 45 | * EssenceDescriptor Class 46 | */ 47 | @XmlAccessorType(XmlAccessType.FIELD) 48 | @XmlType(name = "EssenceDescriptorBaseType", propOrder = { 49 | "id", 50 | "any" 51 | }) 52 | public class EssenceDescriptor { 53 | 54 | @XmlElement(name = "Id", required = true) 55 | private String id; 56 | @XmlAnyElement(lax = true) 57 | private List any; 58 | 59 | /** 60 | * @return the id 61 | */ 62 | public final String getId() { 63 | return id; 64 | } 65 | 66 | /** 67 | * @param id the id to set 68 | */ 69 | public final void setId(String id) { 70 | this.id = id; 71 | } 72 | 73 | /** 74 | * Gets the value of the any property 75 | * @return a reference to the live list 76 | */ 77 | public List getAny() { 78 | if (any == null) { 79 | any = new ArrayList(); 80 | } 81 | return this.any; 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/model/compositionplaylist/ExtensionProperties.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 Sfera Labs LLC. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * 7 | * 1. Redistributions of source code must retain the above copyright notice, 8 | * this list of conditions and the following disclaimer. 9 | * 10 | * 2. Redistributions in binary form must reproduce the above copyright notice, 11 | * this list of conditions and the following disclaimer in the documentation 12 | * and/or other materials provided with the distribution. 13 | * 14 | * 3. All advertising materials mentioning features or use of this software must 15 | * display the following acknowledgement: 16 | * This product includes software developed by the SFERA LABS LLC. 17 | * 18 | * 4. Neither the name of SFERA LABS LLC nor the names of its contributors may be 19 | * used to endorse or promote products derived from this software without specific 20 | * prior written permission. 21 | * 22 | * THIS SOFTWARE IS PROVIDED BY SFERA LABS LLC AND ITS CONTRIBUTORS "AS IS" AND ANY 23 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 24 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25 | * DISCLAIMED. IN NO EVENT SHALL SFERA LABS LLC OR ITS CONTRIBUTORS BE LIABLE FOR 26 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 29 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 31 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | package com.sferalabs.imf.model.compositionplaylist; 34 | 35 | /** 36 | * ExtensionProperties class 37 | */ 38 | public class ExtensionProperties { 39 | 40 | private ApplicationIdentification applicationIdentification; 41 | 42 | /** 43 | * @return the applicationIdentification 44 | */ 45 | public final ApplicationIdentification getApplicationIdentification() { 46 | return applicationIdentification; 47 | } 48 | 49 | /** 50 | * @param applicationIdentification the applicationIdentification to set 51 | */ 52 | public final void setApplicationIdentification( 53 | ApplicationIdentification applicationIdentification) { 54 | this.applicationIdentification = applicationIdentification; 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/model/compositionplaylist/Locale.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 Sfera Labs LLC. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * 7 | * 1. Redistributions of source code must retain the above copyright notice, 8 | * this list of conditions and the following disclaimer. 9 | * 10 | * 2. Redistributions in binary form must reproduce the above copyright notice, 11 | * this list of conditions and the following disclaimer in the documentation 12 | * and/or other materials provided with the distribution. 13 | * 14 | * 3. All advertising materials mentioning features or use of this software must 15 | * display the following acknowledgement: 16 | * This product includes software developed by the SFERA LABS LLC. 17 | * 18 | * 4. Neither the name of SFERA LABS LLC nor the names of its contributors may be 19 | * used to endorse or promote products derived from this software without specific 20 | * prior written permission. 21 | * 22 | * THIS SOFTWARE IS PROVIDED BY SFERA LABS LLC AND ITS CONTRIBUTORS "AS IS" AND ANY 23 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 24 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25 | * DISCLAIMED. IN NO EVENT SHALL SFERA LABS LLC OR ITS CONTRIBUTORS BE LIABLE FOR 26 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 29 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 31 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | package com.sferalabs.imf.model.compositionplaylist; 34 | 35 | import java.util.List; 36 | 37 | import javax.xml.bind.annotation.XmlAccessorType; 38 | import javax.xml.bind.annotation.XmlAccessType; 39 | import javax.xml.bind.annotation.XmlElement; 40 | import javax.xml.bind.annotation.XmlType; 41 | 42 | /** 43 | * Locale Class 44 | */ 45 | @XmlAccessorType(XmlAccessType.FIELD) 46 | @XmlType(name = "LocaleType", propOrder = { 47 | "annotation", 48 | "languageList", 49 | "regionList", 50 | "contentMaturityRatingList" 51 | }) 52 | public class Locale { 53 | 54 | @XmlElement(name = "Annotation") 55 | private String annotation; 56 | @XmlElement(name = "LanguageList") 57 | private List languageList; 58 | @XmlElement(name = "RegionList") 59 | private List regionList; 60 | @XmlElement(name = "ContentMaturityRatingList") 61 | private List contentMaturityRatingList; 62 | /** 63 | * @return the annotation 64 | */ 65 | public final String getAnnotation() { 66 | return annotation; 67 | } 68 | /** 69 | * @param annotation the annotation to set 70 | */ 71 | public final void setAnnotation(String annotation) { 72 | this.annotation = annotation; 73 | } 74 | /** 75 | * @return the languageList 76 | */ 77 | public final List getLanguageList() { 78 | return languageList; 79 | } 80 | /** 81 | * @param languageList the languageList to set 82 | */ 83 | public final void setLanguageList(List languageList) { 84 | this.languageList = languageList; 85 | } 86 | /** 87 | * @return the regionList 88 | */ 89 | public final List getRegionList() { 90 | return regionList; 91 | } 92 | /** 93 | * @param regionList the regionList to set 94 | */ 95 | public final void setRegionList(List regionList) { 96 | this.regionList = regionList; 97 | } 98 | /** 99 | * @return the contentMaturityRatingList 100 | */ 101 | public final List getContentMaturityRatingList() { 102 | return contentMaturityRatingList; 103 | } 104 | /** 105 | * @param contentMaturityRatingList the contentMaturityRatingList to set 106 | */ 107 | public final void setContentMaturityRatingList( 108 | List contentMaturityRatingList) { 109 | this.contentMaturityRatingList = contentMaturityRatingList; 110 | } 111 | } 112 | -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/model/compositionplaylist/Marker.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 Sfera Labs LLC. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * 7 | * 1. Redistributions of source code must retain the above copyright notice, 8 | * this list of conditions and the following disclaimer. 9 | * 10 | * 2. Redistributions in binary form must reproduce the above copyright notice, 11 | * this list of conditions and the following disclaimer in the documentation 12 | * and/or other materials provided with the distribution. 13 | * 14 | * 3. All advertising materials mentioning features or use of this software must 15 | * display the following acknowledgement: 16 | * This product includes software developed by the SFERA LABS LLC. 17 | * 18 | * 4. Neither the name of SFERA LABS LLC nor the names of its contributors may be 19 | * used to endorse or promote products derived from this software without specific 20 | * prior written permission. 21 | * 22 | * THIS SOFTWARE IS PROVIDED BY SFERA LABS LLC AND ITS CONTRIBUTORS "AS IS" AND ANY 23 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 24 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25 | * DISCLAIMED. IN NO EVENT SHALL SFERA LABS LLC OR ITS CONTRIBUTORS BE LIABLE FOR 26 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 29 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 31 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | package com.sferalabs.imf.model.compositionplaylist; 34 | 35 | import javax.xml.bind.annotation.XmlAccessorType; 36 | import javax.xml.bind.annotation.XmlAccessType; 37 | import javax.xml.bind.annotation.XmlElement; 38 | import javax.xml.bind.annotation.XmlType; 39 | 40 | /** 41 | * Marker class 42 | */ 43 | @XmlAccessorType(XmlAccessType.FIELD) 44 | @XmlType(name = "MarkerType", propOrder = { 45 | "annotation", 46 | "label", 47 | "offset" 48 | }) 49 | public class Marker { 50 | 51 | @XmlElement(name = "Label", required = true) 52 | private String label; 53 | @XmlElement(name = "Annotation") 54 | private String annotation; 55 | @XmlElement(name = "Offset", required = true) 56 | private long offset; 57 | /** 58 | * @return the label 59 | */ 60 | public final String getLabel() { 61 | return label; 62 | } 63 | /** 64 | * @param label the label to set 65 | */ 66 | public final void setLabel(String label) { 67 | this.label = label; 68 | } 69 | /** 70 | * @return the annotation 71 | */ 72 | public final String getAnnotation() { 73 | return annotation; 74 | } 75 | /** 76 | * @param annotation the annotation to set 77 | */ 78 | public final void setAnnotation(String annotation) { 79 | this.annotation = annotation; 80 | } 81 | /** 82 | * @return the offset 83 | */ 84 | public final long getOffset() { 85 | return offset; 86 | } 87 | /** 88 | * @param offset the offset to set 89 | */ 90 | public final void setOffset(long offset) { 91 | this.offset = offset; 92 | } 93 | } 94 | -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/model/compositionplaylist/MarkerResource.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 Sfera Labs LLC. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * 7 | * 1. Redistributions of source code must retain the above copyright notice, 8 | * this list of conditions and the following disclaimer. 9 | * 10 | * 2. Redistributions in binary form must reproduce the above copyright notice, 11 | * this list of conditions and the following disclaimer in the documentation 12 | * and/or other materials provided with the distribution. 13 | * 14 | * 3. All advertising materials mentioning features or use of this software must 15 | * display the following acknowledgement: 16 | * This product includes software developed by the SFERA LABS LLC. 17 | * 18 | * 4. Neither the name of SFERA LABS LLC nor the names of its contributors may be 19 | * used to endorse or promote products derived from this software without specific 20 | * prior written permission. 21 | * 22 | * THIS SOFTWARE IS PROVIDED BY SFERA LABS LLC AND ITS CONTRIBUTORS "AS IS" AND ANY 23 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 24 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25 | * DISCLAIMED. IN NO EVENT SHALL SFERA LABS LLC OR ITS CONTRIBUTORS BE LIABLE FOR 26 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 29 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 31 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | package com.sferalabs.imf.model.compositionplaylist; 34 | 35 | import java.util.List; 36 | 37 | import javax.xml.bind.annotation.XmlAccessorType; 38 | import javax.xml.bind.annotation.XmlAccessType; 39 | import javax.xml.bind.annotation.XmlElement; 40 | import javax.xml.bind.annotation.XmlType; 41 | 42 | /** 43 | * MarkerResource class 44 | */ 45 | @XmlAccessorType(XmlAccessType.FIELD) 46 | @XmlType(name = "MarkerResourceType", propOrder = { 47 | "marker" 48 | }) 49 | public class MarkerResource extends BaseResource { 50 | 51 | @XmlElement(name = "Marker") 52 | private List markers; 53 | 54 | /** 55 | * @return the markers 56 | */ 57 | public final List getMarkers() { 58 | return markers; 59 | } 60 | 61 | /** 62 | * @param markers the markers to set 63 | */ 64 | public final void setMarkers(List markers) { 65 | this.markers = markers; 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/model/compositionplaylist/Segment.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 Sfera Labs LLC. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * 7 | * 1. Redistributions of source code must retain the above copyright notice, 8 | * this list of conditions and the following disclaimer. 9 | * 10 | * 2. Redistributions in binary form must reproduce the above copyright notice, 11 | * this list of conditions and the following disclaimer in the documentation 12 | * and/or other materials provided with the distribution. 13 | * 14 | * 3. All advertising materials mentioning features or use of this software must 15 | * display the following acknowledgement: 16 | * This product includes software developed by the SFERA LABS LLC. 17 | * 18 | * 4. Neither the name of SFERA LABS LLC nor the names of its contributors may be 19 | * used to endorse or promote products derived from this software without specific 20 | * prior written permission. 21 | * 22 | * THIS SOFTWARE IS PROVIDED BY SFERA LABS LLC AND ITS CONTRIBUTORS "AS IS" AND ANY 23 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 24 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25 | * DISCLAIMED. IN NO EVENT SHALL SFERA LABS LLC OR ITS CONTRIBUTORS BE LIABLE FOR 26 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 29 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 31 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | package com.sferalabs.imf.model.compositionplaylist; 34 | 35 | import java.util.List; 36 | 37 | import javax.xml.bind.annotation.XmlAccessorType; 38 | import javax.xml.bind.annotation.XmlAccessType; 39 | import javax.xml.bind.annotation.XmlElement; 40 | import javax.xml.bind.annotation.XmlType; 41 | 42 | /** 43 | * Segment class 44 | */ 45 | @XmlAccessorType(XmlAccessType.FIELD) 46 | @XmlType(name = "SegmentType", propOrder = { 47 | "id", 48 | "annotation", 49 | "sequenceList" 50 | }) 51 | public class Segment { 52 | 53 | @XmlElement(name = "Id", required = true) 54 | private String id; 55 | @XmlElement(name = "Annotation") 56 | private String annotation; 57 | @XmlElement(name = "SequenceList", required = true) 58 | private List sequenceList; 59 | 60 | /** 61 | * @return the id 62 | */ 63 | public final String getId() { 64 | return id; 65 | } 66 | 67 | /** 68 | * @param id 69 | * the id to set 70 | */ 71 | public final void setId(String id) { 72 | this.id = id; 73 | } 74 | 75 | /** 76 | * @return the annotation 77 | */ 78 | public final String getAnnotation() { 79 | return annotation; 80 | } 81 | 82 | /** 83 | * @param annotation 84 | * the annotation to set 85 | */ 86 | public final void setAnnotation(String annotation) { 87 | this.annotation = annotation; 88 | } 89 | 90 | /** 91 | * @return the sequenceList 92 | */ 93 | public final List getSequenceList() { 94 | return sequenceList; 95 | } 96 | 97 | /** 98 | * @param sequenceList 99 | * the sequenceList to set 100 | */ 101 | public final void setSequenceList(List sequenceList) { 102 | this.sequenceList = sequenceList; 103 | } 104 | } 105 | -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/model/compositionplaylist/Sequence.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 Sfera Labs LLC. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * 7 | * 1. Redistributions of source code must retain the above copyright notice, 8 | * this list of conditions and the following disclaimer. 9 | * 10 | * 2. Redistributions in binary form must reproduce the above copyright notice, 11 | * this list of conditions and the following disclaimer in the documentation 12 | * and/or other materials provided with the distribution. 13 | * 14 | * 3. All advertising materials mentioning features or use of this software must 15 | * display the following acknowledgement: 16 | * This product includes software developed by the SFERA LABS LLC. 17 | * 18 | * 4. Neither the name of SFERA LABS LLC nor the names of its contributors may be 19 | * used to endorse or promote products derived from this software without specific 20 | * prior written permission. 21 | * 22 | * THIS SOFTWARE IS PROVIDED BY SFERA LABS LLC AND ITS CONTRIBUTORS "AS IS" AND ANY 23 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 24 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25 | * DISCLAIMED. IN NO EVENT SHALL SFERA LABS LLC OR ITS CONTRIBUTORS BE LIABLE FOR 26 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 29 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 31 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | package com.sferalabs.imf.model.compositionplaylist; 34 | 35 | import java.util.List; 36 | 37 | import javax.xml.bind.annotation.XmlAccessorType; 38 | import javax.xml.bind.annotation.XmlAccessType; 39 | import javax.xml.bind.annotation.XmlElement; 40 | import javax.xml.bind.annotation.XmlType; 41 | 42 | /** 43 | * Sequence class 44 | */ 45 | @XmlAccessorType(XmlAccessType.FIELD) 46 | @XmlType(name = "SequenceType", propOrder = { 47 | "id", 48 | "trackId", 49 | "resourceList" 50 | }) 51 | public class Sequence { 52 | 53 | @XmlElement(name = "Id", required = true) 54 | private String id; 55 | @XmlElement(name = "TrackId", required = true) 56 | private String trackId; 57 | @XmlElement(name = "ResourceList", required = true) 58 | private List resourceList; 59 | private SequenceType type; 60 | 61 | /** 62 | * @return the type 63 | */ 64 | public final SequenceType getType() { 65 | return type; 66 | } 67 | 68 | /** 69 | * @param type 70 | * the type to set 71 | */ 72 | public final void setType(SequenceType type) { 73 | this.type = type; 74 | } 75 | 76 | /** 77 | * @return the id 78 | */ 79 | public final String getId() { 80 | return id; 81 | } 82 | 83 | /** 84 | * @param id 85 | * the id to set 86 | */ 87 | public final void setId(String id) { 88 | this.id = id; 89 | } 90 | 91 | /** 92 | * @return the trackId 93 | */ 94 | public final String getTrackId() { 95 | return trackId; 96 | } 97 | 98 | /** 99 | * @param trackId 100 | * the trackId to set 101 | */ 102 | public final void setTrackId(String trackId) { 103 | this.trackId = trackId; 104 | } 105 | 106 | /** 107 | * @return the resourceList 108 | */ 109 | public final List getResourceList() { 110 | return resourceList; 111 | } 112 | 113 | /** 114 | * @param resourceList 115 | * the resourceList to set 116 | */ 117 | public final void setResourceList(List resourceList) { 118 | this.resourceList = resourceList; 119 | } 120 | } 121 | -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/model/compositionplaylist/SequenceType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 Sfera Labs LLC. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * 7 | * 1. Redistributions of source code must retain the above copyright notice, 8 | * this list of conditions and the following disclaimer. 9 | * 10 | * 2. Redistributions in binary form must reproduce the above copyright notice, 11 | * this list of conditions and the following disclaimer in the documentation 12 | * and/or other materials provided with the distribution. 13 | * 14 | * 3. All advertising materials mentioning features or use of this software must 15 | * display the following acknowledgement: 16 | * This product includes software developed by the SFERA LABS LLC. 17 | * 18 | * 4. Neither the name of SFERA LABS LLC nor the names of its contributors may be 19 | * used to endorse or promote products derived from this software without specific 20 | * prior written permission. 21 | * 22 | * THIS SOFTWARE IS PROVIDED BY SFERA LABS LLC AND ITS CONTRIBUTORS "AS IS" AND ANY 23 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 24 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25 | * DISCLAIMED. IN NO EVENT SHALL SFERA LABS LLC OR ITS CONTRIBUTORS BE LIABLE FOR 26 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 29 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 31 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | package com.sferalabs.imf.model.compositionplaylist; 34 | 35 | /** 36 | * SequenceType enum 37 | */ 38 | public enum SequenceType { 39 | MAINIMAGESEQUENCE, MAINAUDIOSEQUENCE, SUBTILESSEQUENCE, 40 | HEARINGIMPAIREDCAPTIONSSEQUENCE, VISUALLYIMPAIREDTEXTSEQUENCE, 41 | COMMENTARYSEQUENCE, KARAOKESEQUENCE, MARKERSEQUENCE, UNKNOWN 42 | } 43 | -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/model/compositionplaylist/StereoImageTrackFileResource.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 Sfera Labs LLC. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * 7 | * 1. Redistributions of source code must retain the above copyright notice, 8 | * this list of conditions and the following disclaimer. 9 | * 10 | * 2. Redistributions in binary form must reproduce the above copyright notice, 11 | * this list of conditions and the following disclaimer in the documentation 12 | * and/or other materials provided with the distribution. 13 | * 14 | * 3. All advertising materials mentioning features or use of this software must 15 | * display the following acknowledgement: 16 | * This product includes software developed by the SFERA LABS LLC. 17 | * 18 | * 4. Neither the name of SFERA LABS LLC nor the names of its contributors may be 19 | * used to endorse or promote products derived from this software without specific 20 | * prior written permission. 21 | * 22 | * THIS SOFTWARE IS PROVIDED BY SFERA LABS LLC AND ITS CONTRIBUTORS "AS IS" AND ANY 23 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 24 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25 | * DISCLAIMED. IN NO EVENT SHALL SFERA LABS LLC OR ITS CONTRIBUTORS BE LIABLE FOR 26 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 29 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 31 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | package com.sferalabs.imf.model.compositionplaylist; 34 | 35 | import javax.xml.bind.annotation.XmlAccessorType; 36 | import javax.xml.bind.annotation.XmlAccessType; 37 | import javax.xml.bind.annotation.XmlElement; 38 | import javax.xml.bind.annotation.XmlType; 39 | 40 | /** 41 | * StereoImageTrackFileResource class 42 | */ 43 | @XmlAccessorType(XmlAccessType.FIELD) 44 | @XmlType(name = "StereoImageTrackFileResourceType", propOrder = { 45 | "leftEye", 46 | "rightEye" 47 | }) 48 | public class StereoImageTrackFileResource extends BaseResource { 49 | 50 | @XmlElement(name = "LeftEye", required = true) 51 | private TrackFileResource leftEye; 52 | @XmlElement(name = "RightEye", required = true) 53 | private TrackFileResource rightEye; 54 | /** 55 | * @return the leftEye 56 | */ 57 | public final TrackFileResource getLeftEye() { 58 | return leftEye; 59 | } 60 | /** 61 | * @param leftEye the leftEye to set 62 | */ 63 | public final void setLeftEye(TrackFileResource leftEye) { 64 | this.leftEye = leftEye; 65 | } 66 | /** 67 | * @return the rightEye 68 | */ 69 | public final TrackFileResource getRightEye() { 70 | return rightEye; 71 | } 72 | /** 73 | * @param rightEye the rightEye to set 74 | */ 75 | public final void setRightEye(TrackFileResource rightEye) { 76 | this.rightEye = rightEye; 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/model/compositionplaylist/TrackFileResource.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 Sfera Labs LLC. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * 7 | * 1. Redistributions of source code must retain the above copyright notice, 8 | * this list of conditions and the following disclaimer. 9 | * 10 | * 2. Redistributions in binary form must reproduce the above copyright notice, 11 | * this list of conditions and the following disclaimer in the documentation 12 | * and/or other materials provided with the distribution. 13 | * 14 | * 3. All advertising materials mentioning features or use of this software must 15 | * display the following acknowledgement: 16 | * This product includes software developed by the SFERA LABS LLC. 17 | * 18 | * 4. Neither the name of SFERA LABS LLC nor the names of its contributors may be 19 | * used to endorse or promote products derived from this software without specific 20 | * prior written permission. 21 | * 22 | * THIS SOFTWARE IS PROVIDED BY SFERA LABS LLC AND ITS CONTRIBUTORS "AS IS" AND ANY 23 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 24 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25 | * DISCLAIMED. IN NO EVENT SHALL SFERA LABS LLC OR ITS CONTRIBUTORS BE LIABLE FOR 26 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 29 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 31 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | package com.sferalabs.imf.model.compositionplaylist; 34 | 35 | import javax.xml.bind.annotation.XmlAccessorType; 36 | import javax.xml.bind.annotation.XmlAccessType; 37 | import javax.xml.bind.annotation.XmlElement; 38 | import javax.xml.bind.annotation.XmlType; 39 | 40 | /** 41 | * TrackFileResource class 42 | */ 43 | @XmlAccessorType(XmlAccessType.FIELD) 44 | @XmlType(name = "TrackFileResourceType", propOrder = { 45 | "sourceEncoding", 46 | "trackFileId", 47 | "keyId", 48 | "hash" 49 | }) 50 | public class TrackFileResource extends BaseResource { 51 | 52 | @XmlElement(name = "SourceEncoding", required = true) 53 | private String sourceEncoding; 54 | @XmlElement(name = "TrackFileId", required = true) 55 | private String trackFileId; 56 | @XmlElement(name = "KeyId") 57 | private String keyId; 58 | @XmlElement(name = "Hash") 59 | private String hash; 60 | 61 | /** 62 | * @return the sourceEncoding 63 | */ 64 | public final String getSourceEncoding() { 65 | return sourceEncoding; 66 | } 67 | /** 68 | * @param sourceEncoding the sourceEncoding to set 69 | */ 70 | public final void setSourceEncoding(String sourceEncoding) { 71 | this.sourceEncoding = sourceEncoding; 72 | } 73 | /** 74 | * @return the trackFileId 75 | */ 76 | public final String getTrackFileId() { 77 | return trackFileId; 78 | } 79 | /** 80 | * @param trackFileId the trackFileId to set 81 | */ 82 | public final void setTrackFileId(String trackFileId) { 83 | this.trackFileId = trackFileId; 84 | } 85 | /** 86 | * @return the keyId 87 | */ 88 | public final String getKeyId() { 89 | return keyId; 90 | } 91 | /** 92 | * @param keyId the keyId to set 93 | */ 94 | public final void setKeyId(String keyId) { 95 | this.keyId = keyId; 96 | } 97 | /** 98 | * @return the hash 99 | */ 100 | public final String getHash() { 101 | return hash; 102 | } 103 | /** 104 | * @param hash the hash to set 105 | */ 106 | public final void setHash(String hash) { 107 | this.hash = hash; 108 | } 109 | } 110 | -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/model/compositionplaylist/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * This package contains classes that represent data types of CPL xml file 3 | */ 4 | package com.sferalabs.imf.model.compositionplaylist; -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/model/imfpackage/ImfPackage.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 Sfera Labs LLC. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * 7 | * 1. Redistributions of source code must retain the above copyright notice, 8 | * this list of conditions and the following disclaimer. 9 | * 10 | * 2. Redistributions in binary form must reproduce the above copyright notice, 11 | * this list of conditions and the following disclaimer in the documentation 12 | * and/or other materials provided with the distribution. 13 | * 14 | * 3. All advertising materials mentioning features or use of this software must 15 | * display the following acknowledgement: 16 | * This product includes software developed by the SFERA LABS LLC. 17 | * 18 | * 4. Neither the name of SFERA LABS LLC nor the names of its contributors may be 19 | * used to endorse or promote products derived from this software without specific 20 | * prior written permission. 21 | * 22 | * THIS SOFTWARE IS PROVIDED BY SFERA LABS LLC AND ITS CONTRIBUTORS "AS IS" AND ANY 23 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 24 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25 | * DISCLAIMED. IN NO EVENT SHALL SFERA LABS LLC OR ITS CONTRIBUTORS BE LIABLE FOR 26 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 29 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 31 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | package com.sferalabs.imf.model.imfpackage; 34 | 35 | import java.util.List; 36 | 37 | /** 38 | * Package class 39 | */ 40 | public class ImfPackage { 41 | 42 | private boolean isFinalPackage; 43 | private List dependentPackagePaths; 44 | private String packagePath; 45 | 46 | public ImfPackage(String packagePath) { 47 | this.packagePath = packagePath; 48 | isFinalPackage = true; 49 | } 50 | 51 | /** 52 | * @return the packagePath 53 | */ 54 | public final String getPackagePath() { 55 | return packagePath; 56 | } 57 | 58 | /** 59 | * @param packagePath the packagePath to set 60 | */ 61 | public final void setPackagePath(String packagePath) { 62 | this.packagePath = packagePath; 63 | } 64 | 65 | /** 66 | * @return the isFinalPackage 67 | */ 68 | public final boolean isFinalPackage() { 69 | return isFinalPackage; 70 | } 71 | 72 | /** 73 | * @return the dependentPackagePaths 74 | */ 75 | public final List getDependentPackageList() { 76 | return dependentPackagePaths; 77 | } 78 | 79 | /** 80 | * @param dependentPackagePaths the dependentPackagePaths to set 81 | */ 82 | public final void setDependantPackageList(List dependentPackagePaths) { 83 | this.dependentPackagePaths = dependentPackagePaths; 84 | if (dependentPackagePaths.size() > 0) { 85 | this.isFinalPackage = false; 86 | } 87 | } 88 | } 89 | -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/model/imfpackage/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * This package contains classes that IMF package 3 | */ 4 | package com.sferalabs.imf.model.imfpackage; -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/model/packinglist/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * This package contains classes that represent data types of PKL xml file 3 | */ 4 | package com.sferalabs.imf.model.packinglist; -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/saxhandler/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * This package contains classes that is used to parse IMF xml files 3 | */ 4 | package com.sferalabs.imf.saxhandler; -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/util/ImfHashAlgorithm.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 Sfera Labs LLC. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * 7 | * 1. Redistributions of source code must retain the above copyright notice, 8 | * this list of conditions and the following disclaimer. 9 | * 10 | * 2. Redistributions in binary form must reproduce the above copyright notice, 11 | * this list of conditions and the following disclaimer in the documentation 12 | * and/or other materials provided with the distribution. 13 | * 14 | * 3. All advertising materials mentioning features or use of this software must 15 | * display the following acknowledgement: 16 | * This product includes software developed by the SFERA LABS LLC. 17 | * 18 | * 4. Neither the name of SFERA LABS LLC nor the names of its contributors may be 19 | * used to endorse or promote products derived from this software without specific 20 | * prior written permission. 21 | * 22 | * THIS SOFTWARE IS PROVIDED BY SFERA LABS LLC AND ITS CONTRIBUTORS "AS IS" AND ANY 23 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 24 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25 | * DISCLAIMED. IN NO EVENT SHALL SFERA LABS LLC OR ITS CONTRIBUTORS BE LIABLE FOR 26 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 29 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 31 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | package com.sferalabs.imf.util; 34 | 35 | public enum ImfHashAlgorithm { 36 | SHA1, SHA256 37 | } 38 | -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/util/ImfLogger.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 Sfera Labs LLC. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * 7 | * 1. Redistributions of source code must retain the above copyright notice, 8 | * this list of conditions and the following disclaimer. 9 | * 10 | * 2. Redistributions in binary form must reproduce the above copyright notice, 11 | * this list of conditions and the following disclaimer in the documentation 12 | * and/or other materials provided with the distribution. 13 | * 14 | * 3. All advertising materials mentioning features or use of this software must 15 | * display the following acknowledgement: 16 | * This product includes software developed by the SFERA LABS LLC. 17 | * 18 | * 4. Neither the name of SFERA LABS LLC nor the names of its contributors may be 19 | * used to endorse or promote products derived from this software without specific 20 | * prior written permission. 21 | * 22 | * THIS SOFTWARE IS PROVIDED BY SFERA LABS LLC AND ITS CONTRIBUTORS "AS IS" AND ANY 23 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 24 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25 | * DISCLAIMED. IN NO EVENT SHALL SFERA LABS LLC OR ITS CONTRIBUTORS BE LIABLE FOR 26 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 29 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 31 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | package com.sferalabs.imf.util; 34 | 35 | /** 36 | * ImfLogger class 37 | */ 38 | public class ImfLogger { 39 | 40 | private static ImfLogger instance; 41 | private static boolean enableDebugLog; 42 | private static boolean errorOccured; 43 | private static boolean warningOccured; 44 | private static Object mutex = new Object(); 45 | 46 | private ImfLogger() { 47 | 48 | } 49 | 50 | public static ImfLogger getLogger() { 51 | if(instance == null) { 52 | synchronized (mutex) { 53 | if(instance == null) { 54 | instance = new ImfLogger(); 55 | enableDebugLog = false; 56 | } 57 | } 58 | } 59 | return instance; 60 | } 61 | 62 | /** 63 | * Log debug message 64 | * @param msg 65 | */ 66 | public void logDebug(String msg) { 67 | if (enableDebugLog) 68 | System.out.println("[D]: " + msg); 69 | } 70 | 71 | /** 72 | * Log info message 73 | * @param msg 74 | */ 75 | public void logInfo(String msg) { 76 | System.out.println("[I]: " + msg); 77 | } 78 | 79 | /** 80 | * Log error message 81 | * @param msg 82 | */ 83 | public void logError(String msg) { 84 | errorOccured = true; 85 | System.out.println("[E]: " + msg); 86 | } 87 | 88 | /** 89 | * Log warning message 90 | * @param msg 91 | */ 92 | public void logWarning(String msg) { 93 | System.out.println("[W]: " + msg); 94 | } 95 | 96 | /** 97 | * Enable to display all logs including debug log 98 | */ 99 | public void enableDebugLog() { 100 | enableDebugLog = true; 101 | } 102 | 103 | /** 104 | * Disable debug log, only show error and warning log 105 | */ 106 | public void disableDebugLog() { 107 | enableDebugLog = false; 108 | } 109 | 110 | /** 111 | * Check if any error occurs 112 | * @return errorOccured 113 | */ 114 | public boolean hasAnyErrors() { 115 | return errorOccured; 116 | } 117 | 118 | /** 119 | * Check if any error occurs 120 | * @return errorOccured 121 | */ 122 | public boolean hasAnyWarnings() { 123 | return warningOccured; 124 | } 125 | 126 | /** 127 | * Clear errors 128 | */ 129 | public void clearErrors() { 130 | errorOccured = false; 131 | warningOccured = false; 132 | } 133 | } 134 | -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/util/MXFFileDataProvider.java: -------------------------------------------------------------------------------- 1 | package com.sferalabs.imf.util; 2 | 3 | import java.io.File; 4 | import java.io.FileInputStream; 5 | import java.io.IOException; 6 | import java.io.InputStream; 7 | 8 | import com.netflix.imflibrary.utils.ByteProvider; 9 | 10 | public class MXFFileDataProvider implements ByteProvider { 11 | 12 | private final InputStream inputStream; 13 | 14 | /** 15 | * Instantiates a new MXF InputStream data provider. 16 | * 17 | * @param file the input file 18 | */ 19 | public MXFFileDataProvider(File file) throws IOException 20 | { 21 | this.inputStream = new FileInputStream(file); 22 | } 23 | 24 | /** 25 | * Get bytes. 26 | * 27 | * @param totalNumBytesToRead the total num bytes to read 28 | * @return byte[] containing next totalNumBytesToRead 29 | * @throws java.io.IOException the iO exception 30 | */ 31 | public synchronized byte[] getBytes(int totalNumBytesToRead) throws IOException 32 | { 33 | if(totalNumBytesToRead < 0){ 34 | throw new IOException(String.format("Cannot read %d bytes, should be non-negative and non-zero", totalNumBytesToRead)); 35 | } 36 | byte[] bytes = new byte[totalNumBytesToRead]; 37 | Integer bytesRead = 0; 38 | Integer totalBytesRead = 0; 39 | while(bytesRead != -1 40 | && bytesRead < totalNumBytesToRead) { 41 | bytesRead = this.inputStream.read(bytes, totalBytesRead, totalNumBytesToRead); 42 | if(bytesRead != -1){ 43 | totalBytesRead += bytesRead; 44 | totalNumBytesToRead -= bytesRead; 45 | } 46 | } 47 | return bytes; 48 | } 49 | 50 | /** 51 | * Skip bytes. 52 | * 53 | * @param totalNumBytesToSkip the total num bytes to skip 54 | * @throws java.io.IOException the iO exception 55 | */ 56 | public synchronized void skipBytes(long totalNumBytesToSkip) throws IOException 57 | { 58 | long bytesSkipped = this.inputStream.skip(totalNumBytesToSkip); 59 | if(bytesSkipped != totalNumBytesToSkip){ 60 | throw new IOException(String.format("Could not skip %d bytes of data, possible truncated data", totalNumBytesToSkip)); 61 | } 62 | } 63 | 64 | public void close() throws IOException { 65 | inputStream.close(); 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/util/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * This package contains singleton classes that provide helper functions 3 | */ 4 | package com.sferalabs.imf.util; -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/validation/ValidationResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 Sfera Labs LLC. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * 7 | * 1. Redistributions of source code must retain the above copyright notice, 8 | * this list of conditions and the following disclaimer. 9 | * 10 | * 2. Redistributions in binary form must reproduce the above copyright notice, 11 | * this list of conditions and the following disclaimer in the documentation 12 | * and/or other materials provided with the distribution. 13 | * 14 | * 3. All advertising materials mentioning features or use of this software must 15 | * display the following acknowledgement: 16 | * This product includes software developed by the SFERA LABS LLC. 17 | * 18 | * 4. Neither the name of SFERA LABS LLC nor the names of its contributors may be 19 | * used to endorse or promote products derived from this software without specific 20 | * prior written permission. 21 | * 22 | * THIS SOFTWARE IS PROVIDED BY SFERA LABS LLC AND ITS CONTRIBUTORS "AS IS" AND ANY 23 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 24 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25 | * DISCLAIMED. IN NO EVENT SHALL SFERA LABS LLC OR ITS CONTRIBUTORS BE LIABLE FOR 26 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 29 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 31 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | package com.sferalabs.imf.validation; 34 | import java.lang.String; 35 | 36 | /** 37 | * ValidationResult used to report the result of validation process of items 38 | * 39 | */ 40 | public class ValidationResult { 41 | /** 42 | * The description of validation result 43 | */ 44 | private String message; 45 | /** 46 | * Boolean member to indicate error status 47 | */ 48 | private boolean hasErr; 49 | 50 | private boolean isErrorCritical; 51 | 52 | public ValidationResult(){ 53 | this.message = ""; 54 | } 55 | 56 | public ValidationResult(boolean hasError, String message) { 57 | this.hasErr = hasError; 58 | this.message = message; 59 | } 60 | 61 | public String getMessage() { 62 | return message; 63 | } 64 | 65 | public void setMessage(String message) { 66 | this.message = message; 67 | } 68 | 69 | public boolean hasError() { 70 | return this.hasErr || this.isErrorCritical; 71 | } 72 | 73 | public void setHasError(boolean hasError) { 74 | this.hasErr = hasError; 75 | } 76 | 77 | public boolean isCriticalError() { 78 | return isErrorCritical; 79 | } 80 | 81 | public void setCriticalError(boolean critical) 82 | { 83 | isErrorCritical = critical; 84 | } 85 | } 86 | -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/validation/ValidationResultList.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 Sfera Labs LLC. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * 7 | * 1. Redistributions of source code must retain the above copyright notice, 8 | * this list of conditions and the following disclaimer. 9 | * 10 | * 2. Redistributions in binary form must reproduce the above copyright notice, 11 | * this list of conditions and the following disclaimer in the documentation 12 | * and/or other materials provided with the distribution. 13 | * 14 | * 3. All advertising materials mentioning features or use of this software must 15 | * display the following acknowledgement: 16 | * This product includes software developed by the SFERA LABS LLC. 17 | * 18 | * 4. Neither the name of SFERA LABS LLC nor the names of its contributors may be 19 | * used to endorse or promote products derived from this software without specific 20 | * prior written permission. 21 | * 22 | * THIS SOFTWARE IS PROVIDED BY SFERA LABS LLC AND ITS CONTRIBUTORS "AS IS" AND ANY 23 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 24 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25 | * DISCLAIMED. IN NO EVENT SHALL SFERA LABS LLC OR ITS CONTRIBUTORS BE LIABLE FOR 26 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 29 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 31 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | package com.sferalabs.imf.validation; 34 | 35 | import java.util.ArrayList; 36 | 37 | /** 38 | * ValidationResultList represents collection of ValidationResult 39 | * and collects ValidationResults during 40 | */ 41 | public class ValidationResultList extends ArrayList { 42 | 43 | /** 44 | * 45 | */ 46 | private static final long serialVersionUID = 1L; 47 | 48 | public boolean containsCriticalError() 49 | { 50 | for (ValidationResult result: this) 51 | { 52 | if(result.isCriticalError()) { 53 | return true; 54 | } 55 | } 56 | return false; 57 | } 58 | public boolean containsError() 59 | { 60 | for (ValidationResult result: this) 61 | { 62 | if(result.hasError()) { 63 | return true; 64 | } 65 | } 66 | return false; 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/validation/VolumnIndexValidator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 Sfera Labs LLC. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * 7 | * 1. Redistributions of source code must retain the above copyright notice, 8 | * this list of conditions and the following disclaimer. 9 | * 10 | * 2. Redistributions in binary form must reproduce the above copyright notice, 11 | * this list of conditions and the following disclaimer in the documentation 12 | * and/or other materials provided with the distribution. 13 | * 14 | * 3. All advertising materials mentioning features or use of this software must 15 | * display the following acknowledgement: 16 | * This product includes software developed by the SFERA LABS LLC. 17 | * 18 | * 4. Neither the name of SFERA LABS LLC nor the names of its contributors may be 19 | * used to endorse or promote products derived from this software without specific 20 | * prior written permission. 21 | * 22 | * THIS SOFTWARE IS PROVIDED BY SFERA LABS LLC AND ITS CONTRIBUTORS "AS IS" AND ANY 23 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 24 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25 | * DISCLAIMED. IN NO EVENT SHALL SFERA LABS LLC OR ITS CONTRIBUTORS BE LIABLE FOR 26 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 29 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 31 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | package com.sferalabs.imf.validation; 35 | 36 | import java.io.File; 37 | import java.io.IOException; 38 | 39 | import javax.xml.parsers.ParserConfigurationException; 40 | 41 | import com.sferalabs.imf.exception.ImfXmlException; 42 | import com.sferalabs.imf.model.imfpackage.ImfPackage; 43 | import com.sferalabs.imf.xsd.ImfXsds; 44 | 45 | /** 46 | * VolumnIndex validation class 47 | */ 48 | public class VolumnIndexValidator extends XmlResourceValidator { 49 | 50 | private static final String XML_FILE_NAME = "VOLINDEX.xml"; 51 | 52 | public VolumnIndexValidator(ImfPackage imfPackage) { 53 | super(imfPackage.getPackagePath() + File.separator + XML_FILE_NAME); 54 | resourcePath = ImfXsds.ASSET_MAP_XSD; 55 | } 56 | 57 | @Override 58 | public ValidationResult parse() throws IOException, ParserConfigurationException { 59 | ValidationResult result = validateXsd(); 60 | return result; 61 | } 62 | 63 | @Override 64 | public ValidationResultList validate() throws ImfXmlException { 65 | return new ValidationResultList(); 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/validation/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * This package contains classes that provide IMF validation 3 | */ 4 | package com.sferalabs.imf.validation; -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/xsd/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * This package contains classes that provide XML caching resolver 3 | */ 4 | package com.sferalabs.imf.xsd; -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/xsd/schema/assetMap.xsd: -------------------------------------------------------------------------------- 1 | 2 | 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 | -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/xsd/schema/coreConstraints.xsd: -------------------------------------------------------------------------------- 1 | 2 | 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 | -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/xsd/schema/outputProfileList.xsd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/imf/com/sferalabs/imf/xsd/schema/outputProfileList.xsd -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/xsd/schema/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * This package contains IMF XSD files 3 | */ 4 | package com.sferalabs.imf.xsd.schema; -------------------------------------------------------------------------------- /src/imf/com/sferalabs/imf/xsd/schema/packingList.xsd: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 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 | -------------------------------------------------------------------------------- /src/resources/com/sferalabs/imf/xsd/schema/assetMap.xsd: -------------------------------------------------------------------------------- 1 | 2 | 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 | -------------------------------------------------------------------------------- /src/resources/com/sferalabs/imf/xsd/schema/coreConstraints.xsd: -------------------------------------------------------------------------------- 1 | 2 | 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 | -------------------------------------------------------------------------------- /src/resources/com/sferalabs/imf/xsd/schema/outputProfileList.xsd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/resources/com/sferalabs/imf/xsd/schema/outputProfileList.xsd -------------------------------------------------------------------------------- /src/resources/com/sferalabs/imf/xsd/schema/packingList.xsd: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 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 | -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * This package contains unit test classes 3 | */ 4 | package com.sferalabs.imf.test; -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/assetmap/DuplicatedIdAssetMap/ASSETMAP.xml: -------------------------------------------------------------------------------- 1 | urn:uuid:7eee416b-a4b2-47f3-8190-2427f604ed5eCHIMERA_NETFLIX_50Clipster 5.9.2.0 (build 86470)12014-08-27T11:28:20-00:00fotokem 2 | 3 | 4 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 5 | 6 | 7 | fake_audio.mxf1 8 | 9 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 10 | 11 | 12 | fake_video.mxf1 13 | -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/assetmap/DuplicatedIdAssetMap/fake_audio.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/test/com/sferalabs/imf/test/resources/assetmap/DuplicatedIdAssetMap/fake_audio.mxf -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/assetmap/DuplicatedIdAssetMap/fake_video.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/test/com/sferalabs/imf/test/resources/assetmap/DuplicatedIdAssetMap/fake_video.mxf -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/assetmap/MalformedAssetMap/ASSETMAP.xml: -------------------------------------------------------------------------------- 1 | urn:uuid:7eee416b-a4b2-47f3-8190-2427f604ed5eCHIMERA_NETFLIX_50Clipster 5.9.2.0 (build 86470)12014-08-27T11:28:20-00:00fotokem 2 | 3 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 4 | 5 | 6 | fake_audio.mxf1 7 | 8 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 9 | 10 | 11 | fake_video.mxf1 12 | -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/assetmap/MalformedAssetMap/fake_audio.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/test/com/sferalabs/imf/test/resources/assetmap/MalformedAssetMap/fake_audio.mxf -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/assetmap/MalformedAssetMap/fake_video.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/test/com/sferalabs/imf/test/resources/assetmap/MalformedAssetMap/fake_video.mxf -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/assetmap/NonExistedAssetInAssetMap/ASSETMAP.xml: -------------------------------------------------------------------------------- 1 | urn:uuid:7eee416b-a4b2-47f3-8190-2427f604ed5eCHIMERA_NETFLIX_50Clipster 5.9.2.0 (build 86470)12014-08-27T11:28:20-00:00fotokem 2 | 3 | 4 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 5 | 6 | 7 | fake_audio.mxf1 8 | 9 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 10 | 11 | 12 | fake_video.mxf1 13 | -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/assetmap/NonExistedAssetInAssetMap/fake_video.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/test/com/sferalabs/imf/test/resources/assetmap/NonExistedAssetInAssetMap/fake_video.mxf -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/assetmap/ValidAssetMap/ASSETMAP.xml: -------------------------------------------------------------------------------- 1 | urn:uuid:7eee416b-a4b2-47f3-8190-2427f604ed5eCHIMERA_NETFLIX_50Clipster 5.9.2.0 (build 86470)12014-08-27T11:28:20-00:00fotokem 2 | 3 | 4 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 5 | 6 | 7 | fake_audio.mxf1 8 | 9 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 10 | 11 | 12 | fake_video.mxf1 13 | -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/assetmap/ValidAssetMap/fake_audio.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/test/com/sferalabs/imf/test/resources/assetmap/ValidAssetMap/fake_audio.mxf -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/assetmap/ValidAssetMap/fake_video.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/test/com/sferalabs/imf/test/resources/assetmap/ValidAssetMap/fake_video.mxf -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/cpl/DuplicatedSequenceIdCpl/ASSETMAP.xml: -------------------------------------------------------------------------------- 1 | urn:uuid:7eee416b-a4b2-47f3-8190-2427f604ed5eCHIMERA_NETFLIX_50Clipster 5.9.2.0 (build 86470)12014-08-27T11:28:20-00:00fotokem 2 | 3 | 4 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 5 | 6 | 7 | fake_audio.mxf1 8 | 9 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 10 | 11 | 12 | fake_video.mxf1 13 | 14 | urn:uuid:646efa44-3b71-4990-ab26-aabe4ac308f6 15 | 16 | 17 | CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml1 18 | 19 | urn:uuid:ca6dfb18-98d6-44ca-8649-90606d3d8e6b 20 | true 21 | 22 | 23 | PKL.xml1 24 | -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/cpl/DuplicatedSequenceIdCpl/CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | urn:uuid:646efa44-3b71-4990-ab26-aabe4ac308f6 4 | CHIMERA_NETFLIX_50 5 | 2014-08-27T11:28:20-00:00 6 | fotokem 7 | Clipster 5.9.2.0 (build 86470) 8 | fotokem 9 | CHIMERA_NETFLIX_50 10 | Test 11 | 12 | 13 | urn:uuid:0d96ae05-0305-4ade-972b-2fa0ce0722ee 14 | CHIMERA_NETFLIX_50 15 | 16 | 17 | 18 | 0 19 | 50 20 | 00:00:00:00 21 | 22 | 50 1 23 | 24 | 25 | urn:uuid:9a2e9a6f-d303-47de-9c6f-ab08fccf145e 26 | 27 | 28 | urn:uuid:a85fbe08-3a0f-497c-a127-d8aff203dba0 29 | urn:uuid:d5a5a51f-feca-48ee-a89f-3ebb7e6efa1c 30 | 31 | 32 | urn:uuid:1731bc4a-5131-42f7-8af8-cd7995124321 33 | 50 1 34 | 1697 35 | 1697 36 | urn:uuid:885cf369-cdaa-4dfd-a0e8-f893890b77fc 37 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 38 | 39 | 40 | 41 | 42 | urn:uuid:a85fbe08-3a0f-497c-a127-d8aff203dba0 43 | urn:uuid:96a9fe88-207d-4956-8ce4-5468f8975155 44 | 45 | 46 | urn:uuid:991a3340-12c7-4327-9dd4-7e340c1768f9 47 | 48000 1 48 | 1629120 49 | 1629120 50 | urn:uuid:50b7b803-9ff6-465c-915b-98397c6164d7 51 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/cpl/DuplicatedSequenceIdCpl/PKL.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:uuid:ca6dfb18-98d6-44ca-8649-90606d3d8e6b 3 | Test 4 | 2014-08-27T11:28:20-00:00 5 | fotokem 6 | Clipster 5.9.2.0 (build 86470) 7 | 8 | 9 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 10 | n0J13wKusTE/6yNqZ0TghSVHvwM= 11 | 1 12 | application/mxf 13 | fake_audio.mxf 14 | 15 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 16 | 9BIzk0MTFgzhiYRRXfwPOBGsmD8= 17 | 1 18 | application/mxf 19 | fake_video.mxf 20 | 21 | urn:uuid:646efa44-3b71-4990-ab26-aabe4ac308f6 22 | CHIMERA_NETFLIX_50 23 | sQH8iJd/jy+wu1AXFSovILi8fBM= 24 | 2310 25 | text/xml 26 | CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml 27 | -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/cpl/DuplicatedSequenceIdCpl/fake_audio.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/test/com/sferalabs/imf/test/resources/cpl/DuplicatedSequenceIdCpl/fake_audio.mxf -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/cpl/DuplicatedSequenceIdCpl/fake_video.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/test/com/sferalabs/imf/test/resources/cpl/DuplicatedSequenceIdCpl/fake_video.mxf -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/cpl/InvalidTrackFileIdCpl/ASSETMAP.xml: -------------------------------------------------------------------------------- 1 | urn:uuid:7eee416b-a4b2-47f3-8190-2427f604ed5eCHIMERA_NETFLIX_50Clipster 5.9.2.0 (build 86470)12014-08-27T11:28:20-00:00fotokem 2 | 3 | 4 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 5 | 6 | 7 | fake_audio.mxf1 8 | 9 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 10 | 11 | 12 | fake_video.mxf1 13 | 14 | urn:uuid:646efa44-3b71-4990-ab26-aabe4ac308f6 15 | 16 | 17 | CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml1 18 | 19 | urn:uuid:ca6dfb18-98d6-44ca-8649-90606d3d8e6b 20 | true 21 | 22 | 23 | PKL.xml1 24 | -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/cpl/InvalidTrackFileIdCpl/CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | urn:uuid:646efa44-3b71-4990-ab26-aabe4ac308f6 4 | CHIMERA_NETFLIX_50 5 | 2014-08-27T11:28:20-00:00 6 | fotokem 7 | Clipster 5.9.2.0 (build 86470) 8 | fotokem 9 | CHIMERA_NETFLIX_50 10 | Test 11 | 12 | 13 | urn:uuid:0d96ae05-0305-4ade-972b-2fa0ce0722ee 14 | CHIMERA_NETFLIX_50 15 | 16 | 17 | 18 | 0 19 | 50 20 | 00:00:00:00 21 | 22 | 50 1 23 | 24 | 25 | urn:uuid:9a2e9a6f-d303-47de-9c6f-ab08fccf145e 26 | 27 | 28 | urn:uuid:a85fbe08-3a0f-497c-a127-d8aff203dba0 29 | urn:uuid:d5a5a51f-feca-48ee-a89f-3ebb7e6efa1c 30 | 31 | 32 | urn:uuid:1731bc4a-5131-42f7-8af8-cd7995124321 33 | 50 1 34 | 1697 35 | 1697 36 | urn:uuid:885cf369-cdaa-4dfd-a0e8-f893890b77fc 37 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb4 38 | 39 | 40 | 41 | 42 | urn:uuid:cd14d60e-dd74-4278-94bc-fe0f261567fc 43 | urn:uuid:96a9fe88-207d-4956-8ce4-5468f8975155 44 | 45 | 46 | urn:uuid:991a3340-12c7-4327-9dd4-7e340c1768f9 47 | 48000 1 48 | 1629120 49 | 1629120 50 | urn:uuid:50b7b803-9ff6-465c-915b-98397c6164d7 51 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/cpl/InvalidTrackFileIdCpl/PKL.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:uuid:ca6dfb18-98d6-44ca-8649-90606d3d8e6b 3 | Test 4 | 2014-08-27T11:28:20-00:00 5 | fotokem 6 | Clipster 5.9.2.0 (build 86470) 7 | 8 | 9 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 10 | n0J13wKusTE/6yNqZ0TghSVHvwM= 11 | 1 12 | application/mxf 13 | fake_audio.mxf 14 | 15 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 16 | 9BIzk0MTFgzhiYRRXfwPOBGsmD8= 17 | 1 18 | application/mxf 19 | fake_video.mxf 20 | 21 | urn:uuid:646efa44-3b71-4990-ab26-aabe4ac308f6 22 | CHIMERA_NETFLIX_50 23 | sQH8iJd/jy+wu1AXFSovILi8fBM= 24 | 2310 25 | text/xml 26 | CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml 27 | -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/cpl/InvalidTrackFileIdCpl/fake_audio.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/test/com/sferalabs/imf/test/resources/cpl/InvalidTrackFileIdCpl/fake_audio.mxf -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/cpl/InvalidTrackFileIdCpl/fake_video.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/test/com/sferalabs/imf/test/resources/cpl/InvalidTrackFileIdCpl/fake_video.mxf -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/cpl/MalformedCpl/ASSETMAP.xml: -------------------------------------------------------------------------------- 1 | urn:uuid:7eee416b-a4b2-47f3-8190-2427f604ed5eCHIMERA_NETFLIX_50Clipster 5.9.2.0 (build 86470)12014-08-27T11:28:20-00:00fotokem 2 | 3 | 4 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 5 | 6 | 7 | fake_audio.mxf1 8 | 9 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 10 | 11 | 12 | fake_video.mxf1 13 | 14 | urn:uuid:646efa44-3b71-4990-ab26-aabe4ac308f6 15 | 16 | 17 | CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml1 18 | 19 | urn:uuid:ca6dfb18-98d6-44ca-8649-90606d3d8e6b 20 | true 21 | 22 | 23 | PKL.xml1 24 | -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/cpl/MalformedCpl/CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | urn:uuid:646efa44-3b71-4990-ab26-aabe4ac308f6 4 | CHIMERA_NETFLIX_50 5 | 2014-08-27T11:28:20-00:00 6 | fotokem 7 | Clipster 5.9.2.0 (build 86470) 8 | fotokem 9 | CHIMERA_NETFLIX_50 10 | Test 11 | 12 | 13 | urn:uuid:0d96ae05-0305-4ade-972b-2fa0ce0722ee 14 | CHIMERA_NETFLIX_50 15 | 16 | 17 | 18 | 0 19 | 50 20 | 00:00:00:00 21 | 22 | 50 1 23 | 24 | 25 | urn:uuid:9a2e9a6f-d303-47de-9c6f-ab08fccf145e 26 | 27 | 28 | urn:uuid:a85fbe08-3a0f-497c-a127-d8aff203dba0 29 | urn:uuid:d5a5a51f-feca-48ee-a89f-3ebb7e6efa1c 30 | 31 | 32 | urn:uuid:1731bc4a-5131-42f7-8af8-cd7995124321 33 | 50 1 34 | 1697 35 | 1697 36 | urn:uuid:885cf369-cdaa-4dfd-a0e8-f893890b77fc 37 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 38 | 39 | 40 | 41 | 42 | urn:uuid:cd14d60e-dd74-4278-94bc-fe0f261567fc 43 | urn:uuid:96a9fe88-207d-4956-8ce4-5468f8975155 44 | 45 | 46 | urn:uuid:991a3340-12c7-4327-9dd4-7e340c1768f9 47 | 48000 1 48 | 1629120 49 | 1629120 50 | urn:uuid:50b7b803-9ff6-465c-915b-98397c6164d7 51 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/cpl/MalformedCpl/PKL.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:uuid:ca6dfb18-98d6-44ca-8649-90606d3d8e6b 3 | Test 4 | 2014-08-27T11:28:20-00:00 5 | fotokem 6 | Clipster 5.9.2.0 (build 86470) 7 | 8 | 9 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 10 | n0J13wKusTE/6yNqZ0TghSVHvwM= 11 | 1 12 | application/mxf 13 | fake_audio.mxf 14 | 15 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 16 | 9BIzk0MTFgzhiYRRXfwPOBGsmD8= 17 | 1 18 | application/mxf 19 | fake_video.mxf 20 | 21 | urn:uuid:646efa44-3b71-4990-ab26-aabe4ac308f6 22 | CHIMERA_NETFLIX_50 23 | sQH8iJd/jy+wu1AXFSovILi8fBM= 24 | 2310 25 | text/xml 26 | CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml 27 | -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/cpl/MalformedCpl/fake_audio.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/test/com/sferalabs/imf/test/resources/cpl/MalformedCpl/fake_audio.mxf -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/cpl/MalformedCpl/fake_video.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/test/com/sferalabs/imf/test/resources/cpl/MalformedCpl/fake_video.mxf -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/cpl/ValidCpl/ASSETMAP.xml: -------------------------------------------------------------------------------- 1 | urn:uuid:7eee416b-a4b2-47f3-8190-2427f604ed5eCHIMERA_NETFLIX_50Clipster 5.9.2.0 (build 86470)12014-08-27T11:28:20-00:00fotokem 2 | 3 | 4 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 5 | 6 | 7 | fake_audio.mxf1 8 | 9 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 10 | 11 | 12 | fake_video.mxf1 13 | 14 | urn:uuid:646efa44-3b71-4990-ab26-aabe4ac308f6 15 | 16 | 17 | CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml1 18 | 19 | urn:uuid:ca6dfb18-98d6-44ca-8649-90606d3d8e6b 20 | true 21 | 22 | 23 | PKL.xml1 24 | -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/cpl/ValidCpl/CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | urn:uuid:646efa44-3b71-4990-ab26-aabe4ac308f6 4 | CHIMERA_NETFLIX_50 5 | 2014-08-27T11:28:20-00:00 6 | fotokem 7 | Clipster 5.9.2.0 (build 86470) 8 | fotokem 9 | CHIMERA_NETFLIX_50 10 | Test 11 | 12 | 13 | urn:uuid:0d96ae05-0305-4ade-972b-2fa0ce0722ee 14 | CHIMERA_NETFLIX_50 15 | 16 | 17 | 18 | 0 19 | 50 20 | 00:00:00:00 21 | 22 | 50 1 23 | 24 | 25 | urn:uuid:9a2e9a6f-d303-47de-9c6f-ab08fccf145e 26 | 27 | 28 | urn:uuid:a85fbe08-3a0f-497c-a127-d8aff203dba0 29 | urn:uuid:d5a5a51f-feca-48ee-a89f-3ebb7e6efa1c 30 | 31 | 32 | urn:uuid:1731bc4a-5131-42f7-8af8-cd7995124321 33 | 50 1 34 | 1697 35 | 1697 36 | urn:uuid:885cf369-cdaa-4dfd-a0e8-f893890b77fc 37 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 38 | 39 | 40 | 41 | 42 | urn:uuid:cd14d60e-dd74-4278-94bc-fe0f261567fc 43 | urn:uuid:96a9fe88-207d-4956-8ce4-5468f8975155 44 | 45 | 46 | urn:uuid:991a3340-12c7-4327-9dd4-7e340c1768f9 47 | 48000 1 48 | 1629120 49 | 1629120 50 | urn:uuid:50b7b803-9ff6-465c-915b-98397c6164d7 51 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/cpl/ValidCpl/PKL.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:uuid:ca6dfb18-98d6-44ca-8649-90606d3d8e6b 3 | Test 4 | 2014-08-27T11:28:20-00:00 5 | fotokem 6 | Clipster 5.9.2.0 (build 86470) 7 | 8 | 9 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 10 | n0J13wKusTE/6yNqZ0TghSVHvwM= 11 | 1 12 | application/mxf 13 | fake_audio.mxf 14 | 15 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 16 | 9BIzk0MTFgzhiYRRXfwPOBGsmD8= 17 | 1 18 | application/mxf 19 | fake_video.mxf 20 | 21 | urn:uuid:646efa44-3b71-4990-ab26-aabe4ac308f6 22 | CHIMERA_NETFLIX_50 23 | sQH8iJd/jy+wu1AXFSovILi8fBM= 24 | 2310 25 | text/xml 26 | CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml 27 | -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/cpl/ValidCpl/fake_audio.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/test/com/sferalabs/imf/test/resources/cpl/ValidCpl/fake_audio.mxf -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/cpl/ValidCpl/fake_video.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/test/com/sferalabs/imf/test/resources/cpl/ValidCpl/fake_video.mxf -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/packinglist/DuplicatedIdPackingList/ASSETMAP.xml: -------------------------------------------------------------------------------- 1 | urn:uuid:7eee416b-a4b2-47f3-8190-2427f604ed5eCHIMERA_NETFLIX_50Clipster 5.9.2.0 (build 86470)12014-08-27T11:28:20-00:00fotokem 2 | 3 | 4 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 5 | 6 | 7 | fake_audio.mxf1 8 | 9 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 10 | 11 | 12 | fake_video.mxf1 13 | 14 | urn:uuid:ca6dfb18-98d6-44ca-8649-90606d3d8e6b 15 | true 16 | 17 | 18 | PKL.xml1 19 | -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/packinglist/DuplicatedIdPackingList/PKL.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:uuid:ca6dfb18-98d6-44ca-8649-90606d3d8e6b 3 | Test 4 | 2014-08-27T11:28:20-00:00 5 | fotokem 6 | Clipster 5.9.2.0 (build 86470) 7 | 8 | 9 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 10 | n0J13wKusTE/6yNqZ0TghSVHvwM= 11 | 1 12 | application/mxf 13 | fake_audio.mxf 14 | 15 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 16 | 9BIzk0MTFgzhiYRRXfwPOBGsmD8= 17 | 1 18 | application/mxf 19 | fake_video.mxf -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/packinglist/DuplicatedIdPackingList/fake_audio.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/test/com/sferalabs/imf/test/resources/packinglist/DuplicatedIdPackingList/fake_audio.mxf -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/packinglist/DuplicatedIdPackingList/fake_video.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/test/com/sferalabs/imf/test/resources/packinglist/DuplicatedIdPackingList/fake_video.mxf -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/packinglist/MalformedPackingList/ASSETMAP.xml: -------------------------------------------------------------------------------- 1 | urn:uuid:7eee416b-a4b2-47f3-8190-2427f604ed5eCHIMERA_NETFLIX_50Clipster 5.9.2.0 (build 86470)12014-08-27T11:28:20-00:00fotokem 2 | 3 | 4 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 5 | 6 | 7 | fake_audio.mxf1 8 | 9 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 10 | 11 | 12 | fake_video.mxf1 13 | 14 | urn:uuid:ca6dfb18-98d6-44ca-8649-90606d3d8e6b 15 | true 16 | 17 | 18 | PKL.xml1 19 | -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/packinglist/MalformedPackingList/PKL.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:uuid:ca6dfb18-98d6-44ca-8649-90606d3d8e6b 3 | Test 4 | 2014-08-27T11:28:20-00:00 5 | fotokem 6 | Clipster 5.9.2.0 (build 86470) 7 | 8 | 9 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 10 | n0J13wKusTE/6yNqZ0TghSVHvwM= 11 | 1 12 | application/mxf 13 | fake_audio.mxf 14 | 15 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 16 | 9BIzk0MTFgzhiYRRXfwPOBGsmD8= 17 | 1 18 | application/mxf 19 | fake_video.mxf -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/packinglist/MalformedPackingList/fake_audio.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/test/com/sferalabs/imf/test/resources/packinglist/MalformedPackingList/fake_audio.mxf -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/packinglist/MalformedPackingList/fake_video.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/test/com/sferalabs/imf/test/resources/packinglist/MalformedPackingList/fake_video.mxf -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/packinglist/ValidPackingList/ASSETMAP.xml: -------------------------------------------------------------------------------- 1 | urn:uuid:7eee416b-a4b2-47f3-8190-2427f604ed5eCHIMERA_NETFLIX_50Clipster 5.9.2.0 (build 86470)12014-08-27T11:28:20-00:00fotokem 2 | 3 | 4 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 5 | 6 | 7 | fake_audio.mxf1 8 | 9 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 10 | 11 | 12 | fake_video.mxf1 13 | 14 | urn:uuid:ca6dfb18-98d6-44ca-8649-90606d3d8e6b 15 | true 16 | 17 | 18 | PKL.xml1 19 | -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/packinglist/ValidPackingList/PKL.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:uuid:ca6dfb18-98d6-44ca-8649-90606d3d8e6b 3 | Test 4 | 2014-08-27T11:28:20-00:00 5 | fotokem 6 | Clipster 5.9.2.0 (build 86470) 7 | 8 | 9 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 10 | n0J13wKusTE/6yNqZ0TghSVHvwM= 11 | 1 12 | application/mxf 13 | fake_audio.mxf 14 | 15 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 16 | 9BIzk0MTFgzhiYRRXfwPOBGsmD8= 17 | 1 18 | application/mxf 19 | fake_video.mxf -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/packinglist/ValidPackingList/fake_audio.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/test/com/sferalabs/imf/test/resources/packinglist/ValidPackingList/fake_audio.mxf -------------------------------------------------------------------------------- /src/test/com/sferalabs/imf/test/resources/packinglist/ValidPackingList/fake_video.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/test/com/sferalabs/imf/test/resources/packinglist/ValidPackingList/fake_video.mxf -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/assetmap/DuplicatedIdAssetMap/ASSETMAP.xml: -------------------------------------------------------------------------------- 1 | urn:uuid:7eee416b-a4b2-47f3-8190-2427f604ed5eCHIMERA_NETFLIX_50Clipster 5.9.2.0 (build 86470)12014-08-27T11:28:20-00:00fotokem 2 | 3 | 4 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 5 | 6 | 7 | fake_audio.mxf1 8 | 9 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 10 | 11 | 12 | fake_video.mxf1 13 | -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/assetmap/DuplicatedIdAssetMap/fake_audio.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/testresources/com/sferalabs/imf/test/resources/assetmap/DuplicatedIdAssetMap/fake_audio.mxf -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/assetmap/DuplicatedIdAssetMap/fake_video.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/testresources/com/sferalabs/imf/test/resources/assetmap/DuplicatedIdAssetMap/fake_video.mxf -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/assetmap/MalformedAssetMap/ASSETMAP.xml: -------------------------------------------------------------------------------- 1 | urn:uuid:7eee416b-a4b2-47f3-8190-2427f604ed5eCHIMERA_NETFLIX_50Clipster 5.9.2.0 (build 86470)12014-08-27T11:28:20-00:00fotokem 2 | 3 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 4 | 5 | 6 | fake_audio.mxf1 7 | 8 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 9 | 10 | 11 | fake_video.mxf1 12 | -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/assetmap/MalformedAssetMap/fake_audio.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/testresources/com/sferalabs/imf/test/resources/assetmap/MalformedAssetMap/fake_audio.mxf -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/assetmap/MalformedAssetMap/fake_video.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/testresources/com/sferalabs/imf/test/resources/assetmap/MalformedAssetMap/fake_video.mxf -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/assetmap/NonExistedAssetInAssetMap/ASSETMAP.xml: -------------------------------------------------------------------------------- 1 | urn:uuid:7eee416b-a4b2-47f3-8190-2427f604ed5eCHIMERA_NETFLIX_50Clipster 5.9.2.0 (build 86470)12014-08-27T11:28:20-00:00fotokem 2 | 3 | 4 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 5 | 6 | 7 | fake_audio.mxf1 8 | 9 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 10 | 11 | 12 | fake_video.mxf1 13 | -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/assetmap/NonExistedAssetInAssetMap/fake_video.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/testresources/com/sferalabs/imf/test/resources/assetmap/NonExistedAssetInAssetMap/fake_video.mxf -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/assetmap/ValidAssetMap/ASSETMAP.xml: -------------------------------------------------------------------------------- 1 | urn:uuid:7eee416b-a4b2-47f3-8190-2427f604ed5eCHIMERA_NETFLIX_50Clipster 5.9.2.0 (build 86470)12014-08-27T11:28:20-00:00fotokem 2 | 3 | 4 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 5 | 6 | 7 | fake_audio.mxf1 8 | 9 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 10 | 11 | 12 | fake_video.mxf1 13 | -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/assetmap/ValidAssetMap/fake_audio.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/testresources/com/sferalabs/imf/test/resources/assetmap/ValidAssetMap/fake_audio.mxf -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/assetmap/ValidAssetMap/fake_video.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/testresources/com/sferalabs/imf/test/resources/assetmap/ValidAssetMap/fake_video.mxf -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/cpl/DuplicatedSequenceIdCpl/ASSETMAP.xml: -------------------------------------------------------------------------------- 1 | urn:uuid:7eee416b-a4b2-47f3-8190-2427f604ed5eCHIMERA_NETFLIX_50Clipster 5.9.2.0 (build 86470)12014-08-27T11:28:20-00:00fotokem 2 | 3 | 4 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 5 | 6 | 7 | fake_audio.mxf1 8 | 9 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 10 | 11 | 12 | fake_video.mxf1 13 | 14 | urn:uuid:646efa44-3b71-4990-ab26-aabe4ac308f6 15 | 16 | 17 | CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml1 18 | 19 | urn:uuid:ca6dfb18-98d6-44ca-8649-90606d3d8e6b 20 | true 21 | 22 | 23 | PKL.xml1 24 | -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/cpl/DuplicatedSequenceIdCpl/CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | urn:uuid:646efa44-3b71-4990-ab26-aabe4ac308f6 4 | CHIMERA_NETFLIX_50 5 | 2014-08-27T11:28:20-00:00 6 | fotokem 7 | Clipster 5.9.2.0 (build 86470) 8 | fotokem 9 | CHIMERA_NETFLIX_50 10 | Test 11 | 12 | 13 | urn:uuid:0d96ae05-0305-4ade-972b-2fa0ce0722ee 14 | CHIMERA_NETFLIX_50 15 | 16 | 17 | 18 | 0 19 | 50 20 | 00:00:00:00 21 | 22 | 50 1 23 | 24 | 25 | urn:uuid:9a2e9a6f-d303-47de-9c6f-ab08fccf145e 26 | 27 | 28 | urn:uuid:a85fbe08-3a0f-497c-a127-d8aff203dba0 29 | urn:uuid:d5a5a51f-feca-48ee-a89f-3ebb7e6efa1c 30 | 31 | 32 | urn:uuid:1731bc4a-5131-42f7-8af8-cd7995124321 33 | 50 1 34 | 1697 35 | 1697 36 | urn:uuid:885cf369-cdaa-4dfd-a0e8-f893890b77fc 37 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 38 | 39 | 40 | 41 | 42 | urn:uuid:a85fbe08-3a0f-497c-a127-d8aff203dba0 43 | urn:uuid:96a9fe88-207d-4956-8ce4-5468f8975155 44 | 45 | 46 | urn:uuid:991a3340-12c7-4327-9dd4-7e340c1768f9 47 | 48000 1 48 | 1629120 49 | 1629120 50 | urn:uuid:50b7b803-9ff6-465c-915b-98397c6164d7 51 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/cpl/DuplicatedSequenceIdCpl/PKL.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:uuid:ca6dfb18-98d6-44ca-8649-90606d3d8e6b 3 | Test 4 | 2014-08-27T11:28:20-00:00 5 | fotokem 6 | Clipster 5.9.2.0 (build 86470) 7 | 8 | 9 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 10 | n0J13wKusTE/6yNqZ0TghSVHvwM= 11 | 1 12 | application/mxf 13 | fake_audio.mxf 14 | 15 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 16 | 9BIzk0MTFgzhiYRRXfwPOBGsmD8= 17 | 1 18 | application/mxf 19 | fake_video.mxf 20 | 21 | urn:uuid:646efa44-3b71-4990-ab26-aabe4ac308f6 22 | CHIMERA_NETFLIX_50 23 | sQH8iJd/jy+wu1AXFSovILi8fBM= 24 | 2310 25 | text/xml 26 | CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml 27 | -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/cpl/DuplicatedSequenceIdCpl/fake_audio.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/testresources/com/sferalabs/imf/test/resources/cpl/DuplicatedSequenceIdCpl/fake_audio.mxf -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/cpl/DuplicatedSequenceIdCpl/fake_video.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/testresources/com/sferalabs/imf/test/resources/cpl/DuplicatedSequenceIdCpl/fake_video.mxf -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/cpl/InvalidTrackFileIdCpl/ASSETMAP.xml: -------------------------------------------------------------------------------- 1 | urn:uuid:7eee416b-a4b2-47f3-8190-2427f604ed5eCHIMERA_NETFLIX_50Clipster 5.9.2.0 (build 86470)12014-08-27T11:28:20-00:00fotokem 2 | 3 | 4 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 5 | 6 | 7 | fake_audio.mxf1 8 | 9 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 10 | 11 | 12 | fake_video.mxf1 13 | 14 | urn:uuid:646efa44-3b71-4990-ab26-aabe4ac308f6 15 | 16 | 17 | CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml1 18 | 19 | urn:uuid:ca6dfb18-98d6-44ca-8649-90606d3d8e6b 20 | true 21 | 22 | 23 | PKL.xml1 24 | -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/cpl/InvalidTrackFileIdCpl/CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | urn:uuid:646efa44-3b71-4990-ab26-aabe4ac308f6 4 | CHIMERA_NETFLIX_50 5 | 2014-08-27T11:28:20-00:00 6 | fotokem 7 | Clipster 5.9.2.0 (build 86470) 8 | fotokem 9 | CHIMERA_NETFLIX_50 10 | Test 11 | 12 | 13 | urn:uuid:0d96ae05-0305-4ade-972b-2fa0ce0722ee 14 | CHIMERA_NETFLIX_50 15 | 16 | 17 | 18 | 0 19 | 50 20 | 00:00:00:00 21 | 22 | 50 1 23 | 24 | 25 | urn:uuid:9a2e9a6f-d303-47de-9c6f-ab08fccf145e 26 | 27 | 28 | urn:uuid:a85fbe08-3a0f-497c-a127-d8aff203dba0 29 | urn:uuid:d5a5a51f-feca-48ee-a89f-3ebb7e6efa1c 30 | 31 | 32 | urn:uuid:1731bc4a-5131-42f7-8af8-cd7995124321 33 | 50 1 34 | 1697 35 | 1697 36 | urn:uuid:885cf369-cdaa-4dfd-a0e8-f893890b77fc 37 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb4 38 | 39 | 40 | 41 | 42 | urn:uuid:cd14d60e-dd74-4278-94bc-fe0f261567fc 43 | urn:uuid:96a9fe88-207d-4956-8ce4-5468f8975155 44 | 45 | 46 | urn:uuid:991a3340-12c7-4327-9dd4-7e340c1768f9 47 | 48000 1 48 | 1629120 49 | 1629120 50 | urn:uuid:50b7b803-9ff6-465c-915b-98397c6164d7 51 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/cpl/InvalidTrackFileIdCpl/PKL.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:uuid:ca6dfb18-98d6-44ca-8649-90606d3d8e6b 3 | Test 4 | 2014-08-27T11:28:20-00:00 5 | fotokem 6 | Clipster 5.9.2.0 (build 86470) 7 | 8 | 9 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 10 | n0J13wKusTE/6yNqZ0TghSVHvwM= 11 | 1 12 | application/mxf 13 | fake_audio.mxf 14 | 15 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 16 | 9BIzk0MTFgzhiYRRXfwPOBGsmD8= 17 | 1 18 | application/mxf 19 | fake_video.mxf 20 | 21 | urn:uuid:646efa44-3b71-4990-ab26-aabe4ac308f6 22 | CHIMERA_NETFLIX_50 23 | sQH8iJd/jy+wu1AXFSovILi8fBM= 24 | 2310 25 | text/xml 26 | CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml 27 | -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/cpl/InvalidTrackFileIdCpl/fake_audio.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/testresources/com/sferalabs/imf/test/resources/cpl/InvalidTrackFileIdCpl/fake_audio.mxf -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/cpl/InvalidTrackFileIdCpl/fake_video.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/testresources/com/sferalabs/imf/test/resources/cpl/InvalidTrackFileIdCpl/fake_video.mxf -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/cpl/MalformedCpl/ASSETMAP.xml: -------------------------------------------------------------------------------- 1 | urn:uuid:7eee416b-a4b2-47f3-8190-2427f604ed5eCHIMERA_NETFLIX_50Clipster 5.9.2.0 (build 86470)12014-08-27T11:28:20-00:00fotokem 2 | 3 | 4 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 5 | 6 | 7 | fake_audio.mxf1 8 | 9 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 10 | 11 | 12 | fake_video.mxf1 13 | 14 | urn:uuid:646efa44-3b71-4990-ab26-aabe4ac308f6 15 | 16 | 17 | CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml1 18 | 19 | urn:uuid:ca6dfb18-98d6-44ca-8649-90606d3d8e6b 20 | true 21 | 22 | 23 | PKL.xml1 24 | -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/cpl/MalformedCpl/CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | urn:uuid:646efa44-3b71-4990-ab26-aabe4ac308f6 4 | CHIMERA_NETFLIX_50 5 | 2014-08-27T11:28:20-00:00 6 | fotokem 7 | Clipster 5.9.2.0 (build 86470) 8 | fotokem 9 | CHIMERA_NETFLIX_50 10 | Test 11 | 12 | 13 | urn:uuid:0d96ae05-0305-4ade-972b-2fa0ce0722ee 14 | CHIMERA_NETFLIX_50 15 | 16 | 17 | 18 | 0 19 | 50 20 | 00:00:00:00 21 | 22 | 50 1 23 | 24 | 25 | urn:uuid:9a2e9a6f-d303-47de-9c6f-ab08fccf145e 26 | 27 | 28 | urn:uuid:a85fbe08-3a0f-497c-a127-d8aff203dba0 29 | urn:uuid:d5a5a51f-feca-48ee-a89f-3ebb7e6efa1c 30 | 31 | 32 | urn:uuid:1731bc4a-5131-42f7-8af8-cd7995124321 33 | 50 1 34 | 1697 35 | 1697 36 | urn:uuid:885cf369-cdaa-4dfd-a0e8-f893890b77fc 37 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 38 | 39 | 40 | 41 | 42 | urn:uuid:cd14d60e-dd74-4278-94bc-fe0f261567fc 43 | urn:uuid:96a9fe88-207d-4956-8ce4-5468f8975155 44 | 45 | 46 | urn:uuid:991a3340-12c7-4327-9dd4-7e340c1768f9 47 | 48000 1 48 | 1629120 49 | 1629120 50 | urn:uuid:50b7b803-9ff6-465c-915b-98397c6164d7 51 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/cpl/MalformedCpl/PKL.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:uuid:ca6dfb18-98d6-44ca-8649-90606d3d8e6b 3 | Test 4 | 2014-08-27T11:28:20-00:00 5 | fotokem 6 | Clipster 5.9.2.0 (build 86470) 7 | 8 | 9 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 10 | n0J13wKusTE/6yNqZ0TghSVHvwM= 11 | 1 12 | application/mxf 13 | fake_audio.mxf 14 | 15 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 16 | 9BIzk0MTFgzhiYRRXfwPOBGsmD8= 17 | 1 18 | application/mxf 19 | fake_video.mxf 20 | 21 | urn:uuid:646efa44-3b71-4990-ab26-aabe4ac308f6 22 | CHIMERA_NETFLIX_50 23 | sQH8iJd/jy+wu1AXFSovILi8fBM= 24 | 2310 25 | text/xml 26 | CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml 27 | -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/cpl/MalformedCpl/fake_audio.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/testresources/com/sferalabs/imf/test/resources/cpl/MalformedCpl/fake_audio.mxf -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/cpl/MalformedCpl/fake_video.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/testresources/com/sferalabs/imf/test/resources/cpl/MalformedCpl/fake_video.mxf -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/cpl/ValidCpl/ASSETMAP.xml: -------------------------------------------------------------------------------- 1 | urn:uuid:7eee416b-a4b2-47f3-8190-2427f604ed5eCHIMERA_NETFLIX_50Clipster 5.9.2.0 (build 86470)12014-08-27T11:28:20-00:00fotokem 2 | 3 | 4 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 5 | 6 | 7 | fake_audio.mxf1 8 | 9 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 10 | 11 | 12 | fake_video.mxf1 13 | 14 | urn:uuid:646efa44-3b71-4990-ab26-aabe4ac308f6 15 | 16 | 17 | CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml1 18 | 19 | urn:uuid:ca6dfb18-98d6-44ca-8649-90606d3d8e6b 20 | true 21 | 22 | 23 | PKL.xml1 24 | -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/cpl/ValidCpl/CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | urn:uuid:646efa44-3b71-4990-ab26-aabe4ac308f6 4 | CHIMERA_NETFLIX_50 5 | 2014-08-27T11:28:20-00:00 6 | fotokem 7 | Clipster 5.9.2.0 (build 86470) 8 | fotokem 9 | CHIMERA_NETFLIX_50 10 | Test 11 | 12 | 13 | urn:uuid:0d96ae05-0305-4ade-972b-2fa0ce0722ee 14 | CHIMERA_NETFLIX_50 15 | 16 | 17 | 18 | 0 19 | 50 20 | 00:00:00:00 21 | 22 | 50 1 23 | 24 | 25 | urn:uuid:9a2e9a6f-d303-47de-9c6f-ab08fccf145e 26 | 27 | 28 | urn:uuid:a85fbe08-3a0f-497c-a127-d8aff203dba0 29 | urn:uuid:d5a5a51f-feca-48ee-a89f-3ebb7e6efa1c 30 | 31 | 32 | urn:uuid:1731bc4a-5131-42f7-8af8-cd7995124321 33 | 50 1 34 | 1697 35 | 1697 36 | urn:uuid:885cf369-cdaa-4dfd-a0e8-f893890b77fc 37 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 38 | 39 | 40 | 41 | 42 | urn:uuid:cd14d60e-dd74-4278-94bc-fe0f261567fc 43 | urn:uuid:96a9fe88-207d-4956-8ce4-5468f8975155 44 | 45 | 46 | urn:uuid:991a3340-12c7-4327-9dd4-7e340c1768f9 47 | 48000 1 48 | 1629120 49 | 1629120 50 | urn:uuid:50b7b803-9ff6-465c-915b-98397c6164d7 51 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/cpl/ValidCpl/PKL.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:uuid:ca6dfb18-98d6-44ca-8649-90606d3d8e6b 3 | Test 4 | 2014-08-27T11:28:20-00:00 5 | fotokem 6 | Clipster 5.9.2.0 (build 86470) 7 | 8 | 9 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 10 | n0J13wKusTE/6yNqZ0TghSVHvwM= 11 | 1 12 | application/mxf 13 | fake_audio.mxf 14 | 15 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 16 | 9BIzk0MTFgzhiYRRXfwPOBGsmD8= 17 | 1 18 | application/mxf 19 | fake_video.mxf 20 | 21 | urn:uuid:646efa44-3b71-4990-ab26-aabe4ac308f6 22 | CHIMERA_NETFLIX_50 23 | sQH8iJd/jy+wu1AXFSovILi8fBM= 24 | 2310 25 | text/xml 26 | CPL_646efa44-3b71-4990-ab26-aabe4ac308f6.xml 27 | -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/cpl/ValidCpl/fake_audio.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/testresources/com/sferalabs/imf/test/resources/cpl/ValidCpl/fake_audio.mxf -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/cpl/ValidCpl/fake_video.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/testresources/com/sferalabs/imf/test/resources/cpl/ValidCpl/fake_video.mxf -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/packinglist/DuplicatedIdPackingList/ASSETMAP.xml: -------------------------------------------------------------------------------- 1 | urn:uuid:7eee416b-a4b2-47f3-8190-2427f604ed5eCHIMERA_NETFLIX_50Clipster 5.9.2.0 (build 86470)12014-08-27T11:28:20-00:00fotokem 2 | 3 | 4 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 5 | 6 | 7 | fake_audio.mxf1 8 | 9 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 10 | 11 | 12 | fake_video.mxf1 13 | 14 | urn:uuid:ca6dfb18-98d6-44ca-8649-90606d3d8e6b 15 | true 16 | 17 | 18 | PKL.xml1 19 | -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/packinglist/DuplicatedIdPackingList/PKL.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:uuid:ca6dfb18-98d6-44ca-8649-90606d3d8e6b 3 | Test 4 | 2014-08-27T11:28:20-00:00 5 | fotokem 6 | Clipster 5.9.2.0 (build 86470) 7 | 8 | 9 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 10 | n0J13wKusTE/6yNqZ0TghSVHvwM= 11 | 1 12 | application/mxf 13 | fake_audio.mxf 14 | 15 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 16 | 9BIzk0MTFgzhiYRRXfwPOBGsmD8= 17 | 1 18 | application/mxf 19 | fake_video.mxf -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/packinglist/DuplicatedIdPackingList/fake_audio.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/testresources/com/sferalabs/imf/test/resources/packinglist/DuplicatedIdPackingList/fake_audio.mxf -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/packinglist/DuplicatedIdPackingList/fake_video.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/testresources/com/sferalabs/imf/test/resources/packinglist/DuplicatedIdPackingList/fake_video.mxf -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/packinglist/MalformedPackingList/ASSETMAP.xml: -------------------------------------------------------------------------------- 1 | urn:uuid:7eee416b-a4b2-47f3-8190-2427f604ed5eCHIMERA_NETFLIX_50Clipster 5.9.2.0 (build 86470)12014-08-27T11:28:20-00:00fotokem 2 | 3 | 4 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 5 | 6 | 7 | fake_audio.mxf1 8 | 9 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 10 | 11 | 12 | fake_video.mxf1 13 | 14 | urn:uuid:ca6dfb18-98d6-44ca-8649-90606d3d8e6b 15 | true 16 | 17 | 18 | PKL.xml1 19 | -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/packinglist/MalformedPackingList/PKL.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:uuid:ca6dfb18-98d6-44ca-8649-90606d3d8e6b 3 | Test 4 | 2014-08-27T11:28:20-00:00 5 | fotokem 6 | Clipster 5.9.2.0 (build 86470) 7 | 8 | 9 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 10 | n0J13wKusTE/6yNqZ0TghSVHvwM= 11 | 1 12 | application/mxf 13 | fake_audio.mxf 14 | 15 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 16 | 9BIzk0MTFgzhiYRRXfwPOBGsmD8= 17 | 1 18 | application/mxf 19 | fake_video.mxf -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/packinglist/MalformedPackingList/fake_audio.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/testresources/com/sferalabs/imf/test/resources/packinglist/MalformedPackingList/fake_audio.mxf -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/packinglist/MalformedPackingList/fake_video.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/testresources/com/sferalabs/imf/test/resources/packinglist/MalformedPackingList/fake_video.mxf -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/packinglist/ValidPackingList/ASSETMAP.xml: -------------------------------------------------------------------------------- 1 | urn:uuid:7eee416b-a4b2-47f3-8190-2427f604ed5eCHIMERA_NETFLIX_50Clipster 5.9.2.0 (build 86470)12014-08-27T11:28:20-00:00fotokem 2 | 3 | 4 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 5 | 6 | 7 | fake_audio.mxf1 8 | 9 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 10 | 11 | 12 | fake_video.mxf1 13 | 14 | urn:uuid:ca6dfb18-98d6-44ca-8649-90606d3d8e6b 15 | true 16 | 17 | 18 | PKL.xml1 19 | -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/packinglist/ValidPackingList/PKL.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:uuid:ca6dfb18-98d6-44ca-8649-90606d3d8e6b 3 | Test 4 | 2014-08-27T11:28:20-00:00 5 | fotokem 6 | Clipster 5.9.2.0 (build 86470) 7 | 8 | 9 | urn:uuid:157c47e5-1568-44f8-b801-4b4ddca9a62f 10 | n0J13wKusTE/6yNqZ0TghSVHvwM= 11 | 1 12 | application/mxf 13 | fake_audio.mxf 14 | 15 | urn:uuid:4da4a906-a08e-4587-b94f-9e4ea29c4eb5 16 | 9BIzk0MTFgzhiYRRXfwPOBGsmD8= 17 | 1 18 | application/mxf 19 | fake_video.mxf -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/packinglist/ValidPackingList/fake_audio.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/testresources/com/sferalabs/imf/test/resources/packinglist/ValidPackingList/fake_audio.mxf -------------------------------------------------------------------------------- /src/testresources/com/sferalabs/imf/test/resources/packinglist/ValidPackingList/fake_video.mxf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SferaLabsLLC/imf-validation-tool/ec9930a83507182be6f00b53e54963711eb4d9cd/src/testresources/com/sferalabs/imf/test/resources/packinglist/ValidPackingList/fake_video.mxf -------------------------------------------------------------------------------- /versionsOfDependencies.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * Name value pairs of 'variable-version' can also be specified in gradle.properties, but value of a property 3 | * cannot be pointing to another property variable. 4 | * Having gradle file for versions has benefit of flexibly in specifying property values over gradle.properties method 5 | * */ 6 | 7 | ext{ 8 | revLog4j = '1.2.+' 9 | revSlf4j = '1.7+' 10 | photon = 'latest.release' 11 | } --------------------------------------------------------------------------------