VSE timeline import / export #65719

Open
opened 2019-06-11 13:57:36 +02:00 by Richard Antalik · 19 comments

Currently, there is no option to import or export timeline data.

This could be implemented either as addon or core component.
From maintenance perspective using library such as https://github.com/PixarAnimationStudios/OpenTimelineIO/ would be preferable.

Currently, there is no option to import or export timeline data. This could be implemented either as addon or core component. From maintenance perspective using library such as https://github.com/PixarAnimationStudios/OpenTimelineIO/ would be preferable.
Author
Member

Added subscriber: @iss

Added subscriber: @iss

Added subscriber: @Pipeliner

Added subscriber: @Pipeliner

Added subscriber: @mindmark

Added subscriber: @mindmark

Added subscriber: @tintwotin

Added subscriber: @tintwotin

A bit of work has been done in this add-on(only movie and sound strips exported): https:*github.com/tin2tin/VSE_OTIO_Export However there is no official way to ex. pip install OTIO on Windows (not uploaded to pypi: https:*pypi.org/project/OpenTimelineIO/#files) and both aaf and fcpxml seems broken in OTIO(at least when importing fcpxml into Resolve or exporting aaf).

A bit of work has been done in this add-on(only movie and sound strips exported): https:*github.com/tin2tin/VSE_OTIO_Export However there is no official way to ex. pip install OTIO on Windows (not uploaded to pypi: https:*pypi.org/project/OpenTimelineIO/#files) and both aaf and fcpxml seems broken in OTIO(at least when importing fcpxml into Resolve or exporting aaf).

Added subscriber: @Miadim

Added subscriber: @Miadim

I'm about to work (few weeks left...) on an OTIO importer for Blender, I'll share the code from the beginning if people want to contribute.

Also, I've tested this PR on the OTIO repo: https://github.com/PixarAnimationStudios/OpenTimelineIO/pull/837

This fixes the OTIO installation on windows (requires Cmake installed). I wish they'll merge it soon.

I'm about to work (few weeks left...) on an OTIO importer for Blender, I'll share the code from the beginning if people want to contribute. Also, I've tested this PR on the OTIO repo: https://github.com/PixarAnimationStudios/OpenTimelineIO/pull/837 This fixes the OTIO installation on windows (requires Cmake installed). I wish they'll merge it soon.

@Miadim Did you start already? If not maybe you can use mine as a stepping stone? https://github.com/tin2tin/VSE_OTIO_Export

@Miadim Did you start already? If not maybe you can use mine as a stepping stone? https://github.com/tin2tin/VSE_OTIO_Export

@tintwotin Not already, but it's approaching. I've some pieces of code I'll use. I'm planning to have a look at your code too. Maybe we must work on an OTIO import/export bundled addon. (I admit I'd prefer gitlab ;) )

@tintwotin Not already, but it's approaching. I've some pieces of code I'll use. I'm planning to have a look at your code too. Maybe we must work on an OTIO import/export bundled addon. (I admit I'd prefer gitlab ;) )

Jt Nelson in the OTIO slack chat has been writing for a very long time, that he and some guys are working on a solution too. I don't know how that is progressing.

As mentioned does my add-on already export Movie and Sound strips to .otio, .kdenlive, .edl(cmx 3600), but otio generated fcpxml doesn't import in Resolve, and aaf conversion is simply not working in otio, so it is mainly a question of adding export of the missing strip types to the otio export and then wait for the otio guys to solve the otio wheel installation on Windows, and the generation of the fcpxml and aaf file-formats. So it doesn't have to a huge task doing an otio export add-on. Of course, no work has been done doing an importer.

Jt Nelson in the OTIO slack chat has been writing for a very long time, that he and some guys are working on a solution too. I don't know how that is progressing. As mentioned does my add-on already export Movie and Sound strips to .otio, .kdenlive, .edl(cmx 3600), but otio generated fcpxml doesn't import in Resolve, and aaf conversion is simply not working in otio, so it is mainly a question of adding export of the missing strip types to the otio export and then wait for the otio guys to solve the otio wheel installation on Windows, and the generation of the fcpxml and aaf file-formats. So it doesn't have to a huge task doing an otio export add-on. Of course, no work has been done doing an importer.

Thanks for the update. For a first step I'll work on an importer and see if I need to work on the exporter (which is unlikely for now), but we can review each other code.

Thanks for the update. For a first step I'll work on an importer and see if I need to work on the exporter (which is unlikely for now), but we can review each other code.

For import, I updated Campbell's EDL importer from 2.6 to the current Blender version. It has a parser file and an importer file. I guess the parser could be updated to parse .otio files instead of .edl files without too much effort?
https://github.com/tin2tin/import_edl

For import, I updated Campbell's EDL importer from 2.6 to the current Blender version. It has a parser file and an importer file. I guess the parser could be updated to parse .otio files instead of .edl files without too much effort? https://github.com/tin2tin/import_edl

@tintwotin I'm starting working on the Importer part. I'll share the gitlab as soon as I have a minimum working.

@tintwotin I'm starting working on the Importer part. I'll share the gitlab as soon as I have a minimum working.
Here is the repo: https://gitlab.com/Tilix4/vse-io

The code is ready to be tested!

The code is ready to be tested!

Added subscriber: @PierreSchiller

Added subscriber: @PierreSchiller

Is it possible to export XMLs? or MDL?

Is it possible to export XMLs? or MDL?

Added subscriber: @AditiaA.Pratama

Added subscriber: @AditiaA.Pratama
Richard Antalik added this to the Video Sequencer project 2023-02-09 20:57:27 +01:00

As Davinci Resolve 18.4 will be including the I/O of the OpenTimelineIO format, maybe it is time to consider how to implement it in Blender. Here's a project with C bindings for OTIO: https://github.com/OpenTimelineIO/OpenTimelineIO-C-Bindings

As Davinci Resolve 18.4 will be including the I/O of the OpenTimelineIO format, maybe it is time to consider how to implement it in Blender. Here's a project with C bindings for OTIO: https://github.com/OpenTimelineIO/OpenTimelineIO-C-Bindings
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No Assignees
7 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#65719
No description provided.