opentimelineio.adapters.otiod

OTIOD adapter - bundles otio files linked to local media in a directory

Takes as input an OTIO file that has media references which are all ExternalReferences with target_urls to files with unique basenames that are accessible through the file system and bundles those files and the otio file into a single directory named with a suffix of .otiod.

opentimelineio.adapters.otiod.read_from_file(filepath, absolute_media_reference_paths=False)
opentimelineio.adapters.otiod.write_to_file(input_otio, filepath, media_policy='ErrorIfNotFile', dryrun=False)