OpenTimelineIO - Import/Export v1.2


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Daniel Flehner Heen
Import and export OpenTimelineIO files directly in Hiero or Nuke Studio. Only tested on Linux and MacOS, but should work on Windows. Compatible with python 3 and Nuke13+
Requirements:
12.2, 12.1, 12.0, 11.3, 11.2, 11.1, 11.0, 10.5 or later
Linux, Mac, Windows
11 Mar 2021
124

OpenTimelineIO Import/Export Plugin for Hiero and Nuke Studio

Supported Versions

Import and export .otio files directly from Hiero or Nuke Studio

Features

  • Multiple tracks
  • Tags
  • Markers
  • Simple re-time (reverese, constant slowdown, constant speedup)
  • Fade in/out and cross dissolves
  • Nested sequences are created separately and replaced with gaps in the main sequence.
  • Linked audio/video when clip shares same media source

Requirements

Make sure you have OpenTimelineIO (OTIO) installed on your computer before you install the plugin. The easiest way to install OTIO is through pip.

pip install opentimelineio

You may also install OpenTimelineIO by using the python version which ships with Hiero|NukeStudio. Replace the python version in the example below with the one you find in the applications root folder.

# Example using python 3 shipped with Nuke13+
python3 -m pip install opentimelineio

If you installed OTIO in another way, please make sure you have OTIO's python package available in the PYTHONPATH environment variable.

Installation

The easiest way to install the plugin is to unpack the contents to the .nuke folder in your 'HOME' directory.
For Hiero/Nuke Studio version < 12 extract to the .hiero folder.

~/.nuke/Python/Startup/otioexporter
~/.nuke/Python/StartupUI/otioimporter

If you choose to install the plugin to another location, make sure to append the full path of the folder containing the Python folder to the HIERO_PLUGIN_PATH environment variable.

export HIERO_PLUGIN_PATH=/my/shared/plugin/folder

Usage OTIO Import

Right click in a project bin and select 'Import->Import OTIO'

Import Bin

Or you can add tracks to an existing sequence

Import Sequence

Usage OTIOExportTask

In Hiero's export dialog choose 'Process as Sequence' and create a new preset called 'OTIO Export'.
Add a new PATH and choose 'OTIO Exporter' from the list of available exporters in the CONTENT column.
Make sure to either use the {ext} token or end your filename with an .otio extension.
The 'include tags' checkbox toggles inclusion of tags assigned to clips in the OTIO metadata.

Export Sequence

You may either export entire sequences or selected items in a sequence.

Known Limitations

  • Tags/markers are applied to both clips and track items on import if no metadata indicates source type.
MIT License Copyright (c) 2021 Daniel Flehner Heen Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please login in order to download these files.

Comments   

 
0 # Thomas Vu 2022-12-14 11:02
I Need help
C:\WINDOWS\syst em32> pip install opentimelineio
Requirement already satisfied: opentimelineio in c:\users\nikas\ appdata\local\p ackages\pythons oftwarefoundati on.python.3.10_ qbz5n2kfra8p0\l ocalcache\local -packages\pytho n310\site-packa ges (0.15.0)

Seem like it installed but when I open Hiero
ERROR 17:55:20.638:Hi ero(21136): Plugin C:/Users/nikas/ .nuke\Python\St artup\otioexpor ter\__init__.py could not be loaded: No module named 'opentimelineio '
 
 
0 # Daniel Flehner Heen 2023-04-03 10:57
Hi Thomas!
Sorry I didn't see this before. No notification was sent.
Are you perhaps using a version of Hiero that comes with built-in OTIO support? That would be Nuk13.2+
Would using the built-in OTIO solve your usecase or do you need features of this plugin?
 
 
0 # Thomas Vu 2023-05-29 08:29
:\Users\Adminis trator> pip install opentimelineio
Collecting opentimelineio
Using cached OpenTimelineIO- 0.15.0.tar.gz (5.1 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml ) ... done
Collecting pyaaf2=1.4 (from opentimelineio)
Using cached pyaaf2-1.6.0-py 2.py3-none-any. whl (103 kB)
Building wheels for collected packages: opentimelineio
Building wheel for opentimelineio (pyproject.toml ) ... error
error: subprocess-exited-with-error

------------------
I just reinstall window 10 and that is difference errors
running with Nuke13.0v6

there is full log
https://textbin.net/itgmmrnoua
 
 
+1 # Daniel Flehner Heen 2023-05-30 14:28
Hi!
Could you please try updating pip and see if the opentimelineio installs after that?

pip install --upgrade pip
 
 
+1 # Alejandra Esquerro 2023-12-20 12:13
For the new macs it would be:



Quote:
pip3 install opentimelineio
 

You have no rights to post comments

We have 3203 guests and 63 members online