ClairMeta

From COPTR
Jump to navigation Jump to search
Clairmeta is a python package for Digital Cinema Package (DCP) probing and checking.
Homepage:https://github.com/Ymagis/ClairMeta
License:BSD 3-Clause "New" or "Revised" License
Platforms:Should work on Windows, macOS, Linux, Tested on : macOS 10.12




Description[edit]

Clairmeta is a python package for Digital Cinema Package (DCP) probing and checking. This project status is Beta, the following needs to be done for the release :

  • Large scale tests on lots of DCPs (including D-Box, DVIs, OCAP, CCAP, ...)


Features

  • DCP Probe : metadata extraction of the whole DCP, including all XML fields and MXF assets inspection.
  • DCP Checker : advanced DCP validation tool, including (non exhaustive):
    • SMPTE / Interop standard convention (naming, …)
    • Integrity (MIME type, size, hash) of all assets
    • Foreign file identification
    • XSD Schema validation for XML files (VOLINDEX, ASSETMAP, CPL, PKL)
    • Digital signature validation (CPL, PKL)
    • Intra / Inter Reels integrity and coherence
    • Metadata match between CPL assets and MXF headers
    • Re-link VF / OV
    • Picture tests : FrameRate, BitRate, …
    • Sound tests : Channels, Sampling, …
    • Subtitle : Deep inspection of Interop and SMPTE subtitles
  • DSM / DCDM Checker : basic image file sequence validation with some specific rules.


Usage

ClairMeta can be used as a general command line tool as well as a python library.

Examples for command line calls:

  python3 -m clairmeta.cli probe -type dcp path/to/dcp
  python3 -m clairmeta.cli probe -type dcp path/to/dcp -format json > dcp.json
  python3 -m clairmeta.cli probe -type dcp path/to/dcp -format xml > dcp.xml
  python3 -m clairmeta.cli check -type dcp path/to/dcp


Installation / Dependencies

Installation notes are available on the github page: https://github.com/Ymagis/ClairMeta

Dependencies:

  • Python
    • Should work on python 2.7 and python 3.3+
    • Tested on : python 2.7, python 3.6
  • Platform
    • Should work on Windows, macOS, Linux
    • Tested on : macOS 10.12
  • External (non-python) dependencies :
    • libmagic
    • asdcplib
    • mediainfo (opt)
    • sox (opt)


User Experiences[edit]

Development Activity[edit]

All development activity is visible on GitHub: https://github.com/Ymagis/ClairMeta/commits/develop

Release Feed[edit]

Below the last 3 release feeds:

2025-03-15 10:10:39
[tag:github.com,2008:Repository/111405937/1.6.0 1.6.0]
by remia
2024-02-06 21:09:27
[tag:github.com,2008:Repository/111405937/1.5.2 1.5.2]
by remia
2024-01-28 17:44:35
[tag:github.com,2008:Repository/111405937/1.5.1 1.5.1]
by remia

Activity Feed[edit]

Below the last 5 commits:

2025-03-15 10:10:39
[tag:github.com,2008:Grit::Commit/9b31eac7ce69f4483789db5ae02bfc22086c166a Bump version]
by remia https://github.com/remia
2025-03-15 10:09:15
[tag:github.com,2008:Grit::Commit/05451532d9363b7d6580ed4eecb13433fd28ae1b Update PyPI publish workflow]
by remia https://github.com/remia
2025-02-28 20:06:53
[tag:github.com,2008:Grit::Commit/e9cf1526da16d54d645c3ba04a2c2ae0442ef397 Merge pull request #246 from remia/update-deps]
by remia https://github.com/remia
2025-02-24 19:55:31
[tag:github.com,2008:Grit::Commit/566ff16751e3ab2cac7c66d090aaa67e2d35f7d9 Add per-CPL type metadata (OV, VF)]
by remia https://github.com/remia
2025-02-23 18:16:42
[tag:github.com,2008:Grit::Commit/0f98c1aaa71c05f67132e001af03c721f2617e05 Fix certificate checks issues related to cryptography]
by remia https://github.com/remia