-
Notifications
You must be signed in to change notification settings - Fork 313
Adding diff feature (otiodiff) to otiotool #1922
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
…in otiotool Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
…with video only, audio only, or both video and audio Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
…moved tracks Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
… timelineB display Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
…istence into timeline summary and updated variable/function names Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
…tance variable names to be more descriptive, refactored test and diff scripts to match Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
… typo in inspect example, and updated otiodiff function call from main to diff Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
…ed docstrings and updated variable/function naming Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
…making tracks for A and B Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
…ne B for correct timing Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
…processing Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
…Datas Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
| def __init__(self, source_clip, track_num, note=None): | ||
| self.full_name = source_clip.name | ||
| self.name = self.splitFullName(source_clip)[0] | ||
| self.version = self.splitFullName(source_clip)[1] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could avoid calling the function twice:
self.name, self.version = self.splitFullName(source_clip)| @@ -0,0 +1,162 @@ | |||
| import opentimelineio as otio | |||
|
|
|||
| # TODO: clip comparable??? ClipInfo | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's go with ClipInfo
jminor
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is getting close!
Could you remove some of the blocks of commented-out code that you don't think would be useful to another person working on this later.
Let's walk through the remaining TODOs & either address them if they're quick, or turn them into "suggestion for future work".
Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
Added a diff feature that compares the clips of two OTIO timelines. Clips are categorized based on changes from timeline A to timeline B. Outputs an annotated and color coded OTIO with tracks from both timelines visualizing differences as well as a text summary.
Addresses #26
Demo-ed at 2025 ASWF OTIO Virtual Town Hall