---
name: "cmml-fix"
section: "1"
platform: "linux"
package: "cmml-tools"
version: "0.9.4-1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/cmml-fix"
---

# cmml-fix(1)

transforms a sloppily written CMML instance document into a valid one.

## NAME

cmml-fix —       transforms a sloppily written CMML instance document into a valid one.

## SYNOPSIS

**cmml-fix** \[-o **file**  \| --output **file** \]  \[-i **clipid**  \| --id **clipid** \]  \[-s **seconds**  \| --sec **seconds** \]  \[-u **utc**  \| --utc **utc** \]  \[-h  \| --help \]  \[-v  \| --version \] filename

## Description

**cmml-fix** parses a CMML instance document  given as **filename**, validates it sloppily  against the cmml.dtd and some further rules, and creates a  (fixed) valid CMML instance document from it, which gets written  to stdout by default. In case of a non-recoverable error the  faulty tag including line and column number is reported.

## Options

**cmml-fix** accepts the following options:

- \-o **file**, --output **file**

  Output file. Writes fixed CMML document to the  given **file** instead of stdout, which is the  default.

- \-i **clipid**, --id **clipid**

  Seek clip. Starts writing clip tags from the  given named clip.

- \-s **seconds**, --sec **seconds**

  Seek seconds offset. Starts writing clip tags  from the given time offset in **seconds**, e.g. 15.7.

- \-u **utc**, --utc **utc**

  Seek utc time offset. Starts writing clip tags  from the given time offset in **utc**       time, e.g. 200301031T160000.000Z.

- \-h, --help

  Print usage message.

- \-v, --version

  Print version information.

## VERSION

This man page is correct for CMML version 2.1 and libcmml  version 0.9.4.

## SEE ALSO

More information is available at:  *Annodex.net (link to URL http://www.annodex.net/)*
