Skip to content
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

Fix clip ranges mismatches between AYON custom OTIO exporter and Resolve native OTIO exporter. #31

Open
2 tasks done
robin-ynput opened this issue Sep 25, 2024 · 0 comments · May be fixed by #38
Open
2 tasks done
Assignees
Labels
type: bug Something isn't working

Comments

@robin-ynput
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior:

Latest work on Resolve new publisher using DaVinci 19.0 native OTIO exporter showed some discrepancies with custom AYON exporter used by older Resolve version

Expected Behavior:

The src_range and available_range should matches for all clips in the exporter results.
Find current OTIO export results here:
export_otio_native_and_ayon.zip

Version

1.0.0

What platform you are running on?

Windows

Steps To Reproduce:

  1. Create a timeline with various input medias and frames
  2. Export timeline with native OTIO (Resolve >= 18.5)
from ayon_resolve.api import bmdvr, lib

timeline = lib.get_current_timeline()
timeline.Export("C:\\path\\to\\export_native.otio", bmdvr.EXPORT_OTIO)
  1. Export timeline with AYON custom OTIO exporter
from ayon_resolve.api import lib
from ayon_resolve.otio import davinci_export as otio_export

otio_timeline = otio_export.create_otio_timeline(
  lib.get_current_resolve_project(),
  timeline=lib.get_current_timeline()
)
otio_export.write_to_file(otio_timeline, filepath)
  1. Compare resulting text files

Are there any labels you wish to add?

  • I have added the relevant labels to the bug report.

Relevant log output:

No response

Additional context:

To be confirmed with @BigRoy but resolving this might also fix #4

@robin-ynput robin-ynput added the type: bug Something isn't working label Sep 25, 2024
@robin-ynput robin-ynput self-assigned this Sep 25, 2024
@robin-ynput robin-ynput linked a pull request Oct 16, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant