The Wayback Machine - https://web.archive.org/web/20201119014628/https://github.com/PixarAnimationStudios/OpenTimelineIO/issues/648
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

Progress callbacks on long running adapters #648

Open
jminor opened this issue Feb 24, 2020 · 2 comments
Open

Progress callbacks on long running adapters #648

jminor opened this issue Feb 24, 2020 · 2 comments

Comments

@jminor
Copy link
Collaborator

@jminor jminor commented Feb 24, 2020

Some adapter operations are time consuming, and tool authors would like to provide progress estimations. A progress callback, presumably with a percentage or other measure would enable this.

Specifically, we are looking for a proposal for an optional argument to the standard read_from_file and write_to_file functions that specifies a callback function. The callback function could take a % done amount, and maybe an informational string.

The slowest adapter we have currently is the AAF adapter, so that would be a good use case to ensure this is working as intended.

@mridullpandey
Copy link

@mridullpandey mridullpandey commented Feb 27, 2020

hey @jminor i want to work on this issue kindly let me know how to get started

@jminor
Copy link
Collaborator Author

@jminor jminor commented Feb 27, 2020

Perhaps you could search for a similar feature in other Python software to see what specific patterns seem to work well elsewhere. Or, if you already have something in mind, you could propose a specific enhancement to the OTIO adapter system. Ideally the mechanism you propose would be flexible enough to work in otioconvert and otioview.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.