embARC

embARC (Metadata Embedded for Archival Content)

embARC is a free, open source application that enables users to audit and correct embedded metadata of a subset of MXF files, as well as both individual DPX files or an entire DPX sequence, while not impacting the image data. MXF, short for Material Exchange Format, is an object-based file format that wraps video, audio, and other bitstreams (“essences”), optimized for content interchange or archiving by creators and/or distributors, and intended for implementation in devices ranging from cameras and video recorders to computer systems. DPX, short for Digital Picture Exchange, is a pixel-based (raster) file format intended for very high quality moving image content with attributes defined in a binary file header.

embARC, short for “metadata embedded for archival content,” is in active development by the Federal Agencies Digital Guidelines Initiative (FADGI) to support two major guideline projects:

Supported File Formats

DPX (Digital Picture eXchange) support in embARC:

MXF (Material eXchange Format) support in embARC:

Project Setup

Import the source code into eclipse or the IDE of your choice. Import MAJ and DROID projects and include alongside embARC. Include droid-core, droid-core-interfaces, and maj as projects in the build path.

Testing

There are separate tests for each supported file type (DPX & MXF) included in the src/tests folder. Tests include reading, writing, and file format detection.

Running

Set up a run configuration with embARC as the target project and com.portalmedia.embarc.gui.Main as the main class. Include Java 1.8 or equivalent in project execution environment.

Building GUI for Distribution

  1. Update GUI version in build.gradle
  2. Write a summary of changes in Changelog.md
  3. Run gradle clean
  4. To create embARC for MacOS, run gradle task macAppBundle/createDMG. When complete find embARC-x.x.x.dmg in the build/distributions folder.
  5. To create embARC for Windows, run gradle task launch4j/createExe. When complete find embARC-x.x.x.exe in the build/launch4j folder.
  6. To package embARC for Windows as an installer: use Inno Setup on a Windows machine. Place a copy of the embARC_exe_installer.iss file included at the root of this repo alongside your recently created embARC-x.x.x.exe. Open the .iss file in Inno Setup and edit the “MyAppVersion” property and any other properties therein as needed. Run the script. When complete, find embARC-x.x.x.exe packaged as an installer in the Output folder.

embARC CLI

embARC CLI is a free, open source application that enables users to audit embedded metadata of DPX and MXF files from the command line.

embARC, short for “metadata embedded for archival content,” is in active development by the Federal Agencies Digital Guidelines Initiative (FADGI) to support two major guideline projects:

Guidelines for Embedded Metadata within DPX File Headers for Digitized Motion Picture Film. SMPTE RDD 48: MXF Archive and Preservation Format

DPX Usage

java -jar [path/to/embARC-CLI.jar] [input] [output] [options]

MXF Usage

java -jar [path/to/embARC-CLI.jar] [input] [options]

Building CLI for Distrubtion

  1. Update CLI version in build.gradle
  2. Write a summary of changes in Changelog-CLI.md
  3. Switch to CLI settings (version and mainClassName) in build.gradle
  4. Run gradle clean
  5. Run gradle task shadow/shadowJar. When complete find embARC-CLI-x.x.x.jar in the build/libs folder.