MLT XML Adapter for OpenTimelineIO
When installed, the plugin adds itself to the available adapters in
OpenTimelineIO
The MLT XML adapter produces mlt flavored xml
files used in conjunction with melt
to preview or render timelines.
The adapter is a write-only adapter and can only produce .mlt files,
not parse them. For parsing dialects of the mlt format please check out one
of the other adapters listed here.
For more information on MLT please visit: www.mltframework.org
Installation
The easiest way to install the adapter is with pip directly from PyPi
# Install
pip install otio-mlt-adapter
# Check if plugin installed correctly
otiopluginfo mlt_xml
If you choose to download the source code and place the package in an alternative
location, make sure you append the full path to the plugin_manifest.json file
to the OTIO_PLUGIN_MANIFEST_PATH environment variable.
Usage in command line tools
# Straight conversion from otio -> mlt
otioconvert -i source_timeline.otio -o destination_timeline.mlt
# Pass adapter arguments
otioconvert -i source_timeline.otio -o destination_timeline.mlt -A colorspace=709
# Play timeline in melt
melt destination_timeline.mlt
Usage in python
import opentimelineio as otio
# Straight conversion
timeline = otio.adapters.read_from_file('source_timeline.otio')
otio.adapters.write_to_file(timeline, 'converted_timeline.mlt')
# Conversion with adapter argument
timeline = otio.adapters.read_from_file('source_timeline.otio')
otio.adapters.write_to_file(timeline, 'converted_timeline.mlt', colorspace=709)
Supported OTIO Features
| OTIO Feature | MLT Adapter |
|---|---|
| Single Track of Clips | W-O |
| Multiple Video Tracks | W-O |
| Audio Tracks & Clips | W-O |
| Gap/Filler | W-O |
| Markers | ✖ |
| Nesting | W-O |
| Transitions | W-O |
| Audio/Video Effects | ✖ |
| Linear Speed Effects | W-O |
| Fancy Speed Effects | ✖ |
| Color Decision List | N/A |
| Image Sequence Reference | W-O |
Known limitations
-
Audio handling is a bit limited. Clips in audio tracks that share the same source as the video clip above will be ignored as MLT will include the audio from the video track by default.
-
Effects directly applied on Tracks or Stacks are currently not implemented
Feedback
Please submit bug reports etc. through github issues
License
MLT XML adapter is released under the MIT License
Metadata
Release files for otio-mlt-adapter 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| otio-mlt-adapter-0.3.0.tar.gz | 14.5 kB | Without provenance | Details for otio-mlt-adapter-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| otio_mlt_adapter-0.3.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for otio_mlt_adapter-0.3.0-py2.py3-none-any.whl |
Total release size: 24.3 kB
Release files / otio-mlt-adapter-0.3.0.tar.gz
| Download URL | otio-mlt-adapter-0.3.0.tar.gz |
|---|---|
| Size | 14.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b20516712676c52f7f7d70bf01e69c32f78da83895d149a4584e148135b50205
|
|
BLAKE2b-256 checksum How to use checksums |
ad263b829daddb257f6fa483486bcfa357ce93991dbcd4542913aa14b7f34248
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
|
Release files / otio_mlt_adapter-0.3.0-py2.py3-none-any.whl
| Download URL | otio_mlt_adapter-0.3.0-py2.py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d049a6747b3444f833c6e0c846051a9fcc73e49d61a447d2b8652270937c2cd9
|
|
BLAKE2b-256 checksum How to use checksums |
3673da86b098d87084dd2b2aff3234bce19c6b7b68d4f0595c1e838020507276
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
|
Security for otio-mlt-adapter 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.